Skip to main content
GET
/
api
/
v1
/
webhooks
/
{id}
Get a webhook by ID
curl --request GET \
  --url https://app.sajn.se/api/v1/webhooks/{id} \
  --header 'authorization: <authorization>'
{
  "id": "<string>",
  "webhookUrl": "<string>",
  "secret": "<string>",
  "enabled": true,
  "failureNotificationEmail": "<string>",
  "eventTriggers": [
    "<string>"
  ],
  "createdAt": "<unknown>",
  "updatedAt": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.sajn.se/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string
required

Bearer token for API authentication

Path Parameters

id
string
required

Response

Webhook response

Webhook response

id
string
required

Unique webhook identifier

webhookUrl
string
required

URL that receives webhook events

secret
string | null
required

Secret used to sign webhook payloads (sent as X-Sajn-Secret header)

enabled
boolean
required

Whether this webhook is active

failureNotificationEmail
string | null
required

Email address that receives a notification if webhook delivery fails

eventTriggers
string[]
required

List of event types this webhook subscribes to

createdAt
any
required

Date and time when webhook was created

updatedAt
any
required

Date and time when webhook was last updated