openapi: 3.1.0
info:
title: Assembled Activities Roles API
description: 'Activities are the scheduled shifts, breaks, time-off blocks, training
sessions, and meetings that make up an agent''s calendar in Assembled.
The Activities API supports single and bulk activity creation, listing
with rich filters, soft-delete semantics, and CRUD for activity types
(the colour-coded categories shown on schedules). The event_changes
endpoint surfaces an audit trail of schedule modifications.
'
version: '2026-05-24'
contact:
name: Assembled Support
url: https://support.assembled.com
servers:
- url: https://api.assembledhq.com
description: Production Server
security:
- BasicAuth: []
tags:
- name: Roles
description: Available roles that can be assigned to people
paths:
/v0/roles:
get:
summary: Assembled List Roles
description: List all roles available in your Assembled organization.
operationId: listRoles
tags:
- Roles
parameters:
- $ref: '#/components/parameters/ApiVersionHeader'
responses:
'200':
description: Roles list
content:
application/json:
schema:
type: object
properties:
roles:
type: array
items:
$ref: '#/components/schemas/Role'
components:
schemas:
Role:
type: object
properties:
id:
type: string
name:
type: string
description:
type: string
permissions:
type: array
items:
type: string
parameters:
ApiVersionHeader:
in: header
name: API-Version
description: Date-based API version override (e.g. 2026-05-01). Defaults to your organization's pinned version.
required: false
schema:
type: string
securitySchemes:
BasicAuth:
type: http
scheme: basic