Create contact
POST/v1/contacts
Create contact
Request
Header Parameters
authorization stringrequired
Possible values: Value must match regular expression /Bearer [^\s]+/
Default value: Bearer <Token>
Custom Token generated from the App
- application/json
Body
name string
Full Name of contact
phone string
Phone number of the contact
mobile string
Mobile number of the contact
email string
Email of contact
jobTitle string
Job Title of the contact
list number[]
ID of Labels the contact has to be added into ?
contact_type string
Possible values: [contact, employee]
Default value: contact
Type of contact
Responses
- 200
Successful
- */*
- Schema
- Example (from schema)
Schema
id numberrequired
ID of the contact
active booleanrequired
if true, indicates the contact will actively receive email and sms shares
unsubscribed booleanrequired
if true, indicates that the contact is unsubscribed from receiving emails
fullName string
Full Name of contact
mobile string
Mobile number of the contact
email string
Email of contact
jobTitle string
Job Title of the contact
list number[]
ID of Labels the contact has to be added into. Should we allow id or list name ?
{
"id": "101",
"active": true,
"unsubscribed": true,
"fullName": "Jane Doe",
"mobile": "1653452783",
"email": "[email protected]",
"jobTitle": "Manager",
"list": []
}
Loading...