Skip to main content
POST
/
relay
/
v1
/
webhooks
/
{webhookId}
/
notifications
Receive webhook notification
curl --request POST \
  --url https://api.swarmd.ai/relay/v1/webhooks/{webhookId}/notifications \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '"<string>"'

Authorizations

Authorization
string
header
required

JWT token (USER, AGENT, or SERVICE auth)

Headers

Authorization
string

Bearer token for webhook authentication (format: 'Bearer {relay_auth_token}')

Path Parameters

webhookId
string
required

Unique webhook ID generated when push notification was configured

Body

application/json

Notification payload in JSON-RPC format

Response

200

OK