Skip to main content
POST
Create Provider

Create Provider Configuration

Create a new telephony provider configuration by linking your provider credentials (Account SID and Auth Token) to your organization. These configurations are used to connect telephony providers to bridges.
Prerequisites: Make sure you have your API Token, Org-Handle, and telephony provider credentials ready. See Authentication for details.

Headers

You can get the Org-Handle by hitting the Get All Organizations API. The domain_handle field in the response is your Org-Handle.

Request Body

Response Fields

Provider Config Object Fields

Common Error Codes

Code Examples

Best Practices

  1. Provider Slug: Use the slug from the Get Telephony Providers endpoint to identify the provider
  2. Credential Security: Never log or expose auth_token values - treat them as secrets
  3. Credential Rotation: Use the Update Provider endpoint to rotate credentials without deleting the configuration
  4. Configuration ID: Store the returned id to reference this configuration when connecting to bridges
  5. Error Handling: Handle 400 errors that indicate invalid credentials before they cause production issues
  6. Security: Keep API tokens secure and rotate them regularly

Authorizations

Authorization
string
header
required

Format: Token

Headers

Org-Handle
string
required

Organization domain handle

Example:

"unpod.tv"

Body

application/json
provider
string
required
Example:

"twilio"

account_sid
string
required
Example:

"ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

auth_token
string
required
Example:

"your_auth_token_here"

Response

Provider created