Docs

Set Event Type

PATCH /Events/{eventId}/type

PATCH/Events/{eventId}/type

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Sets or changes the event's type. Triggers server-side creation/archival of task-tracked attribute tasks. Called from the create-event dialog and from event settings (not the Dashboard).

Returns 200 OK.

Requires write access to the event.

Path Parameters

FieldTypeRequiredDescription
eventIdGuidRequiredThe event to set the type on.

Request Body

FieldTypeRequiredDescription
eventTypeIdGuid?RequiredThe event type to assign. Pass `null` to clear the type and make the event untyped.