channels

Create a webhook endpoint — HMAC-signed deliveries, 0/5/30s retries [write]

Changed on

Deliveries carry X-Asteroids-{Event,Delivery,Timestamp,Signature}; ~20 consecutive failures disable the endpoint. Consumers must be idempotent by delivery id. The message.received payload is described by ChannelMessageReceived, including its optional service-owned claim.

post/channels/webhooks

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/channels/webhooks
  • Auth
    HTTP bearer

Request body

urlstring required

https (http allowed for localhost only)

eventsstring[]

Default ["message.received"]

Response

Created

idstring
urlstring
eventsstring[]
statusstring
secretstring

whsec_ HMAC secret — returned on create only

Changes