POST
/
registerWebhook
Register a webhook
curl --request POST \
  --url https://api.useinkless.com/registerWebhook \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "url": "<string>",
  "eventType": "<string>",
  "secret": "<string>"
}'
{
  "message": "<string>",
  "webhook": {
    "webhook_id": "<string>",
    "url": "<string>",
    "eventType": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

201
application/json

Webhook successfully registered.

The response is of type object.