Skip to main content
POST
/
api
/
webhooks
/
test
Test Webhook
curl --request POST \
  --url https://encrata.com/api/webhooks/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>"
}
'
{
  "status": "<string>",
  "url": "<string>",
  "signature": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.encrata.com/llms.txt

Use this file to discover all available pages before exploring further.

Authentication

Requires an API key in the Authorization header.
Authorization: Bearer YOUR_API_KEY

Request

id
string
required
The webhook ID to send a test event to.

Example request

curl -X POST https://encrata.com/api/webhooks/test \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"id": "360cb300-d885-4c18-af2c-d259f936bb38"}'

Response

status
string
Delivery status — sent on success.
url
string
The URL the test event was sent to.
signature
string
The HMAC-SHA256 signature sent with the test payload. Use this to verify your signature verification logic.

Example response

{
  "status": "sent",
  "url": "https://example.com/webhook",
  "signature": "3fb19dcfef1ae27c09eb5655b45bda0c0a89c34dbc928332182afeee235361e3"
}

Test payload

The test event sends the following JSON body to your endpoint:
{
  "event": "test",
  "data": {
    "message": "This is a test webhook from Encrata"
  },
  "created_at": "2026-01-01T00:00:00Z"
}