Create a company
const url = 'https://beta-api.plune.ai/v1/companies';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"Acme QA"}'};
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 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Acme QA" }'A name, and the caller is its owner. It starts with no project: a project gets into a company by POST /v1/projects/{id}/transfer, one way. Nothing about the caller’s own projects changes. autoDelete sets the automatic-deletion mark (#3175), off unless given and refused (409) where autoDeleteLive is false; see CompanyDetail.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”The body of POST /v1/companies: a name and, when asked, the automatic-deletion mark (#3175).
object
The automatic-deletion mark, as CompanyDetail says it.
Example
{ "name": "Acme QA"}Responses
Section titled “ Responses ”Created — you are its owner
A company the caller is in, with their role in it and two counts — one row of GET /v1/companies.
object
What a member of a company may do (ADR 0038, ADR 0050). owner — exactly one: renames and deletes it and hands its ownership over; never demoted or removed, and does not leave. owner and manager run its people by the project’s rules (a manager gives their own level and below, and demotes and removes only members and readers) and add them to its projects; member and reader join its projects themselves. A company role opens no project: joining one gives the project role it maps to — owner and manager → manager (a project has its own one owner), member → member, reader → reader. The former admin is a manager since release B and is never answered.
Its projects — all of them, joined or not: their names are the company’s.
Example
{ "id": "6f1c2b3a-0000-4000-8000-0000000000a5", "name": "Acme QA", "role": "owner", "projects": 0, "members": 1, "createdAt": "2026-09-16T09:12:04.151Z"}Invalid body — a name is 1 to 100 characters
object
Example generated
{ "error": "example"}No / invalid token or session
auto_delete_not_enabled: autoDelete: true where autoDeleteLive is false
object
Example
{ "error": "automatic deletion is not switched on here (COMPANY_AUTO_DELETE_ENFORCE)", "code": "auto_delete_not_enabled"}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