Webhook configuration for AT Protocol record events. Fires an HTTP POST to a URL when a matching record event is observed on the firehose.
any
Any valid record key
Properties
createdAt
string
datetime
Required
Timestamp of when the webhook was created.
enabled
boolean
Optional
Whether the webhook is active. Defaults to true if omitted.
events
array
of
string
Optional
Which record events to trigger on. Defaults to all events if omitted.
maxLength: 3 itemsscope
ref
#atUri
Required
What to watch. An AT-URI scopes to a specific DID, collection, or record.
secret
string
Optional
Optional secret used to sign the webhook payload with HMAC-SHA256. The signature is included in the 'X-Webhook-Signature' header of the webhook request.
maxLength: 256 bytesurl
string
uri
Required
HTTPS endpoint to POST the webhook payload to.
maxLength: 2048 bytesView raw schema
{
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"scope",
"url",
"createdAt"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "HTTPS endpoint to POST the webhook payload to."
},
"scope": {
"ref": "#atUri",
"type": "ref",
"description": "What to watch. An AT-URI scopes to a specific DID, collection, or record."
},
"events": {
"type": "array",
"items": {
"enum": [
"create",
"update",
"delete"
],
"type": "string"
},
"maxLength": 3,
"description": "Which record events to trigger on. Defaults to all events if omitted."
},
"secret": {
"type": "string",
"maxLength": 256,
"description": "Optional secret used to sign the webhook payload with HMAC-SHA256. The signature is included in the 'X-Webhook-Signature' header of the webhook request."
},
"enabled": {
"type": "boolean",
"description": "Whether the webhook is active. Defaults to true if omitted."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp of when the webhook was created."
}
}
},
"description": "Webhook configuration for AT Protocol record events. Fires an HTTP POST to a URL when a matching record event is observed on the firehose."
}