Docs

Get Activity Segments

GET /Activities/{activityId}/segments

GET/Activities/{activityId}/segments

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.

Returns all run-of-show segments for the specified activity, along with the column configuration that defines the segment table structure.

Requires EventAdmin permission on the event.

Path Parameters

FieldTypeRequiredDescription
activityIdGuidRequiredThe ID of the activity.

Response

FieldTypeDescription
idGuidActivity ID.
namestringActivity name.
startDateTimeDateTimeActivity start time (UTC).
endDateTimeDateTimeActivity end time (UTC).
segmentsarrayOrdered list of segments. See segment object below.
configurationobjectColumn configuration for the segment table.

Segment Object

FieldTypeDescription
idGuidSegment ID.
namestringSegment name.
indexintZero-based position in the run of show.
durationintDuration in minutes.
colorstringDisplay color for the segment.
startDateTimeDateTimeCalculated start time based on position and duration.
propertiesarrayKey-value pairs mapping column IDs to values (`columnId`, `value`).

Configuration Object

FieldTypeDescription
segmentColumnsarrayOrdered list of column definitions (id, index, name, size).