API Documentation
Authorization
Agents
Phone Numbers
SIP
Messaging
Webhooks
Knowledge
Accounts
- POSTCreate a new reseller
- GETList resellers
- POSTCreate a new organization
- DELDelete an organization
- GETList organizations
- GETList agent accounts
- POSTCreate a new account
- DELDelete an account
- GETList admin users
- DELDelete admin user
- POSTInvite admin user
- GETFetch Account by externalAccountId
- POSTUpdate Organization Settings
Billing
Webhooks
Create or update a webhook relay
Forward incoming webhooks of the specified type to your URL.
POST
/
api
/
v2
/
webhookRelay
/
{type}
Copy
Ask AI
curl --request POST \
--url https://api.vida.dev/api/v2/webhookRelay/{type} \
--header 'Content-Type: application/json' \
--data '{
"url": "https://example.com/webhook/twilio",
"timeout": 5000,
"headers": [
{
"Authorization": "Bearer xyz"
},
{
"X-Customer-ID": "abc123"
}
],
"successStatusCodes": [
200,
201,
202
]
}'
Copy
Ask AI
{
"success": true,
"message": "Webhook Relay for type 'twilioSMS' configured successfully."
}
Authorizations
Vida API Token
Path Parameters
Relay type (e.g. twilioSMS, chargebee)
Body
application/json
Response
200
application/json
Relay stored
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.vida.dev/api/v2/webhookRelay/{type} \
--header 'Content-Type: application/json' \
--data '{
"url": "https://example.com/webhook/twilio",
"timeout": 5000,
"headers": [
{
"Authorization": "Bearer xyz"
},
{
"X-Customer-ID": "abc123"
}
],
"successStatusCodes": [
200,
201,
202
]
}'
Copy
Ask AI
{
"success": true,
"message": "Webhook Relay for type 'twilioSMS' configured successfully."
}
Assistant
Responses are generated using AI and may contain mistakes.