List the companies I belong to.
Every company (organisation of the sign-in) the token's user is a member of, as the app selector lists them, with is_current on the one this token is bound to. Needs View User Profiles. A v1 token is bound to one company, so there is no operation to switch: use a key or consent made for the other company. Names no company the person does not belong to.
| |
|---|
| Scope | account:read |
| Asynchronous | No |
| MCP tool | list_my_companies |
| Portal permissions | view_user_profiles |
| Paging | keyset |
| Default order | company_code |
| Sort fields | company_code |
Parameters
| Name | In | Type | Required | Description |
|---|
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
sort | query | string | Optional | Comma-separated sort fields, - for descending. |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
200 body
| Field | Type | Required | Description |
|---|
items | array of MyCompany | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required | |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
MyCompany
| Field | Type | Required | Description |
|---|
company_code | string | Required | The company's sign-in code, as get_me answers it for the company this token is bound to. |
is_current | boolean | Required | The company this token is bound to: the only one it reads and writes. |
name | string | Required | |