cURL
curl --request POST \ --url https://api.voxo.co/v2/admin/branches/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "tenantId": 1, "name": "<string>", "timezone": "<string>" } '
{ "id": 123, "name": "<string>", "default": 123, "timezone": "<string>", "tenant": { "id": 123, "name": "<string>" } }
Create a new branch
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The tenant ID this branch belongs to
x > 0
Branch name
3
IANA timezone identifier
Set as default branch (1 = yes, 0 = no)
1
Created branch
Branch ID
Whether this is the default branch (1 = yes, 0 = no)
Parent tenant
Show child attributes
Was this page helpful?
Contact support