Get Webhook
Retrieve details of a specific webhook
GET
/webhooks/{webhook_id}Requires
Bearer authenticationRetrieve the configuration details for a specific webhook.
Path Parameters
webhook_idstringrequiredThe unique identifier of the webhook.
GET
/webhooks/{webhook_id}curl -X GET "https://api.vastal.agency/v1/webhooks/whk_abc123" \ -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch( 'https://api.vastal.agency/v1/webhooks/whk_abc123', { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } } ); const webhook = await response.json();
200Success
{ "success": true, "data": { "id": "whk_abc123", "url": "https://example.com/webhook", "events": ["row.created", "row.updated"], "active": true, "created_at": "2024-01-15T10:30:00Z" } }