POST
/
organization
/
sub-organization
curl --request POST \
  --url https://api.voxia.ai/organization/sub-organization \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "limits": {
    "incomingCalls": 1,
    "outgoingContacts": 1
  },
  "retryAttemptsMaxValue": 25.5
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json
name
string
required
Minimum length: 1
retryAttemptsMaxValue
number | null
required
Required range: 1 < x < 50
limits
object | null

Response

201
application/json
Sub organization Created successfully.
id
string