cURL
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>" }
Create a new webhook endpoint
Authentication from public API requests
The URL that will receive the webhook payload
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.
GET /legal-entity
OK
The name of the webhook