Creates a subscription.
const url = 'https://example.com/v1/m/eventing/subscriptions';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '"example"'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/m/eventing/subscriptions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '"example"'Creates a subscription. The signing secret is generated server-side (never caller-supplied: entropy is guaranteed), sealed for storage, and returned EXACTLY ONCE in the response.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Target tenant id; required when the principal can act in more than one tenant.
Request Body required
Section titled “Request Body required ”object
Per-subscription authentication header type. Empty selects none.
HTTPS delivery destination; configured loopback development may also accept HTTP. Deployment egress-policy and DNS/IP safety checks also apply.
Delivery authorization role. Empty selects viewer; the caller cannot assign a role above its own.
SIEM wire dialect. Empty selects the eventing surface default (ocsf).
SIEM sink kind. Empty selects the generic HMAC-signed webhook.
object
Responses
Section titled “ Responses ”OK
object
Example generated
{}Bad request
object
Example generated
{}Unauthenticated
object
Example generated
{}Forbidden
object
Example generated
{}Not found
object
Example generated
{}Conflict / setup required
object
Example generated
{}Rate limited
object
Example generated
{}