POST
/
webhooks
/
{webhookId}
/
test
Send a test event to a webhook
curl --request POST \
  --url https://api.balansas.com/functions/v1/customer-api/webhooks/{webhookId}/test \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "success": true,
    "status_code": 200,
    "response_time_ms": 412,
    "response_body": "{\"received\":true}",
    "error": null
  }
}

Authorizations

x-api-key
string
header
required

Customer API key. Send as x-api-key: sk_... or Authorization: Bearer sk_.... Write operations also require an X-CSRF-Token header (64-char hex).

Response

Success

data
object
required