Docs

Add Event

POST /Organizations/{organizationId}/events

POST/Organizations/{organizationId}/events

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.

Creates a new event within the organization. All required custom event attributes (defined on the organization) must be provided. A default collaborator is created using defaultCollaboratorName, and the authenticated user is assigned EventAdmin permission.

Optionally, a template can be applied via templateId to pre-populate the event with collaborators, areas, activities, tasks, advances, and other structure. When using a template, supply any required template input values in templateInputs.

Returns 201 Created with the new event ID.

Requires OrganizationBasicAccess permission.

Path Parameters

FieldTypeRequiredDescription
organizationIdGuidRequiredThe organization to create the event under.

Request Body

FieldTypeRequiredDescription
namestringRequiredDisplay name for the event.
licenseIdGuidRequiredID of the license to assign to the event. Must not be empty.
defaultCollaboratorNamestringRequiredName for the default collaborator created with the event.
templateIdGuid?OptionalID of an event template to apply, or `null` for a blank event.
templateInputsDictionary<Guid, string>OptionalKey-value pairs of template input IDs to values. Required when using a template with defined inputs.
attributesAttribute[]OptionalCustom attribute values. All required attributes must be supplied.

Attribute

FieldTypeRequiredDescription
attributeIdGuidRequiredThe attribute definition ID.
valuestringRequiredThe value to set for this attribute.

Response

FieldTypeDescription
eventIdGuidID of the newly created event.