Create Webhook
body
required
Name for the webhook (1-100 characters)
body
required
HTTPS URL where webhook events will be sent
body
required
Array of event types to subscribe to (e.g.,
["conversation.created", "customer.updated"])body
Custom headers to include with webhook requests (object)
body
Retry policy configuration:
maxRetries: Number of retry attempts (0-10)backoffStrategy:"linear"or"exponential"
boolean
true
string
Webhook ID
string
Webhook name
string
Webhook URL
array
Array of subscribed events
string
Webhook secret for signature verification (only shown once)
boolean
Whether the webhook is active
Example Request
List Webhooks
boolean
Filter by active status:
true or falseinteger
Page number (default: 1)
integer
Items per page (default: 20, max: 100)
boolean
true
array
Array of webhook objects
number
Total number of webhooks
number
Current page number
number
Items per page
number
Total number of pages
Get Webhook
string
required
Webhook ID
boolean
true
object
Webhook object (secret is not included)
Update Webhook
string
required
Webhook ID
body
Update webhook name (1-100 characters)
body
Update webhook URL (must be HTTPS)
body
Update array of subscribed events
body
Activate or deactivate the webhook
body
Update custom headers
body
Update retry policy
boolean
true
object
Updated webhook object
Delete Webhook
string
required
Webhook ID
boolean
true
string
Success message
Test Webhook
string
required
Webhook ID
boolean
true
string
“Test webhook event sent”
This sends a test event to your webhook URL. Use this to verify your webhook endpoint is working correctly.
Get Webhook Logs
string
required
Webhook ID
string
Filter by delivery status:
pending, success, failedinteger
Page number (default: 1)
integer
Items per page (default: 20, max: 100)
boolean
true
array
Array of delivery log objects
number
Total number of logs
number
Current page number
number
Items per page
number
Total number of pages
Log Object Structure
Supported Events
Conversation Events
conversation.created- New conversation createdconversation.updated- Conversation updatedconversation.assigned- Conversation assigned to agentconversation.closed- Conversation closed
Customer Events
customer.created- New customer createdcustomer.updated- Customer updated
Message Events
message.sent- Message sentmessage.received- Message received
Call Events
call.initiated- Call has been initiatedcall.answered- Call has been answeredcall.completed- Call has completedcall.recording.available- Call recording is available
Required Permissions
webhook:manage- Required for all webhook operations
Webhook Signature Verification
Each webhook request includes anX-Webhook-Signature header. Always verify signatures to ensure requests are from G-Tateth.
See the Webhooks Guide for signature verification examples in various languages.