Portal Messages
Convert To Lead
Create a lead from a captured portal message (buyer data entered by the user — the portal email has none). Reuses the normal lead pipeline; the lead inherits the message's team and keeps the chat URL. Idempotent: a message already converted returns its existing lead instead of creating another.
post/api/portal-messages/{message_id}/convert-to-lead
Path parameters
message_idinteger required
Headers
x-api-tokenstring nullable
Request body
Response
Successful Response
{"stackTrail":"paths:/api/portal-messages/{message_id}/convert-to-lead:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 3 revisions of this API.