Skip to Content
Review Request APIPOSTCreate a review request

Create a review request

POST/api/v2/review-requests

Creates a review request, inviting a client to leave a review for your firm. Send it from your case management system as soon as a matter completes.

Body parameters

FieldTypeRequiredDescription
firstNamestringRequiredThe client first name. Between 2 and 50 characters.
lastNamestringRequiredThe client last name. Between 2 and 50 characters.
emailstringRequiredThe client email address.
referencestringRequiredYour case reference for this matter. Must be unique for your firm.
phoneNumberstringOptionalThe client phone number. Must be a valid UK mobile number.
postcodestringOptionalThe client postcode.
professionalstringOptionalThe name of the professional who handled the matter.
workAreastringOptionalThe area of law the matter relates to.
languagestringOptionalLanguage code for the invitation, such as EN. See Language codes. Defaults to your firm’s default language.
personalMessagestringOptionalA personal message shown to the client at the top of the review questionnaire. Up to 2000 characters.

The company is taken from your access token, so there is no company field in the body.

Request

POST /api/v2/review-requests
curl --location 'https://www.reviewsolicitors.co.uk/api/v2/review-requests' \ --header 'Authorization: Bearer {access_token}' \ --header 'Content-Type: application/json' \ --data '{ "firstName": "Jane", "lastName": "Doe", "email": "jane.doe@example.com", "reference": "MATTER-1234", "phoneNumber": "07700900123", "postcode": "SW1A 1AA", "professional": "Alex Smith", "workArea": "Conveyancing", "language": "EN", "personalMessage": "Thank you for trusting us with your purchase." }'

Response

200 OK
{ "message" : "Review request successfully created" }

Errors

A rejected request returns 400 with an errors object keyed by the field that caused it:

400 Bad Request
{ "errors": { "reference": "Review request with this reference already exists" } }
FieldMessageCause
referenceReview request with this reference already existsYou have already created a review request with this reference.
referenceReview request with this reference is blockedThis reference has been blocked.

A field that fails validation, such as a missing email or a firstName shorter than 2 characters, returns 400 with a list instead, one entry per field:

400 Bad Request
[ { "field": "firstName", "error": ["firstName should be between 2 and 50 characters"] } ]

See Errors.

A request is rejected if a review request was already sent, or a review already left, for the same contact details within the past year.

Language codes

Pass one of these as language. Anything unrecognised falls back to your firm’s default.

CodeLanguageCodeLanguage
ENEnglishNLDutch
FRFrenchNONorwegian
ARArabicPTPortuguese
SPSpanishUKUkrainian
FIFinnishRORomanian
BIBanglaRURussian
ITItalianTLFilipino
PLPolishTRTurkish
DADanishZHChinese
ELGreekDEGerman
LTLithuanianSESwedish
WLWelshTWTraditional Chinese
VIVietnameseTHThai
Last updated on