POST
/
api
/
v2
/
numberingProvider
Add a numbering provider to an organization
curl --request POST \
  --url https://api.vida.dev/api/v2/numberingProvider \
  --header 'Content-Type: application/json' \
  --data '{
  "providerId": "Twilio",
  "default": false,
  "enabled": true,
  "config": {
    "twilioAccountSid": "ACxxxx",
    "twilioAuthToken": "tokenxxxx"
  }
}'
{
  "success": true,
  "message": "Numbering provider added"
}

Authorizations

token
string
query
required

Vida API Token

Query Parameters

targetOrganizationId
string
required

Target Organization Id to update settings for

Body

application/json
providerId
string
required
Example:

"Twilio"

config
object
required
Example:
{
"twilioAccountSid": "ACxxxx",
"twilioAuthToken": "tokenxxxx"
}
default
boolean
Example:

false

enabled
boolean
Example:

true

Response

Numbering provider added

success
boolean
Example:

true

message
string
Example:

"Numbering provider added"