Send my message to the lawyer I picked (needs my yes)
send_client_messageUse only when the person asked to contact ONE specific lawyer they picked, has seen the lawyer's name, the exact message and details to be shared and the consent text, and said yes. Never call it on your own initiative or for several lawyers at once. Call preview_client_message first and pass its approval_code: if the recipient or the text changed since the person's yes, it is refused. Stores only the approved fields; retries with the same idempotency_key do not duplicate, and reusing a key for different details is refused. The same rule applies to every listed lawyer. Returns a contact_request_id, its lifecycle_state and a private status token. This is a listing service, not a lawyer referral service. No lawyer pays for placement or ranking of any kind.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | US state, two-letter code or name, e.g. CA or California | |
| consent | Yes | ||
| contact | Yes | ||
| entry_id | No | The entry_id from start_from_directory_profile, if the user started from a directory listing. Counts the listing visit; carries no personal data. | |
| match_id | No | ||
| pending_ok | No | Deprecated since 2026-11-04 and ignored. Messages no longer wait for anything a lawyer buys. | |
| attorney_id | Yes | ||
| approval_code | No | The approval_code from preview_client_message for the exact version the user said yes to. If anything changed since, the request is refused and nothing is stored. | |
| practice_area | No | ||
| matter_summary | Yes | Summary the USER read and approved for sharing with this lawyer | |
| idempotency_key | No | Same key on retries prevents a duplicate message | |
| attribution_token | No | Signed campaign/partner token issued by ESQ Matching Engine, if the user arrived through a partner link | |
| opposing_party_name | No | Name of the other side, if any, so the firm can check conflicts. Not shared beyond the firm. | |
| preferred_timeframe | No | ||
| preferred_contact_method | Yes | ||
| intake_notice_acknowledged | No | True only after the user read: no attorney-client relationship exists yet and the lawyer may decline |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | Yes | ||
| status | Yes | ||
| consent | Yes | ||
| attorney | Yes | ||
| match_id | Yes | ||
| duplicate | Yes | ||
| next_step | Yes | ||
| created_at | Yes | ||
| submission | Yes | ||
| api_version | Yes | ||
| destination | Yes | ||
| referral_id | Yes | ||
| consultation | Yes | ||
| last_updated | Yes | ||
| status_check | No | ||
| status_token | Yes | ||
| qualification | Yes | ||
| delivery_notice | No | ||
| lifecycle_state | Yes | ||
| attorney_response | Yes | ||
| consent_text_shown | Yes | ||
| delivered_to_lawyer | Yes | ||
| personal_details_deleted | Yes |