Skip to navigation
Custom EventsDeploy custom event

Deploy custom event

Pre-release

Deploys a custom event with the specified configuration. A custom event inherits supported_action_ids from its template’s current state, so it changes if the template does.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
organisationobjectRequired
templateobjectRequired
configuration_propertieslist of objectsRequired
namestringRequired

Response

organisationobject
templateobject
configuration_propertieslist of objects
namestring
idstring
supportedTargetingParameterslist of strings
supportedActionslist of strings
supported_action_idslist of stringsOptional

Action IDs this event declares support for, used to decide which actions are offered for it.

  • Field absent: no restriction is declared, so every action whose required_event_output_parameters the event emits is offered.
  • Empty array: a declaration in its own right, so no actions are offered.
  • Non-empty list: intersected with the parameter check, so a listed action is offered only if the event also emits every parameter that action requires.

The list can only narrow what’s offered, never widen it.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error