Skip to main content

Create destination

POST 

/api/v1/purchases/:purchase_id/destinations

Add a new inbound destination for a DID number.

Destination Types:

  • SIP addresses (e.g., sip:[email protected])
  • Phone numbers (e.g., 18005551234)
  • Extensions (SIP accounts created within didlogic)

Parameters:

  • destination - The forwarding target (SIP URI or phone number)
  • callhunt - Enable sequential ringing (boolean)
  • active - Enable/disable this destination (boolean)
  • transport - SIP transport protocol (udp, tcp, tls)

Authentication:

  • Requires Bearer token in Authorization header: Authorization: Bearer <token>

Request

Responses

Successfully creates destination and returns destination details