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
]
}'
{
"success": true,
"message": "Webhook Relay for type 'twilioSMS' configured successfully."
}
Forward incoming webhooks of the specified type to your URL.
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
]
}'
{
"success": true,
"message": "Webhook Relay for type 'twilioSMS' configured successfully."
}
Vida API Token
Relay type (e.g. twilioSMS, chargebee)
Relay stored
The response is of type object
.