Skip to main content
POST
/
api
/
sdk
/
webhooks
Create Webhook
curl --request POST \
  --url https://api.simmer.markets/api/sdk/webhooks \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "secret": "<string>"
}
'
{
  "id": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "active": true,
  "created_at": "<string>",
  "consecutive_failures": 0,
  "last_delivery_at": "<string>"
}

Body

application/json

Request to register a webhook subscription.

url
string
required
events
string[]
required
secret
string | null

Response

Successful Response

Response for a single webhook subscription.

id
string
required
url
string
required
events
string[]
required
active
boolean
required
created_at
string
required
consecutive_failures
integer
default:0
last_delivery_at
string | null