Skip to content

Create project member ​

POST/api/v1/workspaces/{workspace_slug}/projects/{project_id}/project-members/

Add a member to a project.

Path parameters ​

project_id:requiredstring

The unique identifier of the project.

workspace_slug:requiredstring

The workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.

Body parameters ​

member:requiredstring

ID of the user to add to the project.

role:optionalinteger

The member's role in the project:

  • 20 - Admin
  • 15 - Member
  • 5 - Guest

Scopes ​

projects.members:write

Create project member
bash
curl -X POST \
  "https://api.plane.so/api/v1/workspaces/my-workspace/projects/project-uuid/project-members/" \
  -H "X-API-Key: $PLANE_API_KEY" \
  # Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "member": "550e8400-e29b-41d4-a716-446655440000",
  "role": 20
}'
Response201
json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "member": "550e8400-e29b-41d4-a716-446655440000",
  "role": 20
}