Live on Base with Ewance

See the certificates
API ReferenceReferenceWebhooks

Send a test event

Send a synthetic `webhook.test` event to the endpoint. Useful for validating signature verification before wiring up real traffic.

POST
/webhooks/{id}/test

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token in the Authorization header. Key prefix determines environment: lrn_test_ → Base Sepolia, lrn_live_ → Base mainnet.

In: header

Path Parameters

id*string
Match^whk_[A-Z0-9]{26}$

Response Body

application/json

application/json

application/json

curl -X POST "https://api.learncoin.me/v1/webhooks/whk_01HXYZABCDEF1234567890ABCD/test"
{
  "delivered": true,
  "status_code": 0,
  "delivered_at": "2019-08-24T14:15:22Z"
}
{
  "error": {
    "code": "credential_not_found",
    "message": "string",
    "request_id": "req_01HXYZABCDEF"
  }
}
{
  "error": {
    "code": "credential_not_found",
    "message": "string",
    "request_id": "req_01HXYZABCDEF"
  }
}