v27

latestOpenAPI 3.0.0MITraw.githubusercontent.com2025-11-2810941146.5 KB
Accounts

create an account

post/Accounts

Request body

namestring required

account name

sip_realmstring

sip realm for registration

service_provider_sidstring uuid required

Example request

{
  "name": "foobar",
  "sip_realm": "sip.mycompany.com",
  "registration_hook": {
    "url": "https://acme.com",
    "method": "POST"
  },
  "queue_event_hook": {
    "url": "https://acme.com",
    "method": "POST"
  },
  "service_provider_sid": "85f9c036-ba61-4f28-b2f5-617c23fa68ff"
}

Response

account successfully created

sidstring required

Example response

{
  "sid": "9d26a637-1679-471f-8da8-7150266e1254"
}