Manage who is assigned to a task (step). Assignees must be members of the project, and tasks in internal phases can only be assigned to agency team members.
{
"id": 123,
"name": "John Doe",
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"avatar": "https://go.outlign.co/storage/avatars/123.jpg"
}
| Attribute | Type | Description |
|---|---|---|
| id | integer | The user's unique identifier |
| name | string | The user's full name |
| first_name | string | The user's first name |
| last_name | string | The user's last name |
| string | The user's email address | |
| avatar | string|null | URL of the user's avatar, if set |
Returns the users currently assigned to a task.
/api/v1/steps/{step}/assignees
GET /api/v1/steps/123/assignees
Authorization: Bearer YOUR_ACCESS_TOKEN
Accept: application/json
[
{
"id": 123,
"name": "John Doe",
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"avatar": "https://go.outlign.co/storage/avatars/123.jpg"
}
]
Adds one or more users to a task. Existing assignees are kept — this endpoint only adds the users you provide. The full, updated assignee list is returned.
/api/v1/steps/{step}/assignees
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_ids | integer[] | Yes | One or more user IDs to assign. Each must be an existing user. |
Membership rules: All users must be members of the task's project. If the task is in
an internal phase, only agency company members may be assigned. Violations return
422 Unprocessable Entity with a message listing the offending user IDs.
POST /api/v1/steps/123/assignees
Authorization: Bearer YOUR_ACCESS_TOKEN
Content-Type: application/json
Accept: application/json
{
"user_ids": [123, 456]
}
201 Created
[
{ "id": 123, "name": "John Doe", "first_name": "John", "last_name": "Doe", "email": "john@example.com", "avatar": null },
{ "id": 456, "name": "Jane Roe", "first_name": "Jane", "last_name": "Roe", "email": "jane@example.com", "avatar": null }
]
Removes a single user from a task.
/api/v1/steps/{step}/assignees/{user}
DELETE /api/v1/steps/123/assignees/456
Authorization: Bearer YOUR_ACCESS_TOKEN
Accept: application/json
204 No Content