Accept an enquiry
POST/api/v2/client-assist/{id}/accept
Accepts a Client Assist enquiry. This is the same as choosing to take the enquiry on in your dashboard. Accept an enquiry before you contact the client.
What happens
| Enquiry before | Enquiry after |
|---|---|
SUBMITTED | Moves to CONTACTED. |
Any other status that is not final, such as UNABLE_TO_CONTACT or TEST | Keeps its status. |
In every case contactRevealed becomes true and contactRevealedAt is set. The client is
not notified: contact them yourself.
Path parameters
| Param | Type | Required | Description |
|---|---|---|---|
id | string | Required | The id of the enquiry to accept. |
Request
This endpoint takes no body.
cURL
POST /api/v2/client-assist/{id}/accept
curl --location --request POST 'https://www.reviewsolicitors.co.uk/api/v2/client-assist/{id}/accept' \
--header 'Authorization: Bearer {access_token}'Response
200 OK
{
"message": "Client assist enquiry accepted"
}To see the enquiry’s new status, call Retrieve an enquiry.
Errors
| Code | Cause |
|---|---|
| 400 | The enquiry has already been accepted, or it is REJECTED, REPORTED, COMPLETED or CLOSED. The message says which. |
| 403 | Client Assist is not active for your firm. |
| 404 | No Client Assist enquiry with that id belongs to your firm. |
Accepting twice is safe. The second call returns 400 and changes nothing.
Last updated on