Add Project Member API
Add users to projects and grant project roles.
Add a user to a project with a project role. Membership is required before task assignment.
Endpoint
POST https://api.in.we360.ai/api/v1/project_memberships/Resolve required IDs
Resolve
identity_idwithPOST /api/v1/user_infos/search, filtering by email or employee ID.You can list the directory with
GET /api/v1/user_infos/public-list/?page=1&size=25000.Get
project_role_idusingGET /api/v1/project_roles/by-project/{projectId}.Create a role, if needed, with
POST /api/v1/project_roles/.
Request body
{
"project_id": "a1b2c3d4-1111-2222-3333-444455556666",
"identity_id": "f9c8f8f8-1111-2222-3333-444455556666",
"project_role_id": "d4e5f6a7-9999-8888-7777-666655554444",
"read_only": false,
"cost_config": {
"billable_rate": 150,
"cost_rate": 90
}
}project_id
Yes
Project UUID.
identity_id
Yes
User UUID.
project_role_id
Yes
Role granted on this project.
read_only
No
Set true for view-only access. Defaults to false.
cost_config
No
Per-member rate override.
Response
Returns 201 Created.
Example
Assign members to tasks through assignee_ids during task creation or with PUT /api/v1/tasks/{id}. Update memberships with PUT /api/v1/project_memberships/{id}. Remove them with DELETE /api/v1/project_memberships/{id}.
Last updated
Was this helpful?