Validate a request without sending
test_adviser_requestHarmless integration test with the same body as request_adviser_contact: validates the request and returns a preview with status validated_test and email_sent false. Use synthetic contact details only. No commercial lead, email, entitlement or payment. Never describe this as a real submission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Who is calling: { name:"chatgpt" } etc. Self-declared, not authentication. | |
| contact | Yes | Fill email or phone; leave the other as an empty string or omit it. Never invent a client name, email or phone. | |
| language | No | Client language; defaults to the comparison language. fr, de, it, en have localised client texts and pages; es, pt, zh are recorded for SPI (preview and pages fall back to en/fr). | |
| offer_id | No | offers[].offer_id or source_offer_id; alternative to insurer_id. | |
| comparison | No | submission.comparison copied unchanged; only with comparison_token. | |
| insurer_id | No | insurer_id of the offer the client chose, from offers[]. | |
| request_id | Yes | Copy submission.request_id from the quote (any RFC 4122 UUID). Reuse the same value and body on every retry. | |
| comparison_id | No | comparison_id from the quote; valid 30 days. Preferred. | |
| client_consent | Yes | true only after the client explicitly answered yes to consent_request. Never infer consent from a comparison. | |
| comparison_token | No | submission.comparisonToken with the identical submission.comparison; alternative to comparison_id. | |
| subsidy_requested | No | Client wants information on premium subsidies. | |
| cashback_terms_version | No | cashback.version shown to the client; 409 cashback_terms_outdated when stale. | |
| supplementary_interest | No | Client also wants supplementary (LCA) offers; enables the LCA cashback. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| preview | Yes | What a real send would contain. | |
| recipient | Yes | ||
| email_sent | Yes | ||
| request_id | Yes | ||
| payment_created | Yes |