Help me request an introduction (needs my yes)
request_attorney_introductionUse only when the user asks to be introduced to ONE specific lawyer AND has seen that lawyer's name, the exact details to be shared and the consent text from get_attorney_profile, then said yes. Never call it on your own initiative or for several lawyers at once. Stores only the authorized fields; retries with the same idempotency_key do not duplicate. IMPORTANT: sending to lawyers is currently switched off, so the introduction is RECORDED, NOT SENT; tell the user and give them the lawyer's phone or profile link. Returns a referral id, its lifecycle_state and a private status token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | US state, two-letter code or name, e.g. CA or California | |
| consent | Yes | ||
| contact | Yes | ||
| match_id | No | ||
| attorney_id | Yes | ||
| 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 introduction | |
| 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 | Yes | ||
| lifecycle_state | Yes | ||
| attorney_response | Yes | ||
| consent_text_shown | Yes | ||
| delivered_to_lawyer | Yes | ||
| personal_details_deleted | Yes |