Contacts
Update Contact
Update a contact's name, label or phone number.
Only include the fields you want to change; the old values are overwritten. Send label as null or "" to clear it. Changing phone_number to one another contact of this agent already has returns HTTP 409 with that contact_id.
Returns the updated contact (id, agent_id, name, label, phone_number, created_at, updated_at).
patch/v1/agents/{agent_id}/contacts/{contact_id}
Request
- Base URL: https://api.agentline.cloud
- URL: https://api.agentline.cloud/v1/agents/{agent_id}/contacts/{contact_id}
- Auth: HTTP bearer
Path parameters
agent_idstring required
ID (agt_...) of the agent whose contact list to use, from create_agent or list_agents.
contact_idstring required
Contact ID (con_...) from create_contact or list_contacts.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.