curl --request POST \
--url https://api.getsly.ai/v1/v1/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"description": "<string>"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"events": [
"<string>"
],
"status": "active",
"consecutive_failures": 123,
"created_at": "2023-11-07T05:31:56Z",
"secret": "<string>",
"name": "<string>",
"description": "<string>"
}
}Returns secret (whsec_*) shown once — save it to verify signatures. See signature verification.
curl --request POST \
--url https://api.getsly.ai/v1/v1/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"description": "<string>"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"events": [
"<string>"
],
"status": "active",
"consecutive_failures": 123,
"created_at": "2023-11-07T05:31:56Z",
"secret": "<string>",
"name": "<string>",
"description": "<string>"
}
}API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).
Webhook created
Show child attributes