Update a contact
PUT/v3/contacts/:id
Update a contact
Request
Path Parameters
ID of the contact to be updated
- application/json
Body
Possible values: <= 255 characters
Full Name of contact
Possible values: <= 255 characters
Email of contact. Can be optional only if anonymous contact feature is enabled.
Possible values: <= 255 characters
Phone number of the contact
Possible values: <= 255 characters
Mobile number of the contact
Possible values: <= 255 characters
Job Title of the contact
Possible values: <= 255 characters
Reference ID of the anonymous contact
Responses
- 200
Successful
- */*
- Schema
- Example (from schema)
Schema
Array [
]
data
object
ID of the contact
Full Name of contact
Email of contact
if true, indicates the contact will actively receive email and sms shares
if true, indicates that the contact is unsubscribed from receiving emails
when the contact has unsubscribed
Phone number of the contact
Mobile number of the contact
Job Title of the contact
contactLists
object[]
List of Labels the contact has to be added into
ID of the Label
Name of the label
{
"data": {
"id": 1,
"name": "Jane Doe",
"email": "[email protected]",
"active": true,
"unsubscribed": false,
"unsubscribed_at": "2023-08-28 12:26:56.899+05:30",
"phone": "9123456783",
"mobile": "8782828247",
"jobTitle": "Manager",
"contactLists": [
{
"id": 1,
"name": "list1"
},
{
"id": 2,
"name": "list2"
}
]
}
}