Contacts

Get Contact

Get one contact from an agent's contact list.

Returns the contact's id, agent_id, name, label, phone_number, created_at and updated_at, or HTTP 404 if the agent has no contact with that ID.

get/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.

Response

Successful Response

idstring required

Unique contact identifier (e.g. 'con_abc123')

agent_idstring required

Agent whose contact list this entry belongs to

namestring required

Contact name

labelstring nullable

Purpose or relationship

phone_numberstring required

Phone number in E.164 format

created_atstring date-time required

When the contact was saved

updated_atstring date-time required

When the contact was last changed

Changes

No recorded changes to this operation across all 1 revision of this API.