Skip to content

Confirm a setup item of a company's onboarding checklist

POST
/client-readiness/{clientId}/items/{key}/confirm
Code sample: Shell / cURL
curl --request POST \
--url https://example.com/api/v1/client-readiness/example/items/tracker_project/confirm \
--header 'Authorization: Bearer <token>'

Marks one of the items a person sets up by hand as done: the caller states that the resource exists, or, for non_billable_order, that it was created or is not needed. The confirmation is recorded in the company’s history under the caller’s name and cannot be undone. Confirming an item that is already confirmed changes nothing and keeps the first person and time. Answers the company’s readiness after the change. An item the company’s checklist does not have answers 404, and a key that is not a setup item answers 422. Members without clients.view_all reach only their companies. Requires clients.view and clients.edit.

clientId
required

Company (client) identifier (CUID2).

string
>= 1 characters

Company (client) identifier (CUID2).

key
required

The setup item to confirm, as key names it in the readiness.

string
Allowed values: tracker_project discord_channel drive_folder bug_reporting non_billable_order

The setup item to confirm, as key names it in the readiness.

The company’s readiness after the confirmation.

Media typeapplication/json
object
data
required
object
clientId
required
string
complete
required

True when no item is pending.

boolean
items
required
Array<object>
object
confirmable

True on an item a person sets up by hand and confirms. Absent on the items derived from the company’s data, and on an older server.

boolean
confirmedAt

When the item was confirmed; null while it is pending. Absent on the derived items, and on an older server.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
confirmedBy

Who confirmed the item; null while it is pending or when that person no longer exists. Absent on the derived items, and on an older server.

Any of:
object
name
required
string
key
required
string
Allowed values: client_status portal_contact active_order linked_project service_intake accesses_received responsible first_invoice_sent notification_channel tracker_project discord_channel drive_folder bug_reporting non_billable_order
label
required
string
note

What the person is asked to do before confirming. Absent on the derived items, and on an older server.

string
resolvePath
required

Where the item is resolved, relative to the workspace (/app), with the hash of the page section.

string
resourceUrl

Where a pending item’s resource already is: a path inside the app starting with /app/, or an absolute URL; null when unknown, outside the caller’s reach, or once the item is confirmed. Absent on the derived items, and on an older server.

string | null
status
required
string
Allowed values: done pending not_applicable
steps

How the item is set up by hand, in order. Absent on the derived items, and on an older server.

Array<string>
onboarding
required

True while the company has a won deal and a pending item, derived or waiting for a person to confirm it.

boolean
wonDealId
required
string | null

Example

{
"data": {
"items": [
{
"key": "client_status",
"status": "done"
}
]
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Not found.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Invalid input.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.