Subscribe Event Webhook

Enable near-real-time, event-driven updates for a sync. Mints a webhook secret and returns the subscribe URL plus setup steps for wiring S3 ObjectCreated/ObjectRemoved events through an SNS topic to Captain. Events complement the scheduled reconcile (which remains the reliability backstop).

Path parameters

sync_idstringRequired
The sync id.

Headers

authorizationstring or nullOptional

Bearer {api_key}. Your Captain API key.

Response

Successful Response
sync_idstringOptional
subscribe_urlstringOptional
Webhook target to subscribe your SNS topic to.
secret_setbooleanOptional
instructionslist of stringsOptional

Setup steps for wiring S3 events -> SNS -> the subscribe URL.

© 2026 Captain