Skip to Content
CallMitraDocs
API referenceWebhooks

Send a test event

Sends a signed `webhook.test` event to the endpoint now, whatever its event filter, and returns the delivery with the endpoint's answer. A failed test is retried like any other delivery. Tests and redeliveries share a cap of 10 per endpoint per minute (429 with `Retry-After`).

POST
/api/v1/webhook-endpoints/{endpoint_id}/test

Sends a signed webhook.test event to the endpoint now, whatever its event filter, and returns the delivery with the endpoint's answer. A failed test is retried like any other delivery. Tests and redeliveries share a cap of 10 per endpoint per minute (429 with Retry-After).

Authorization

headerX-API-Key<token>

Create in the console: Settings → API & webhooks.

Path Parameters

endpoint_id*Endpoint Id

Webhook endpoint id.

Response Body

OK

application/json
  1. response
success?Success

Always true on a 2xx response.

Defaulttrue
webhookDelivery*
[key: string]?any
Example Request
curl -X POST 'https://api.callmitra.ai/api/v1/webhook-endpoints/string/test'
Example Response
{  "success": true,  "webhookDelivery": {    "attempts": 1,    "createdAt": "2026-11-15T10:41:47.106000+00:00",    "deliveredAt": "2026-11-15T10:42:07.512000+00:00",    "endpointId": "4f0c2a8e-7b1d-4c39-9a51-2d6e8f3b1c07",    "eventId": "evt_0a7e3d91c5b24f6c8e1d2b9a4f7c6e53",    "eventType": "webhook.test",    "id": "0d9a4e61-3c7b-4f2a-b815-6e2c9d7f0a38",    "lastAttemptAt": "2026-11-15T10:42:07.512000+00:00",    "lastError": "",    "lastStatusCode": 200,    "latencyMs": 184,    "payload": {      "apiVersion": "v1",      "createdAt": "2026-11-15T10:45:00.000000Z",      "data": {        "endpointId": "4f0c2a8e-7b1d-4c39-9a51-2d6e8f3b1c07",        "message": "This is a test event from Call Mitra."      },      "id": "evt_0a7e3d91c5b24f6c8e1d2b9a4f7c6e53",      "type": "webhook.test"    },    "responseSnippet": "ok",    "status": "delivered"  }}