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

Authorizations

X-API-Key
string
headerrequired

Authentication from public API requests

Path Parameters

webhookId
string
required

Body

application/json
status
enum<string>
required
Available options:
archived
reason
string

Response

200 - application/json
id
string
required
createdAt
string
required
archivedAt
string
url
string
required

The URL that will receive the webhook payload

name
string
required

The name of the webhook