Add a link to a company's resources
curl --request POST \ --url https://example.com/api/v1/clients/example/resources \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "description": "example", "isClientVisible": true, "projectId": "example", "title": "example", "url": "example" }'Adds a link to the company’s Resources: the company’s own (General) by default, or under one of its projects with projectId. It is entered once; to move it later, update its projectId. isClientVisible defaults to false, so the link stays internal to the team until someone sets it to true. Only http and https addresses are accepted; files are added on the company’s Resources tab. Requires the clients.edit permission and a client company inside the caller’s assignments (or clients.view_all). A link under a project also needs the Boards module, projects.view, projects.manage and that project inside the caller’s reach (or projects.view_all); without them a project’s link reads like a missing one and a project cannot be named as the owner. A projectId that is not one of this company’s projects answers 422.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Request Body
Section titled “Request Body”object
Whether the company’s own users see the link in their portal. Defaults to false: the link stays internal to the team.
The project of this company the link belongs to, one the caller reaches and may manage (projects.manage). Omitted, the link is the company’s own (General).
The link’s address, http or https.
Example generated
{ "description": "example", "isClientVisible": true, "projectId": "example", "title": "example", "url": "example"}Responses
Section titled “Responses”The link as saved.
object
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.
Example
{ "data": { "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" }}Invalid input.
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