Agents

Get Agent Phone Number History

Returns every link between the agent and a phone number, newest first, with when each link started and ended and why it ended.

get/v1/agents/{agentId}/phone-numbers/history

Request

  • Base URL: https://api.dialnexa.com
  • URL: https://api.dialnexa.com/v1/agents/{agentId}/phone-numbers/history
  • Auth: HTTP bearer

Path parameters

agentIdstring required
Example:agent_2g7Xy3tY53gRlp

Agent ID from List Agents.

Response

Successful response.

successboolean required
errorboolean required
statusCodeinteger required
messagestring required
timestampstring date-time required

Example response

{
  "data": [
    {
      "agent_id": "agent_2g7Xy3tY53gRlp",
      "phone_number_id": "phn_abc123",
      "phone_number": "9876543210",
      "country_iso": "91"
    }
  ]
}

Changes

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