API > contacts > Add contact to list

POST https://app.replyup.com/api/contact
Default Parameter
api_key (string) Your api key
listId(string) * List Id to which you want to add contact.
firstName(string) * First name of the contact..
lastName(string) * Last name of the contact.
email(string) * Email of the contact.
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