Inbound Destinations

List destinations

Retrieve the list of inbound destinations configured for a specific DID number.

Destinations define where incoming calls to a DID should be routed (SIP addresses, phone numbers, etc.).

Features:

  • Returns only current (non-deleted) destinations
  • Each destination includes active status and its dialing mode (dialing_type, with the legacy callhunt mirror)

destination[].id feeds purchases_destinations_update and purchases_destinations_destroy as id.

get/api/v1/purchases/{purchase_id}/destinations

Request

  • Base URL: https://app.didlogic.com
  • URL: https://app.didlogic.com/api/v1/purchases/{purchase_id}/destinations
  • Auth: HTTP bearer

Path parameters

purchase_idstring required
Example:43800327987

Purchased number id or number from numbers_index, purchases_index: the phone number (e.g. 43800327987) or the numeric inventory id (e.g. 21869). Both resolve the same DID.

Response

Successfully returns all current destinations for the specified DID

Example response

{
  "destination": [
    {
      "id": 21,
      "transport": 1,
      "destination": "sip:test@example.com",
      "priority": 1,
      "dialing_type": "sequence",
      "active": true
    }
  ]
}

Changes

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