Purchase a DID (Direct Inward Dialing) number.

This endpoint allows you to purchase a new DID number. It first checks if you have
sufficient account balance, then processes the purchase through the Crazytel API.

Parameters

  • purchase_request - Purchase details including:
    • DID number
    • Address ID
    • Person ID
    • Primary route configuration

Returns

A success message if the purchase is completed

Raises

  • 400 - If there are insufficient funds
  • 404 - If the DID is not available
  • 500 - If there is an error communicating with the Crazytel API
Language
Credentials
Header
Click Try It! to start a request and see the response here!