Skip to main content
POST
/
api
/
calls
/
providers
/
config
Save voice provider configuration (superadmin)
curl --request POST \
  --url https://your-instance.example.com/api/calls/providers/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "sinch",
  "phoneNumber": "+14165550100",
  "sinchApplicationKey": "sinch-app-key-xxxx",
  "sinchApplicationSecret": "sinch-app-secret-xxxx"
}
'
{
  "success": true,
  "message": "Configuration saved"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
provider
enum<string>
required

Voice provider whose credentials are being saved: twilio or sinch.

Available options:
twilio,
sinch
phoneNumber
string

Caller's default phone number for this provider; upserted into User.voicePhoneNumbers.

twilioAccountSid
string

Twilio Account SID identifying the customer account.

twilioAuthToken
string

Twilio auth token paired with the Account SID for REST API calls.

twilioApiKeySid
string

Twilio API Key SID used to mint browser-client access tokens.

twilioApiKeySecret
string

Secret paired with the Twilio API Key SID for signing access tokens.

twilioTwimlAppSid
string

TwiML Application SID that routes outbound SDK calls to Tether's voice webhook.

twilioServiceSid
string

Twilio Conversations / Messaging service SID associated with this number.

sinchApplicationKey
string

Sinch application key (UUID) identifying the Voice RTC application.

sinchApplicationSecret
string

Sinch application secret used to sign RTC JWTs server-side.

Response

Configuration saved

success
enum<boolean>
required
Available options:
true
message
string