Subscriber API
Subscriber Assign Custom Fields
Set one or more custom field values on a subscriber via the ChatSyncs API, using a JSON object of field name/value pairs. Use when a developer asks how to sync CRM data into a subscriber’s custom fields.
POST
Assign Custom Fields
Sets custom field values on a subscriber. See
Subscriber Manager’s Custom Fields for what
a custom field is and the available types (Text, Number, Date, Email, Phone).
The
The custom_fields JSON format
custom_fields is a single JSON object — each key is an existing custom field’s name, and
each value is what you want to set it to, matching that field’s type:
Use the names from Custom Fields List, or create one first in
Subscriber Manager → Manage → Manage Custom Fields. You only need to include the fields you’re updating — any field
you leave out is unaffected (verified).
Body
application/x-www-form-urlencoded
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.
Example:
"PHONE-NUMBER"
A JSON object of custom field names and values.
Example:
"{\"custom_field_name1\":\"value1\"}"

