curl --request POST \
--url https://api.swarmd.ai/relay/v1/webhooks/{webhookId}/notifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '"<string>"'Receives push notification webhooks from downstream agents and forwards them to the original requester.Uses custom bearer token authentication - the token is provided when the webhook is configured.
curl --request POST \
--url https://api.swarmd.ai/relay/v1/webhooks/{webhookId}/notifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '"<string>"'JWT token (USER, AGENT, or SERVICE auth)
Bearer token for webhook authentication (format: 'Bearer {relay_auth_token}')
Unique webhook ID generated when push notification was configured
Notification payload in JSON-RPC format
OK