Custom EventsGet a custom event template by ID

Get a custom event template by ID

Pre-release

Retrieves a specific custom event template and its possible configuration parameters. A template’s supported_action_ids declares which actions are offered for the custom events deployed from it. Templates aren’t created through the API, so this list changes only with an emnify release.

Authentication

AuthorizationBearer

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

Path parameters

template_idstringRequired

Response

idstring
parent_organisationobject
namestring
translationKeyNamestring
statusstring
descriptionstring
translationKeyDescriptionstring
configuration_propertieslist of objects
supported_targeting_parameterslist of objects
supported_action_idslist of stringsOptional

Action IDs the custom events deployed from this template declare support for, used to decide which actions are offered for those events.

  • 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.