POST /api/admin/hooks {url, categories} (hooks.manage, step-up): the secret is in the response once. Audited hooks.create.Staff cookie session; permission hooks.manage; fresh password + TOTP step-up (10 minutes). Write requests need same-origin JSON and X-Admin-CSRF from this session.Source snapshot: admin/src/app/api/admin/hooks/route.ts. This reference describes the current working tree, not proof of deployment. The response service types and validators remain authoritative.
Request
Authorization
API Key
Add parameter in cookie
__Host-hwa_session
Example:
__Host-hwa_session: ********************
or
Header Params
Body Params application/jsonRequired
Examples
Responses
🟢201
application/json
POST /api/admin/hooks {url, categories} (hooks.manage, step-up): the secret is in the response once. Audited hooks.create.