curl --request POST \
--url https://app.dograh.com/api/v1/organizations/telephony-configs \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"config": {
"ari_endpoint": "<string>",
"app_name": "<string>",
"app_password": "<string>",
"provider": "ari",
"ws_client_name": "",
"from_numbers": [
"<string>"
]
},
"is_default_outbound": false
}
'{
"id": 123,
"name": "<string>",
"provider": "<string>",
"is_default_outbound": true,
"credentials": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Create a new telephony configuration
curl --request POST \
--url https://app.dograh.com/api/v1/organizations/telephony-configs \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"config": {
"ari_endpoint": "<string>",
"app_name": "<string>",
"app_password": "<string>",
"provider": "ari",
"ws_client_name": "",
"from_numbers": [
"<string>"
]
},
"is_default_outbound": false
}
'{
"id": 123,
"name": "<string>",
"provider": "<string>",
"is_default_outbound": true,
"credentials": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Call List Supported Providers first to discover the credential fields for the provider you want to configure โ they vary per provider. ConfigurationDocumentation Index
Fetch the complete documentation index at: https://docs.dograh.com/llms.txt
Use this file to discover all available pages before exploring further.
name must be unique within your organization. Set is_default_outbound: true to mark this configuration as the org-wide default for outbound calls (any existing default is unset). New configurations have no phone numbers; add them via Add a phone number.Body for POST /telephony-configs.
config carries the provider-specific credential fields (the same
discriminated union used by the legacy single-config endpoint). Any
from_numbers on the inner config are ignored โ phone numbers are
managed via the dedicated phone-numbers endpoints.
1 - 64Request schema for Asterisk ARI configuration.
Show child attributes
Successful Response