API > contacts >
Update contact
PUT https://app.replyup.com/api/contact
Default Parameter |
api_key (string) |
Your api key |
Parameters |
id(string)
*
|
Contact Id to which you want to update. |
200 success returns |
successful operation
id (string)
|
The identifier of the contact. |
listId (integer)
|
To which list does the contact belong to. |
firstName (string)
|
The firstName of the contact. |
lastName (string)
|
The lastName of the contact. |
email (string)
|
The email of the contact. |
status (integer)
|
1 = Active, -1 = Archived |
updatedAt (string)
|
When was the contact last updated. |
createdAt (string)
|
When was the contact created. |
|
400 error returns |
Invalid status value
success (boolean)
|
It defines if response is success, or failure |
statusCode (string)
|
Error code |
message (string)
|
A description of the error. |
|
Example request |
{"id":10,"firstName":"Master","lastName":"Yoda"}
|