Webhooks

Register webhook

Owner-only recoverable command. Requires a stable Idempotency-Key; exact replay returns the same encrypted signing secret and never registers a duplicate subscription.

post/v1/projects/{project_id}/webhooks

Request

  • Base URL: https://api.agentry.sh
  • URL: https://api.agentry.sh/v1/projects/{project_id}/webhooks
  • Auth: HTTP bearer

Path parameters

project_idstring required

Headers

Idempotency-Keystring required

Stable 8-500 character command key. Preserve it only when replaying the exact same request; use a new key for a distinct command.

Request body

urlstring required
eventsstring[] required
descriptionstring

Response

OK

idstring required
urlstring required
eventsstring[] required
signing_secretstring required
signing_secret_prefixstring required
idempotent_replayboolean required
next_actionstring

Changes

No recorded changes to this operation across all 1 revision of this API.