Webhooks
Authorization
apiKey api-key<token>
In: query
Path Parameters
id*string
Unique identifier of the webhook.
Request Body
application/json
active?boolean
name?string
Length
1 <= length <= 64callbackUrl?string
topics?array<>
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.getventia.com/api/v1.0/webhooks/string" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true
}{
"error": "Invalid webhook body",
"details": "callbackUrl: It must be a valid URL with the correct format.; callbackUrl: The URL must be secure and start with \"https://\".",
"success": false
}{
"success": false,
"error": "Unauthorized"
}{
"success": false,
"error": "Internal server error"
}Get webhooks
Previous Page
Send message
This documentation provides guidelines for sending messages through the official WhatsApp API, with Ventia acting as an intermediary. It covers the supported message types, integration details, and best practices to ensure a seamless messaging experience. The supported message types align with those in the Facebook API. For more details, refer to the official Facebook documentation at https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-messages/. Some message types are still in development, so please check the documentation below to verify the available types.