POST
/
webhook
curl --request POST \
  --url https://api.joinslash.com/webhook \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "legalEntityId": "<string>",
  "url": "<string>",
  "name": "<string>"
}'
{
  "id": "<string>",
  "createdAt": "<string>",
  "archivedAt": "<string>",
  "url": "<string>",
  "name": "<string>"
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Body

application/json
url
string
required

The URL that will receive the webhook payload

name
string
required

The ID of the LegalEntity to create the webhook for. You can get this by calling GET /legal-entity. This field is required unless you are authenticating via API key.

Response

200
application/json
OK
id
string
required
createdAt
string
required
url
string
required

The URL that will receive the webhook payload

name
string
required

The name of the webhook

archivedAt
string