Set the review of a user
curl --request PUT \ --url https://example.com/api/v1/client-members/example/review \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "review": "PENDING" }'Records the team’s review of a user, as the Access review card on the user’s page does. For a person with no company: PENDING, EXTERNAL_AGENCY (sees only the tickets they were added to) or SPAM (blocked at once, their exact address ignored by the helpdesk until the mark is undone, removed after 7 days). null finishes the review of someone who already holds a company. A review that does not apply to the person answers 409. Requires the clients.view and clients.edit permissions; a person with no company is only reachable with clients.view_all.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”WorkspaceMember id of the client person.
WorkspaceMember id of the client person.
Request Body
Section titled “Request Body”object
Responses
Section titled “Responses”The person as saved.
object
A person at one or more client companies, with their portal status.
object
The client companies the person holds that the caller reaches.
object
Data-scope attribute of the person on this company: OWNER, BILLING, LEAD, MEMBER or COLLABORATOR (tickets only).
The last portal invitation or welcome email tried for this company, or null when none is recorded.
The delivery of the last portal invitation or welcome email tried for a contact.
object
When the outcome last changed.
PENDING while handed to the provider, SENT once accepted, FAILED when it never left, then DELAYED, DELIVERED, BOUNCED or COMPLAINED (marked as spam) as the provider reports.
Why the provider refused or bounced it, when it said.
The company’s client status catalog id, or null when it has none.
The person’s contact email in this workspace, from their first company the caller reaches; null when they are on none.
The email the person signs in with. Only they change it, from their profile.
WorkspaceMember id of the client person.
How the person came in, in plain words; Not recorded when nothing reliable says it. Absent on an older server.
Example
{ "data": { "companies": [ { "portalInvitation": { "outcome": "PENDING" }, "roles": [ "TICKETS" ] } ], "review": "PENDING", "status": "inactive" }}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 person 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 review does not apply to this person.
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