Clients

Update a client

patch/api/v1/clients/{id}

Request

  • Base URL
    https://app.relaw.ai
  • URL
    https://app.relaw.ai/api/v1/clients/{id}
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Request body

firstNamestring
lastNamestring
emailstring nullable
phonestring nullable

Response

The updated client.

idstring uuid required
object'client' required
firstNamestring required
lastNamestring required
emailstring nullable

Null is a real possibility, not an edge case — imported contacts often have no email. Do not assume this is present.

phonestring nullable

E.164.

type'person' | 'organization'
lifecycle'lead' | 'client' | 'former' required

lead has not been engaged; client is active; former is closed.

leadSourcestring nullable
leadScoreinteger nullable

0–100, or null if not yet scored. Recomputed as engagement changes and as a lead goes cold, so it moves without the record changing.

leadScoreBand'hot' | 'warm' | 'cold' | 'null' nullable
createdAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.