ac-co.ai docs
API Referencewebhooks

Send a test webhook delivery

POST
/webhooks/subscriptions/test
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/webhooks/subscriptions/test" \  -H "Content-Type: application/json" \  -d '{    "body": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"    }  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",  "event": "string",  "attempt": 0,  "status": "pending",  "responseStatus": -9007199254740991,  "lastError": "string",  "nextAttemptAt": "string",  "createdAt": "string",  "updatedAt": "string"}