cURL
curl --request POST \ --url https://api.callers.ai/organization/sub-organization \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "limits": { "incomingCalls": 1, "outgoingContacts": 1 }, "retryAttemptsMaxValue": 5.5, "permissions": [ "permission_enable_voip_and_phones" ], "webhooks": [ { "url": "<string>", "events": [ "POST_PROCESSING_FINISHED:INTERESTED", "POST_PROCESSING_FINISHED:NOT_INTERESTED", "POST_PROCESSING_FINISHED:CALL_ME_LATER", "POST_PROCESSING_FINISHED:WRONG_NUMBER", "POST_PROCESSING_FINISHED:DO_NOT_CALL" ] } ] }'
{ "id": "<string>" }
Creates sub organization under the main organization associated with the API key
Optional sub organization ID. Must belong to your main organization API key.
Sub organization Created successfully.
The response is of type object.
object