Client Prospect - Admin
Match the prospect to an existing client or create one from it
Lead → contract flow: finds an existing Cliente for this prospect (NIF, then email/phone with a name sanity-check) or creates a new one from the prospect's data. No body — everything comes from the prospect row, tenant-scoped by the authenticated user's idcompany.
Returns {"status": "matched"|"created", "id_cliente", "Nome", "matched_by"}.
post/api/client-prospects/{prospect_id}/resolve-client
Path parameters
prospect_idinteger required
Headers
x-api-tokenstring nullable
Response
Successful Response
{"stackTrail":"paths:/api/client-prospects/{prospect_id}/resolve-client:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.