Admin, not member: creating one opens a public URL into the workspace.
Field Type Notes agent_idstring (uuid) required — slugstring required min length 1 max length 100 http_methodPOST | GET | PUToptional Default "POST". verificationhmac_sha256 | shared_token | noneoptional Default "hmac_sha256". secretstring | null optional min length 16 max length 400 prompt_templatestring required min length 1 input_templateobject | null optional — session_key_templatestring | null optional max length 400 persona_slug_templatestring | null optional max length 400 subject_templateSubjectTemplate | nulloptional — response_modeasync | sync | callback | ackoptional Default "async". response_pathstring | null optional max length 400 callback_urlstring | null optional max length 2000 event_kindstring | null optional max length 60 rate_limit_per_minuteinteger optional Default 60. min 1 max 10000 coalescingCoalescingConfigoptional — unverified_ackboolean optional Default false. is_activeboolean optional Default true.
Status Description Body 201Successful Response WebhookEndpointView422Validation Error HTTPValidationError
Only the success paths are declared
Any operation may also answer any status in the error catalogue , and
every failure body is the platform envelope — including the 422 this document types
as HTTPValidationError.
The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.
curl -X POST https://your-deployment.example.com/webhook-endpoints \
-H " Authorization: Bearer $COBRE_TOKEN " \
-H " Content-Type: application/json " \
"agent_id": "0190a2f4-0000-7000-8000-000000000000",
"prompt_template": "string"
Field Type Notes idstring (uuid) required — agent_idstring (uuid) required — slugstring required — http_methodPOST | GET | PUTrequired — verificationhmac_sha256 | shared_token | nonerequired — secret_setboolean required — rotation_activeboolean required — secret_overlap_untilstring (date-time) | null required , nullable— prompt_templatestring required — input_templateobject | null required , nullable— session_key_templatestring | null required , nullable— persona_slug_templatestring | null required , nullable— subject_templateobject | null required , nullable— response_modeasync | sync | callback | ackrequired — response_pathstring | null required , nullable— callback_urlstring | null required , nullable— event_kindstring | null required , nullable— rate_limit_per_minuteinteger required — coalescingobject required — unverified_ackboolean required — call_countinteger required — is_activeboolean required — created_atstring (date-time) required —