POST
/
v2
/
webhooks
/
test
/
{webhook_nanoid}
Test Webhook
curl --request POST \
  --url https://b2b-api.dev-riseworks.io/v2/webhooks/test/{webhook_nanoid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "event_type": "withdraw_account.duplicated_detected",
  "version": 1
}'
{
  "success": true,
  "data": {
    "delivery_nanoid": "<string>",
    "message": "<string>",
    "test_payload": {},
    "version": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

webhook_nanoid
string
required

Unique identifier of the Webhook Endpoint.

Required string length: 15

Body

application/json

Response

202
application/json

Default Response

The response is of type object.