channels
channels
twilio-voice

Buy Number

Purchase a Twilio number and point its Voice webhook at our gateway.

Sets VoiceUrl on the new IncomingPhoneNumber so the user can immediately receive calls once they finish /setup. Accepts either raw creds (manual paste path) or account_id (Connect resume path).

post/api/channels/twilio/numbers/buy

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/channels/twilio/numbers/buy
  • Auth: none declared

Request body

twilio_account_sidstring nullable
twilio_auth_tokenstring nullable
account_idinteger nullable
phone_numberstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 6 revisions of this API.