Subscriber API
CRM Overview
Get a subscriber’s CRM deal via the ChatSyncs API: pipeline, stage, value, currency, expected close date, owner, lead score, source and status. Use when a developer asks how to read a contact’s deal or find the pipeline_id and stage_id that Update CRM Overview needs.
GET
CRM Overview
Returns the CRM deal attached to a subscriber. It’s the way to find the
The endpoint accepts GET and POST.
An unknown subscriber is answered with
pipeline_id and stage_id that
Update CRM Overview takes.
Example Request
Response
Unlike most read endpoints,message is an object, not a list:
lead_score is hot, warm or cold. owner_user_id is a team member id, and owner_name is that member’s name.
A subscriber with no deal yet answers with
"has_deal": false, deal_id, title, lead_score and status all null,
and the pipeline and first stage a new deal would start in (for example Sales Pipeline, stage New).{"status":"0","message":"Subscriber not found"}.Query Parameters
Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.
Example:
"API-KEY"
The WhatsApp account's phone number ID. Where to find it.
Example:
"PHONE-NUMBER-ID"
The subscriber's phone number, with country code, digits only. For a contact that has no phone number, the chat ID as Subscriber List shows it.
Example:
"PHONE-NUMBER"

