Enquiry API

Lex Aquila Advocates, a chambers of barristers in Port-Louis, Mauritius, accepts legal enquiries programmatically. One endpoint is available. Machine-readable description: OpenAPI specification · API catalog (RFC 9727).

POST /api/contact

Submits an enquiry to chambers. The body must be JSON (Content-Type: application/json, max 32 KB).

FieldTypeRules
namestringRequired, 2–120 characters
emailstringRequired, valid email, ≤254 characters
phonestringOptional, ≤50 characters
matterTypestringRequired, one of: family-law-divorce, property-estates-wills, employment-workers-rights, civil-commercial, high-value-high-profile, gender-advisory-international, other
messagestringRequired, 20–5000 characters
consentbooleanRequired, must be true (consent to be contacted)

Example

curl -X POST https://lexaquilaadvocates.com/api/contact \
  -H "Content-Type: application/json" \
  -d '{
    "name": "A. Client",
    "email": "[email protected]",
    "matterType": "family-law-divorce",
    "message": "I would like advice regarding divorce proceedings in Mauritius.",
    "consent": true
  }'

Responses

StatusMeaning
200{"ok": true, "message": "Thank you. Your enquiry has been sent."}
400Validation failed; the response lists the invalid fields
405Only POST is accepted
413Body exceeds 32 KB
415Content-Type must be application/json

Enquiries are confidential and answered personally. For urgent matters, call +230 5858 7956 or visit the contact page.