Assign a team to a client
curl --request POST \ --url https://example.com/api/v1/clients/example/teams \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "effectiveFrom": "example", "teamId": "example" }'Grants a team inherited access to all orders and projects under the client, effective immediately, and records it in the client’s team history from effectiveFrom (default today in the workspace timezone; a past day backdates the history). Invoices take the team in force on their issue date. An issued invoice gets the company’s team only on a line with no class; a class already set is never changed. The change is recorded in the client’s history with the effective date and the acting member. When 1Password is connected, the company’s vault follows in the background: the team’s 1Password group gets access. Requires the clients.edit permission.
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
First day the team is in force, YYYY-MM-DD, today or earlier. Defaults to today in the workspace timezone. A past day backdates the company’s team history; access starts now.
Example generated
{ "effectiveFrom": "example", "teamId": "example"}Responses
Section titled “Responses”The created team assignment.
object
A team assigned to a client, granting inherited access to its orders.
object
Example generated
{ "data": { "createdAt": "2026-04-15T12:00:00Z", "id": "example", "teamId": "example", "teamName": "example" }}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" }}Client or team 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" }}The team is already assigned to the client.
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" }}The effective date is not a real day or is in the future.
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