cURL
curl --request GET \
--url https://app.altheastudio.ai/api/accounts/me/telephony_config \
--header 'X-API-Key: <api-key>'{
"twilio": {
"accountSid": "<string>",
"authTokenPrefix": {
"prefix": "<string>"
},
"callCreationAllowedAgentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"callCreationAllowAllAgents": false,
"requestContextMapping": {}
},
"telnyx": {
"accountSid": "<string>",
"apiKeyPrefix": {
"prefix": "<string>"
},
"publicKeyPrefix": {
"prefix": "<string>"
},
"applicationSid": "<string>",
"callCreationAllowedAgentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"callCreationAllowAllAgents": false,
"requestContextMapping": {}
},
"plivo": {
"authId": "<string>",
"authTokenPrefix": {
"prefix": "<string>"
},
"callCreationAllowedAgentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"callCreationAllowAllAgents": false,
"requestContextMapping": {}
}
}Accounts
Get Telephony Credentials
Returns the telephony credentials associated with the active account
GET
/
api
/
accounts
/
me
/
telephony_config
cURL
curl --request GET \
--url https://app.altheastudio.ai/api/accounts/me/telephony_config \
--header 'X-API-Key: <api-key>'{
"twilio": {
"accountSid": "<string>",
"authTokenPrefix": {
"prefix": "<string>"
},
"callCreationAllowedAgentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"callCreationAllowAllAgents": false,
"requestContextMapping": {}
},
"telnyx": {
"accountSid": "<string>",
"apiKeyPrefix": {
"prefix": "<string>"
},
"publicKeyPrefix": {
"prefix": "<string>"
},
"applicationSid": "<string>",
"callCreationAllowedAgentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"callCreationAllowAllAgents": false,
"requestContextMapping": {}
},
"plivo": {
"authId": "<string>",
"authTokenPrefix": {
"prefix": "<string>"
},
"callCreationAllowedAgentIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"callCreationAllowAllAgents": false,
"requestContextMapping": {}
}
}⌘I