PATCH
/
webhook
/
{webhookId}
cURL
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
header
required

Authentication from public API requests

Path Parameters

webhookId
string
required

Body

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

Response

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