Skip to content

Join a project of the company

POST
/v1/companies/{id}/projects/{projectId}/join
curl --request POST \
--url https://beta-api.plune.ai/v1/companies/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/projects/example/join \
--header 'Authorization: Bearer <token>'

Anybody in the company, themself: into one of its projects with the role their company role maps to — owner and manager → manager (a project has its own one owner), member → member, reader → reader. From then on the project opens to them as to any member of it. A project that is not the company’s answers 404; being in it already, 409.

id
required
string format: uuid
projectId
required
string

Joined — with this role

Media type application/json
object
projectId
required
string
role
required

What a member may do (B8-team, ADR 0050). owner — exactly one a project: its secrets (bucket, CI, AI keys), statuses, name, the move into a company, and the handover of ownership; never demoted or removed, and does not leave — ownership moves only by a handover the recipient accepts. manager runs the people of their level and below: invites as manager, member or reader, and changes and removes members and readers (a manager is demoted and removed by the owner alone). member works in the project and manages nobody; reader is refused every write at the boundary, before a handler runs, but a comment, a pending proposal and leaving the project (#1440, #2055).

string
Allowed values: owner manager member reader
Example
{
"projectId": "9c4e7d10-0000-4000-8000-0000000000a4",
"role": "member"
}

No / invalid token or session

No such company among yours, or no such project in it

Media type application/json
object
error
required
string
Example
{
"error": "project '9c4e7d10-0000-4000-8000-0000000000a4' not found"
}

Already in it, the project is at its member limit, or your account is in the Bin (code: account_in_bin)

Media type application/json
object
error
required
string
Example
{
"error": "you are already in this project"
}

Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over