Skip to main content
GET
CRM Overview
Returns the CRM deal attached to a subscriber. It’s the way to find the pipeline_id and stage_id that Update CRM Overview takes.

Example Request

The endpoint accepts GET and POST.

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).
The API returns only the subscriber’s current pipeline and stage — there is no endpoint that lists a pipeline’s stages. To move a deal to another stage you need that stage’s id from your ChatSyncs dashboard, or from reading another subscriber’s deal that is already there.
An unknown subscriber is answered with {"status":"0","message":"Subscriber not found"}.

Query Parameters

apiToken
string
required

Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.

Example:

"API-KEY"

phone_number_id
string
required

The WhatsApp account's phone number ID. Where to find it.

Example:

"PHONE-NUMBER-ID"

phone_number
string
required

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"

Response

Standard ChatSyncs response. status is "1" on success and "0" on failure.

status
string
message
any