Contact
Update contact details
Updates writable fields on the given contact
post/v1/projects/{project_id}/contacts/{id}
Request
- Base URL: https://api.telerivet.com
- URL: https://api.telerivet.com/v1/projects/{project_id}/contacts/{id}
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://telerivet.com/oauth/authorize, token URL https://api.telerivet.com/oauth/token)
Path parameters
project_idstring required
ID of the Project
idstring required
ID of the Contact
Request body
Example request
{
"name": "John Smith",
"phone_number": "+16505550123",
"conversation_status": "active"
}Response
Successful response
Example response
{
"id": "CTa1299c3d0e371023",
"name": "John Smith",
"phone_number": "+16505550123",
"time_created": 1390348075,
"time_updated": 1390348099,
"conversation_status": "active",
"last_message_time": 1395881121,
"last_incoming_message_time": 1395881121,
"last_outgoing_message_time": 1395881032,
"message_count": 13,
"incoming_message_count": 2,
"outgoing_message_count": 11,
"last_message_id": "SM97f47ac232df154d",
"project_id": "PJ2ad0100821a98bea",
"url": "https://telerivet.com/p/asdf/contact/CTa1299c3d0e371023"
}Changes
No recorded changes to this operation across all 1 revision of this API.