Get where a company's work lives
curl --request GET \ --url 'https://example.com/api/v1/clients/example/resources?page=1&perPage=25' \ --header 'Authorization: Bearer <token>'Returns, read from what already exists and never stored as a copy, the company’s projects, the Asana projects linked to its projects, and its Discord channels: the channel Chelsea made for a project, or, while no project has one, the Discord links the company keeps in its URL fields; a Discord link added to the company is listed once, under added. Each item carries the page that opens it. A project and the Asana projects and Discord channels of that project need the Boards module and projects.view, within the caller’s project reach (or projects.view_all); a kind the caller may not read is left out, and the Discord links the company keeps follow the same project reach. Orders are not listed here; read them from the orders list. Each kind lists its first 100 rows and hasMore flags a kind with more. added holds one page (page, perPage, addedMeta) of the links and files the team added, the company’s own (General) first and then those of each project the caller reaches; every row names its owner. project narrows both lists to one project or to general. Requires the clients.view permission and a client company inside the caller’s assignments (or clients.view_all); anything else out of reach answers 404.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Query Parameters
Section titled “Query Parameters”Narrows both lists as the Resources tab’s filter does: a project id keeps what is or belongs to that project, general what the company keeps in no project. A project that is not one of the company’s, or is out of the caller’s reach, lists nothing.
Narrows both lists as the Resources tab’s filter does: a project id keeps what is or belongs to that project, general what the company keeps in no project. A project that is not one of the company’s, or is out of the caller’s reach, lists nothing.
Page of the added links and files.
Page of the added links and files.
Added links and files per page.
Added links and files per page.
Responses
Section titled “Responses”Where the company’s work lives.
object
A company’s Resources tab: what it derives from the company’s projects, never stored as a copy, and the links and files the team added, paged by addedMeta (absent on an older server).
object
One page of the links and files the team added: the company’s own (General) first, then those of each of its projects the caller reaches. Absent on an older server.
A link or file the team added to a company (General) or to one of its projects.
object
Whether the company’s own users see it in their portal; false keeps it to the team.
The company itself (General) or the project of the company a resource is under.
object
general for the company’s own, project for one of its projects.
The project; null for General.
Its name; null for General.
link or file.
The link’s address. Null for a file, which opens from the company’s Resources tab.
Pagination metadata for list responses.
object
True for a kind that holds more than the 100 listed, so the list is not the whole set; the rest is on the company’s Projects tab. order is always false.
object
Projects, Asana projects and Discord channels, in that order, limited to what the caller reaches. No row of kind order is returned: orders are read from the orders list. At most 100 of each kind; hasMore says which kinds have more.
One place where a company’s work lives, read from what already exists. owner says which project it is or belongs to, General for a Discord link the company itself keeps; it is absent on an older server.
object
The company itself (General) or the project of the company a resource is under.
object
general for the company’s own, project for one of its projects.
The project; null for General.
Its name; null for General.
The project an Asana project or a Discord channel belongs to; null otherwise.
The project’s name, the project an Asana project or Discord channel belongs to, or the name of the company field a Discord link was read from.
Opens the project in Chelsea, or the Asana project or Discord channel.
Example
{ "data": { "added": [ { "owner": { "kind": "general" } } ], "resources": [ { "kind": "project", "orderStatus": "ACTIVE", "owner": { "kind": "general" } } ] }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC