Join a project of the company
const url = 'https://beta-api.plune.ai/v1/companies/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/projects/example/join';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Joined — with this role
object
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).
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
object
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)
object
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.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over