Workspaces
Bulk add members to a workspace
Add multiple organization members to a workspace. Members are assigned the same role they hold in the organization. Management key required.
post/workspaces/{id}/members/add
Path parameters
idstring required
The workspace ID (UUID) or slug
Example:production
The workspace ID (UUID) or slug
Request body
Example request
{
"user_ids": [
"user_abc123",
"user_def456"
]
}Response
Members added successfully
Example response
{
"added_count": 1,
"data": [
{
"created_at": "2025-08-24T10:30:00Z",
"id": "660e8400-e29b-41d4-a716-446655440000",
"role": "member",
"user_id": "user_abc123",
"workspace_id": "550e8400-e29b-41d4-a716-446655440000"
}
]
}