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 admin → 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). owner runs the project — members, roles, its name; member does everything else; reader is refused every write at the boundary, before a handler runs.
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, or the project is at its member limit
object
Example
{ "error": "you are already in this project"}Rate-limited: either the per-route throttle or a tenant quota. 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