Skip to main content
POST
/
v1
/
webhooks
curl
curl -X POST https://api.expys.com/v1/webhooks \
  -H "Authorization: Bearer YOUR_ORG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "events": [
      "string"
    ],
    "url": "string"
  }'
{
  "createdAt": "<string>",
  "events": [
    "<string>"
  ],
  "id": "<string>",
  "signingSecret": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Org-API-Key as a Bearer token.

Headers

Idempotency-Key
string

Optional client-generated key (<=255 chars). A retried POST carrying the same key replays the original response instead of acting twice; reusing a key with a different body returns 409.

Maximum string length: 255

Body

application/json
events
string[]
required
url
string<uri>
required

Response

Response for status 201

createdAt
string
required
environment
enum<string>
required
Available options:
SANDBOX,
LIVE
events
string[]
required
id
string
required
signingSecret
string
required
url
string
required