Contacts
Create Contact
Save a contact to an agent's contact list.
Each agent has its own contact list. Store who someone is (name), why the agent deals with them (label, e.g. "dentist", "landlord", "customer") and their phone number in E.164 format. Use list_contacts to look a number up before a call, or to find who an inbound caller is.
A phone number can appear once per agent; saving it again returns HTTP 409 with the existing contact_id, so update that contact instead.
post/v1/agents/{agent_id}/contacts
Request
- Base URL: https://api.agentline.cloud
- URL: https://api.agentline.cloud/v1/agents/{agent_id}/contacts
- Auth: HTTP bearer
Path parameters
agent_idstring required
ID (agt_...) of the agent whose contact list to use, from create_agent or list_agents.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.