View Categories

Contact Manager API

56 minutes of reading

1. Introduction #

The Business Messenger Contact Manager API is a standard REST HTTP API with JSON payload. It can be used to store customer subscription information, create messaging lists etc. The Business Messenger API authorization is implemented as the industry-standard OAuth 2.0 protocol. For more information, please refer to the OAuth2 Authentication Guidelines page.

1.1 API Call Examples #

Note: A domain is presented with placeholders as https://api{separator}{platform_domain}, where {separator} can be a dot (.) or a hyphen (-). Please, replace it with your actual platform domain name.

1. The following sample CURL call adds a new contact in your Business Messenger account:

Note that in order to have a contact opted in for SMS campaigns, you need to explicitly set field opt_status to in value, or PATCH this contact with this opt_status later.

2. An example call searching for contact(s) with +11111111111 mobile number:

3. If you need a batch import of contacts, an example of how to do that is given below:

identifier=mobile defines that new and existing contacts will be mapped by the mobile property.
resolve_duplicate=update instructs what to do with duplicate records (in this case, updates the old record with the new data).

4. An example of how to filter results and make segmentation to see all contacts with e.g. first name John is given below:

5. An example of how to filter results and make segmentation to see all contacts with specific birthday from one specific country is given below:

2. Methods Overview #

2.1 Contact #

Endpoints for Contacts management.

GET/services/{serviceUuid}/cds/contacts

Returns a list of contacts.

POST/services/{serviceUuid}/cds/contacts

Creates a new Contact.

GET/services/{serviceUuid}/cds/contacts/{contactId}

Returns a Contact by UUID.

PUT/services/{serviceUuid}/cds/contacts/{contactId}

Updates a Contact by UUID.

PATCH/services/{serviceUuid}/cds/contacts/{contactId}

Patches a Contact by UUID.

DELETE/services/{serviceUuid}/cds/contacts/{contactId}

Deletes a Contact by UUID.

POST/services/{serviceUuid}/cds/imports

Imports contacts in a batch.

2.2 List #

Endpoints for Lists management.

GET/services/{serviceUuid}/cds/lists

Returns an array of Lists.

POST/services/{serviceUuid}/cds/lists

Creates a new List.

GET/services/{serviceUuid}/cds/lists/{listId}

Returns a list by UUID.

PUT/services/{serviceUuid}/cds/lists/{listId}

Updates a List.

DELETE/services/{serviceUuid}/cds/lists/{listId}

Deletes a List.

2.3 Field #

Endpoints for Contact Fields management.

GET/services/{serviceUuid}/cds/fields

Returns a list of Contact Fields.

GET/services/{serviceUuid}/cds/custom_fields

Returns a list of Custom Fields.

POST/services/{serviceUuid}/cds/custom_fields

Creates a Custom Field.

GET/services/{serviceUuid}/cds/custom_fields/{customFieldsId}

Returns a Custom Field by ID.

PUT/services/{serviceUuid}/cds/custom_fields/{customFieldsId}

Updates a Custom Field.

DELETE/services/{serviceUuid}/cds/custom_fields/{customFieldsId}

Deletes a Custom Field.

2.4 Segmentation #

Endpoints for Segmentation Sets and Groups management.

GET/services/{serviceUuid}/cds/segmentation_sets

Returns a list of Segmentation Sets.

POST/services/{serviceUuid}/cds/segmentation_sets

Creates a new Segmentation Set.

GET/services/{serviceUuid}/cds/segmentation_sets/{segmentationSetId}

Returns a Segmentation Set by UUID.

PUT/services/{serviceUuid}/cds/segmentation_sets/{segmentationSetId}

Updates a Segmentation Set.

DELETE/services/{serviceUuid}/cds/segmentation_sets/{segmentationSetId}

Deletes a Segmentation Set.

GET/services/{serviceUuid}/cds/segmentation_groups

Returns a list of Segmentation Groups.

POST/services/{serviceUuid}/cds/segmentation_groups

Creates a Segmentation Group.

GET/services/{serviceUuid}/cds/segmentation_groups/{segmentationGroupId}

Returns a Segmentation Group by UUID.

PUT/services/{serviceUuid}/cds/segmentation_groups/{segmentationGroupId}

Updates a Segmentation Group.

DELETE/services/{serviceUuid}/cds/segmentation_groups/{segmentationGroupId}

Deletes a Segmentation Group Set.

2.5 Subscription #

Endpoints for Subscriptions and Options management.

GET/services/{serviceUuid}/cds/subscriptions

Returns a list of Subscriptions.

POST/services/{serviceUuid}/cds/subscriptions

Creates a new Subscription.

GET/services/{serviceUuid}/cds/subscriptions/{subscriptionId}

Returns a Subscription by UUID.

PUT/services/{serviceUuid}/cds/subscriptions/{subscriptionId}

Updates a Subscription.

DELETE/services/{serviceUuid}/cds/subscriptions/{subscriptionId}

Deletes a Subscription.

GET/services/{serviceUuid}/cds/subscriptions/options

Returns a list of Subscription Options.

POST/services/{serviceUuid}/cds/subscriptions/options

Creates a Subscription Options.

GET/services/{serviceUuid}/cds/subscriptions/options/{optionId}

Returns a Subscription Option by UUID.

PUT/services/{serviceUuid}/cds/subscriptions/options/{optionId}

Updates a Subscription Option.

DELETE/services/{serviceUuid}/cds/subscriptions/options/{optionId}

Deletes a Subscription Option.

GET/services/{serviceUuid}/cds/subscriptions/members

Returns a list of a Subscription Option Members.

POST/services/{serviceUuid}/cds/subscriptions/members

Creates or Updates a Subscription Member.

2.6 Group #

Endpoints for Groups management.

GET/services/{serviceUuid}/cds/groups

Returns a list of Groups.

POST/services/{serviceUuid}/cds/groups

Creates a new Group.

GET/services/{serviceUuid}/cds/groups/{groupId}

Returns a Group by UUID.

PUT/services/{serviceUuid}/cds/groups/{groupId}

Updates a Group.

DELETE/services/{serviceUuid}/cds/groups/{groupId}

Deletes a Group.

GET/services/{serviceUuid}/cds/group_lists

Returns a list of Group Lists.

POST/services/{serviceUuid}/cds/group_lists

Creates a Group List.

GET/services/{serviceUuid}/cds/group_lists/{groupListId}

Returns a Group List by UUID.

PUT/services/{serviceUuid}/cds/group_lists/{groupListId}

Updates a Group List.

GET/services/{serviceUuid}/cds/group_segmentation

Returns a list of Group Segmentation.

POST/services/{serviceUuid}/cds/group_segmentation

Creates a new Group Segmentation.

GET/services/{serviceUuid}/cds/group_segmentation/{groupSegmentationId}

Gets a Group Segmentation by UUID.

PUT/services/{serviceUuid}/cds/group_segmentation/{groupSegmentationId}

Updates a Group Segmentation.

2.7 Touchpoint #

Endpoints for Touchpoints management.

GET/services/{serviceUuid}/cds/touchpoints

Returns a list of Touchpoints.

POST/services/{serviceUuid}/cds/touchpoints

Creates a new Touchpoint.

GET/services/{serviceUuid}/cds/touchpoints/{touchpointId}

Returns a Touchpoint by UUID.

PUT/services/{serviceUuid}/cds/touchpoints/{touchpointId}

Updates a Touchpoint.

DELETE/services/{serviceUuid}/cds/touchpoints/{touchpointId}

Deletes a Touchpoint.

GET/services/{serviceUuid}/cds/touchpoints/members

Returns a list of Touchpoint Members.

POST/services/{serviceUuid}/cds/touchpoints/members

Creates or Updates a Touchpoint Membership.

2.8 Interest #

Endpoints for Interests management.

GET/services/{serviceUuid}/cds/interests

Returns a list of Interests.

POST/services/{serviceUuid}/cds/interests

Creates a new Interest.

GET/services/{serviceUuid}/cds/interests/{interestId}

Gets an Interest by UUID.

PUT/services/{serviceUuid}/cds/interests/{interestId}

Updates an Interest.

DELETE/services/{serviceUuid}/cds/interests/{interestId}

Deletes an Interest.

GET/services/{serviceUuid}/cds/interests/members

Returns a list of Interest Members.

POST/services/{serviceUuid}/cds/interests/members

Creates or Updates an Interest Member.

3. Methods Details #

3.1 Contact #

Endpoints for Contacts management.

GET/services/{serviceUuid}/cds/contacts

Returns a list of contacts.

Method Overview #

The method returns a list of contacts.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
fieldsarray[string] (query)Optional fields.
Available values : lists, show_deleted, count_only, channels.
list_uuidsarray[string] (query)List UUIDs (comma-separated).
subscription_uuidsarray[string] (query)Subscription Options UUIDs (comma-separated).
interest_uuidsarray[string] (query)Interest UUIDs (comma-separated).
touchpoint_uuidsarray[string] (query)Touchpoint UUIDs (comma-separated).
member_statusstring (query)Member status. Available values : subscribed, unsubscribed.
subscription_statusstring (query)Subscription member status. Available values : subscribed, unsubscribed.
opt_statusstring (query)Opt status. Available values : in, out.
opt_status_webpushstring (query)Opt status webpush. Available values : in, out.
genderstring (query)Gender. Available values : male, female.
mobilestring (query)Mobile (E.164 with + prefix).
emailstring (query)Email.
webpush_subscriptionstring (query)Webpush subscription.
first_namestring (query)First Name.
last_namestring (query)Last Name.
agestring (query)Age.
querystring (query)Segmentation.
group_uuidstring (query)Group UUID.
page_numberinteger (query)Page number. Default value: 1.
page_sizeinteger (query)Page size. Default value: 10.
sortstring (query)Sort order for the result records.
Available values: mobile, -mobile, first_name, -first_name, last_name, -last_name, created_dt, -created_dt, birthday, -birthday, gender, -gender, updated_dt, -updated_dt.
requiredarray[string] (query)Returns contacts which have these fields defined: ‘mobile’, ’email’, ‘birthday’, ‘first_name’, ‘last_name’.
Available values: mobile, email, birthday, first_name, last_name.
updated_dtstring (query)The date/time when the content was updated. It is in RFC 3339 format. You can use operators for this field, e.g. gt(updated_dt)=2020-03-01T09:21:11+00:00 to get all contacts updated after the specified time.
channel_namestring (query)Channel name.
Available values: telegram, viber, facebook, instagram.
channel_identifierstring (query)Alias/Chat ID.
channel_opt_statusstring (query)Opt status.
Available values: in, out.
uuidsarray[string] (query)Search contacts by their UUIDs (comma-separated).
Responses #
CodeDescriptionLinks
200List of Contacts.No links.
defaultUnexpected error.No links.
Success Response 200: List of Contacts #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/contacts

Creates a new Contact.

Method Overview #

The method creates a new Contact.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)Contact data.
Data Parameters #

Contact data object example

Responses #
CodeDescriptionLinks
201Created Contact.No links.
defaultUnexpected error.No links.
Success Response 201: Created Contact #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/contacts/{contactId}

Returns a Contact by UUID.

Method Overview #

The method returns a Contact by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
contactId (required)string (path)ID of a Contact to get.
fieldsarray[string] (query)Optional fields (lists).
Responses #
CodeDescriptionLinks
200Contact data.No links.
defaultUnexpected error.No links.
Success Response 200: Contact Data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/contacts/{contactId}

Updates a Contact by UUID.

Method Overview #

The method updates a Contact by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
contactId (required)string (path)ID of a Contact to update.
body (required)(body)Contact data.
Data Parameters #

Contact data object example

Responses #
CodeDescriptionLinks
200Contact data.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Contact Data #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

PATCH/services/{serviceUuid}/cds/contacts/{contactId}

Patches a Contact by UUID.

Method Overview #

The method patches a Contact by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
contactId (required)string (path)ID of a Contact to update.
body (required)(body)Contact Status.
Data Parameters #

Contact Status object example

Responses #
CodeDescriptionLinks
200Contact data.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Contact Data #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/contacts/{contactId}

Deletes a Contact by UUID.

Method Overview #

The method deletes a Contact by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
contactId (required)string (path)ID of a Contact to delete.
gdpr (required)string (query)If full GDPR delete should be executed.
Available values: yes, no.
Default value: no.
Responses #
CodeDescriptionLinks
204Contact deleted.No links.
defaultUnexpected error.No links.
Success Response 204: Contact Deleted #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/imports

Imports contacts in a batch.

Method Overview #

The method imports contacts in a batch.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
list_uuid (required)string (query)UUID of a list in which contacts should be imported.
option_uuidsarray[string] (query)A comma separated string of subscription option UUIDs.
update_option_uuidsarray[string] (query)A comma separated string of subscription option UUIDs used for updating of existing contacts when resolve action is subscribe or unsubscribe.
touchpoint_uuidsarray[string] (query)A comma separated string of touchpoint UUIDs.
interest_uuidsarray[string] (query)A comma separated string of interest UUIDs.
resolve_duplicate (required)string (query)Defines an action how to resolve found duplicates.
Available values: update, skip, subscribe, unsubscribe, delete, optin, optout.
Default value: update.
identifier (required)string (query)This field is to be used as a unique identifier of imported contacts.
Default value: mobile.
unset_invalid_fieldsarray[string] (query)A comma separated list of fields code names which can be unset (nulled) if the sent value is invalid.
insert_opt_channelsarray[string] (query)A list of channels to opt-in or opt-out from, when creating new contacts.
Available values: sms, whatsapp.
Default value: sms.
update_opt_channelsarray[string] (query)A list of channels to opt-in or opt-out from, when updating existing contacts.
Available values: sms, whatsapp.
Default value: sms.
body (required)array (body)Array of Contacts to add.
Data Parameters #

Contacts Array body object example

Responses #
CodeDescriptionLinks
200Import result.No links.
defaultUnexpected error.No links.
Success Response 200: Import result #
Error Response Unexpected Error: Default #

3.2 List #

Endpoints for Lists management.

GET/services/{serviceUuid}/cds/lists

Returns an array of Lists.

Method Overview #

The method returns an array of Lists.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
fieldsarray[string] (query)Optional fields (totals, status, show_deleted, contacts_count).
Responses #
CodeDescriptionLinks
200Array of Lists.No links.
defaultUnexpected error.No links.
Success Response 200: Array of Lists #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/lists

Creates a new List.

Method Overview #

The method creates a new List.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)List to add.
Data Parameters #

List body object example

Responses #
CodeDescriptionLinks
201New List response.No links.
defaultUnexpected error.No links.
Success Response 201: New List response #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/lists/{listId}

Returns a List by UUID.

Method Overview #

The method returns a List by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
listId (required)string (path)ID of a List to get.
Responses #
CodeDescriptionLinks
200List Data.No links.
defaultUnexpected error.No links.
Success Response 200: List Data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/lists/{listId}

Updates a List.

Method Overview #

The method updates a List.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
listId (required)string (path)ID of a List to update.
body (required)(body)List data.
Data Parameters #

List data object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/lists/{listId}

Deletes a List by UUID.

Method Overview #

The method deletes a List by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
listId (required)string (path)ID of a List to delete.
Responses #
CodeDescriptionLinks
204List deleted.No links.
defaultUnexpected error.No links.
Success Response 204: List Deleted #
Error Response Unexpected Error: Default #

3.3 Field #

Endpoints for Contact Fields management.

GET/services/{serviceUuid}/cds/fields

Returns a list of Contact Fields.

Method Overview #

The method returns a list of Contact Fields.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
include_allstring (query)Appends custom fields and returns more detailed information about fields (use value 1 to set it).
Default value: 1.
Responses #
CodeDescriptionLinks
200List of all fields (when include_all = 1), in the case of 0 or none, simple array of strings is returned.No links.
defaultUnexpected error.No links.
Success Response 200: List of all fields (when include_all = 1), in the case of 0 or none, simple array of strings is returned #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/custom_fields

Returns a list of Custom Fields.

Method Overview #

The method returns a list of Custom Fields.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
Responses #
CodeDescriptionLinks
200List of Custom Fields.No links.
defaultUnexpected error.No links.
Success Response 200: List of Custom Fields #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/custom_fields

Creates a Custom Field.

Method Overview #

The method creates a Custom Field.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)Field data.
Data Parameters #

Field body object example

Responses #
CodeDescriptionLinks
201New Custom Field response.No links.
defaultUnexpected error.No links.
Success Response 201: New Custom Field response #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/custom_fields/{customFieldsId}

Returns a Custom Field by ID.

Method Overview #

The method returns a Custom Field by ID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
customFieldId (required)string (path)ID of a Custom Field to get.
Responses #
CodeDescriptionLinks
200Custom Field data.No links.
defaultUnexpected error.No links.
Success Response 200: Custom Field data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/custom_fields/{customFieldsId}

Updates a Custom Field.

Method Overview #

The method updates a Custom Field.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
customFieldID (required)string (path)ID of a Custom Field to update.
body (required)(body)Custom Field data.
Data Parameters #

Custom Field data object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/custom_fields/{customFieldsId}

Deletes a Custom Field by ID.

Method Overview #

The method deletes a Custom Field by ID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
customFieldId (required)string (path)ID of a Custom Field to delete.
Responses #
CodeDescriptionLinks
204Custom Field Deleted.No links.
defaultUnexpected error.No links.
Success Response 204: Custom Field Deleted #
Error Response Unexpected Error: Default #

3.4 Segmentation #

Endpoints for Segmentation Sets and Groups management.

GET/services/{serviceUuid}/cds/segmentation_sets

Returns a list of Segmentation Sets.

Method Overview #

The method returns a list of Segmentation Sets.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
Responses #
CodeDescriptionLinks
200List of Segmentation Sets.No links.
defaultUnexpected error.No links.
Success Response 200: List of Segmentation Sets #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/segmentation_sets

Creates a new Segmentation Set.

Method Overview #

The method creates a new Segmentation Set.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)Segmentation Set data.
Data Parameters #

Segmentation Sets data object example

Responses #
CodeDescriptionLinks
201New Segmentation Set response.No links.
defaultUnexpected error.No links.
Success Response 201: New Segmentation Set response #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/segmentation_sets/{segmentationSetId}

Returns a Segmentation Set by UUID.

Method Overview #

The method returns a Segmentation Set by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
segmentationSetId (required)string (path)ID of a Segmentation Set to get.
Responses #
CodeDescriptionLinks
200Segmentation Set Data.No links.
defaultUnexpected error.No links.
Success Response 200: Segmentation Set Data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/segmentation_sets/{segmentationSetId}

Updates a Segmentation Set.

Method Overview #

The method updates a Segmentation Set.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
segmentationSetId (required)string (path)ID of a Segmentation Set to update.
body (required)(body)Segmentation Set data.
Data Parameters #

Segmentation Set data object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/segmentation_sets/{segmentationSetId}

Deletes a Segmentation Set.

Method Overview #

The method deletes a Segmentation Set.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
segmentationSetId (required)string (path)ID of a Segmentation Set to delete.
Responses #
CodeDescriptionLinks
204Segmentation Set deleted.No links.
defaultUnexpected error.No links.
Success Response 204: Segmentation Set deleted #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/segmentation_groups

Returns a list of Segmentation Groups.

Method Overview #

The method returns a list of Segmentation Groups.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
Responses #
CodeDescriptionLinks
200List of Segmentation Groups.No links.
defaultUnexpected error.No links.
Success Response 200: List of Segmentation Groups #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/segmentation_groups

Creates a Segmentation Group.

Method Overview #

The method creates a Segmentation Group.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)Segmentation Group data.
Data Parameters #

Segmentation Group body object example

Responses #
CodeDescriptionLinks
201New Segmentation Group created.No links.
defaultUnexpected error.No links.
Success Response 201: New Segmentation Group Created #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/segmentation_groups/{segmentationGroupId}

Returns a Segmentation Group by UUID.

Method Overview #

The method returns a Segmentation Group by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
segmentationGroupId (required)string (path)ID of a Segmentation Group to get.
Responses #
CodeDescriptionLinks
200Segmentation Group data.No links.
defaultUnexpected error.No links.
Success Response 200: Segmentation Group data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/segmentation_groups/{segmentationGroupId}

Updates a Segmentation Group.

Method Overview #

The method updates a Segmentation Group.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
segmentationGroupId (required)string (path)ID of a Segmentation Group to update.
body (required)(body)Segmentation Group data.
Data Parameters #

Segmentation Group object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/segmentation_groups/{segmentationGroupId}

Deletes a Segmentation Group Set.

Method Overview #

The method deletes a Segmentation Group Set.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
segmentationGroupID (required)string (path)ID of a Segmentation Group to delete.
Responses #
CodeDescriptionLinks
204Segmentation Group deleted.No links.
defaultUnexpected error.No links.
Success Response 204: Segmentation Group deleted #
Error Response Unexpected Error: Default #

3.5 Subscription #

Endpoints for Subscriptions and Options management.

GET/services/{serviceUuid}/cds/subscriptions

Returns a list of Subscriptions.

Method Overview #

The method returns a list of Subscriptions.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
fieldsarray[string] (query)Optional fields (show_deleted).
Responses #
CodeDescriptionLinks
200List of Subscriptions.No links.
defaultUnexpected error.No links.
Success Response 200: List of Subscriptions #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/subscriptions

Creates a new Subscription.

Method Overview #

The method creates a new Subscription.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)Subscription data.
Data Parameters #

Subscription body object example

Responses #
CodeDescriptionLinks
201New Subscription created.No links.
defaultUnexpected error.No links.
Success Response 201: New Subscription Created #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/subscriptions/{subscriptionId}

Returns a Subscription by UUID.

Method Overview #

The method returns a Subscription by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
subscriptionId (required)string (path)ID of a Subscription to get.
Responses #
CodeDescriptionLinks
200Subscription Data Received.No links.
defaultUnexpected error.No links.
Success Response 200: Subscription Data Received #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/subscriptions/{subscriptionId}

Updates a Subscription.

Method Overview #

The method updates a Subscription.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
subscriptionId (required)string (path)ID of a Subscription to update.
body (required)(body)Subscription Option data.
Data Parameters #

Subscription option data object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/subscriptions/{subscriptionId}

Deletes a Subscription.

Method Overview #

The method deletes a Subscription.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
subscriptionId (required)string (path)ID of a Subscription to delete.
Responses #
CodeDescriptionLinks
204Subscription Option deleted.No links.
defaultUnexpected error.No links.
Success Response 204: Subscription Option deleted #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/subscriptions/options

Returns a list of Subscription Options.

Method Overview #

The method returns a list of Subscription Options.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
subscription_uuidstring (query)ID of a Subscription Option to get.
fieldsarray[string] (query)Optional fields (totals, status, show_deleted)
Responses #
CodeDescriptionLinks
200List of Subscription Option.No links.
defaultUnexpected error.No links.
Success Response 200: List of Subscription Option #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/subscriptions/options

Creates a Subscription Options.

Method Overview #

The method creates a Subscription Options.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)A Subscription Option data.
Data Parameters #

Subscription Option data example

Responses #
CodeDescriptionLinks
201New Subscription Option response.No links.
defaultUnexpected error.No links.
Success Response 201: New Subscription Option response #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/subscriptions/options/{optionId}

Returns a Subscription Option by UUID.

Method Overview #

The method returns a Subscription Option by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
optionId (required)string (path)ID of a Subscriptions Option to get.
Responses #
CodeDescriptionLinks
200Subscriptions Option Data.No links.
defaultUnexpected error.No links.
Success Response 200: Subscriptions Option Data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/subscriptions/options/{optionId}

Updates a Subscription Option.

Method Overview #

The method updates a Subscription Option.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
optionId (required)string (path)ID of a Subscriptions Option to update.
body (required)(body)Subscription Option data.
Data Parameters #

Subscription Option data example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/subscriptions/options/{optionId}

Deletes a Subscription Option.

Method Overview #

The method deletes a Subscription Option.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
optionId (required)string (path)ID of a Subscription Option to delete.
Responses #
CodeDescriptionLinks
204Subscription Option deleted.No links.
defaultUnexpected error.No links.
Success Response 204: Subscription Option deleted #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/subscriptions/members

Returns a list of a Subscription Option Members.

Method Overview #

The method returns a list of a Subscription Option Members.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
contact_uuidstring (query)Filters memberships by UUID of a contact.
option_uuidstring (query)Filters memberships by UUID of a subscription option.
Responses #
CodeDescriptionLinks
200List of Subscription Members.No links.
defaultUnexpected error.No links.
Success Response 200: List of Subscription Members #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/subscriptions/members

Creates or Updates a Subscription Member.

Method Overview #

The method creates or updates a Subscription Member.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)Subscription Member data to add.
Data Parameters #

Subscription Member data body object example

Responses #
CodeDescriptionLinks
201New Subscription Member added or updated.No links.
defaultUnexpected error.No links.
Success Response 201: New Subscription Member Added or Updated #
Error Response Unexpected Error: Default #

3.6 Group #

Endpoints for Groups management.

GET/services/{serviceUuid}/cds/groups

Returns a list of Groups.

Method Overview #

The method returns a list of Groups.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
fieldsarray[string] (query)Optional fields (total, status, show_deleted).
Responses #
CodeDescriptionLinks
200List of Groups.No links.
defaultUnexpected error.No links.
Success Response 200: List of Groups #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/groups

Creates a new Group.

Method Overview #

The method creates a new Group.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)Group data to add.
Data Parameters #

Group body object example

Responses #
CodeDescriptionLinks
201New Group created.No links.
defaultUnexpected error.No links.
Success Response 201: New Group Created #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/groups/{groupId}

Returns a Group by UUID.

Method Overview #

The method returns a Group by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
groupId (required)string (path)ID of a Group to get.
Responses #
CodeDescriptionLinks
200Group Data Received.No links.
defaultUnexpected error.No links.
Success Response 200: Group Data Received #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/groups/{groupId}

Updates a Group.

Method Overview #

The method updates a Group.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
groupId (required)string (path)ID of a Group to update.
body (required)(body)Group data.
Data Parameters #

Group body object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/groups/{groupId}

Deletes a Group.

Method Overview #

The method deletes a Group.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
groupId (required)string (path)ID of a Group to delete.
Responses #
CodeDescriptionLinks
204Group deleted.No links.
defaultUnexpected error.No links.
Success Response 204: Group deleted #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/group_lists

Returns a list of Group Lists.

Method Overview #

The method returns a list of Group Lists.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
list_uuidstring (query)ID of a List to get.
group_uuidstring (query)ID of a Group List to get.
Responses #
CodeDescriptionLinks
200List of Group Lists.No links.
defaultUnexpected error.No links.
Success Response 200: List of Group Lists #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/group_lists

Creates a Group List.

Method Overview #

The method creates a Group List.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)A Group List data to add.
Data Parameters #

Group List body object example

Responses #
CodeDescriptionLinks
201New Group List response.No links.
defaultUnexpected error.No links.
Success Response 201: New Group List response #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/group_lists/{groupListId}

Returns a Group List by UUID.

Method Overview #

The method returns a Group List by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
groupListId (required)string (path)ID of a Group List to get.
Responses #
CodeDescriptionLinks
200Group List data.No links.
defaultUnexpected error.No links.
Success Response 200: Group List data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/group_lists/{groupListId}

Updates a Group List.

Method Overview #

The method updates a Group List.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
groupListId (required)string (path)ID of a Group List to update.
body (required)(body)A Group List data.
Data Parameters #

Group List body object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/group_segmentation

Returns a list of Group Segmentation.

Method Overview #

The method returns a list of Group Segmentation.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
segmentation_uuidstring (query)ID of a Segmentation to get.
group_uuidstring (query)The ID of a Group Segmentation to get.
Responses #
CodeDescriptionLinks
200List of Group Segmentation.No links.
defaultUnexpected error.No links.
Success Response 200: List of Group Segmentation #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/group_segmentation

Creates a new Group Segmentation.

Method Overview #

The method creates a new Group Segmentation.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)A Group Segmentation data to add.
Data Parameters #

Group Segmentation body object example

Responses #
CodeDescriptionLinks
201New Group Segmentation response.No links.
defaultUnexpected error.No links.
Success Response 201: New Group Segmentation response #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/group_segmentation/{groupSegmentationId}

Gets a Group Segmentation by UUID.

Method Overview #

The method gets a Group Segmentation by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
groupSegmentationId (required)string (path)ID of a Group Segmentation to get.
Responses #
CodeDescriptionLinks
200Group Segmentation data.No links.
defaultUnexpected error.No links.
Success Response 200: Group Segmentation data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/group_segmentation/{groupSegmentationId}

Updates a Group Segmentation.

Method Overview #

The method updates a Group Segmentation.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
groupSegmentationId (required)string (path)ID of a Group Segmentation to update.
body (required)(body)Group Segmentation data.
Data Parameters #

Group Segmentation body object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

3.7 Touchpoint #

Endpoints for Touchpoints management.

GET/services/{serviceUuid}/cds/touchpoints

Returns a list of Touchpoints.

Method Overview #

The method returns a list of Touchpoints.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
contact_uuidstring (path)ID of a Contact to get.
fieldsarray[string] (query)Optional fields (show_deleted).
Responses #
CodeDescriptionLinks
200List of Touchpoints.No links.
defaultUnexpected error.No links.
Success Response 200: List of Touchpoints #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/touchpoints

Creates a new Touchpoint.

Method Overview #

The method creates a new Touchpoint.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)A Touchpoint data to add.
Data Parameters #

Touchpoint data object example

Responses #
CodeDescriptionLinks
201New Touchpoint created.No links.
defaultUnexpected error.No links.
Success Response 201: New Touchpoint Created #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/touchpoints/{touchpointId}

Gets a Touchpoint by UUID.

Method Overview #

The method gets a Touchpoint by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
touchpointId (required)string (path)ID of a Touchpoint to get.
Responses #
CodeDescriptionLinks
200Touchpoint data.No links.
defaultUnexpected error.No links.
Success Response 200: Touchpoint Data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/touchpoints/{touchpointId}

Updates a Touchpoint.

Method Overview #

The method updates a Touchpoint.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
touchpointId (required)string (path)ID of a Touchpoint to get.
body (required)(body)A Touchpoint data.
Data Parameters #

Touchpoint data object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/touchpoints/{touchpointId}

Deletes a Touchpoint.

Method Overview #

The method deletes a Touchpoint.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
touchpointId (required)string (path)ID of a Touchpoint to delete.
Responses #
CodeDescriptionLinks
204Touchpoint deleted.No links.
defaultUnexpected error.No links.
Success Response 204: Touchpoint deleted #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/touchpoints/members

Returns a list of Touchpoint Members.

Method Overview #

The method returns a list of Touchpoint Members.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
contact_uuidstring (query)Filters memberships by UUID of a Contact.
touchpoint_uuidstring (query)Filters memberships by UUID of a Touchpoint.
Responses #
CodeDescriptionLinks
200List of Touchpoint Members.No links.
defaultUnexpected error.No links.
Success Response 200: List of Touchpoint Members #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/touchpoints/members

Creates or Updates a Touchpoint Membership.

Method Overview #

The method creates or updates a Touchpoint Membership.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)A Touchpoint Member data to add.
Data Parameters #

Touchpoint Member object example

Responses #
CodeDescriptionLinks
201New Touchpoint Member response.No links.
defaultUnexpected error.No links.
Success Response 201: New Touchpoint Member Response #
Error Response Unexpected Error: Default #

3.8 Interest #

Endpoints for Interests management.

GET/services/{serviceUuid}/cds/interests

Returns a list of Interests.

Method Overview #

The method returns a list of Interests.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
fieldsarray[string] (query)Optional fields (status, parent_id, level).
embedarray[string] (query)Embeds additional entities.
Responses #
CodeDescriptionLinks
200List of Interests.No links.
defaultUnexpected error.No links.
Success Response 200: List of Interests #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/interests

Creates a new Interest.

Method Overview #

The method creates a new Interest.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)Interest data.
Data Parameters #

Interest data object example

Responses #
CodeDescriptionLinks
201New Interest created.No links.
defaultUnexpected error.No links.
Success Response 201: New Interest Created #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/interests/{interestId}

Gets an Interest by UUID.

Method Overview #

The method gets an Interest by UUID.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
interestId (required)string (path)Interest ID to get.
embedarray[string] (query)Embeds additional entities.
Responses #
CodeDescriptionLinks
200Interest Data.No links.
defaultUnexpected error.No links.
Success Response 200: Interest Data #
Error Response Unexpected Error: Default #

PUT/services/{serviceUuid}/cds/interests/{interestId}

Updates an Interest.

Method Overview #

The method updates an Interest.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
interestId (required)string (path)ID of an Interest to get.
body (required)(body)Interest data.
Data Parameters #

Interest data object example

Responses #
CodeDescriptionLinks
200Resource updated.No links.
400Invalid request.No links.
404Resource not found.No links.
405Validation exception.No links.
defaultUnexpected error.No links.
Success Response 200: Resource updated #
Error Response 400: Invalid request #
Error Response 404: Resource not found #
Error Response 405: Validation exception #
Error Response Unexpected Error: Default #

DELETE/services/{serviceUuid}/cds/interests/{interestId}

Deletes an Interest.

Method Overview #

The method deletes an Interest.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
interestId (required)string (path)ID of an Interest to delete.
Responses #
CodeDescriptionLinks
204Interest deleted.No links.
defaultUnexpected error.No links.
Success Response 204: Interest deleted #
Error Response Unexpected Error: Default #

GET/services/{serviceUuid}/cds/interests/members

Returns a list of Interest Members.

Method Overview #

The method returns a list of Interest Members.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
contact_uuidstring (query)Filters memberships by UUID of a Contact.
interest_uuidstring (query)Filters memberships by UUID of an Interest.
Responses #
CodeDescriptionLinks
200List of Interests Members.No links.
defaultUnexpected error.No links.
Success Response 200: List of Interests Members #
Error Response Unexpected Error: Default #

POST/services/{serviceUuid}/cds/interests/members

Creates or Updates an Interest Member.

Method Overview #

The method creates or updates an Interest Member.

URL Parameters #
NameTypeDescription
serviceUuid (required)string (path)Business Messenger account UUID.
body (required)(body)An Interest Member to create or update.
Data Parameters #

Interest Member data object example

Responses #
CodeDescriptionLinks
201New Interest Member response.No links.
defaultUnexpected error.No links.
Success Response 201: New Interest Member response #
Error Response Unexpected Error: Default #

4. Data Models #

Data Models define the structure of a JSON document and describe the data related to the Business Messenger Contact Manager API.

4.1 Service Collection #

ServiceCollection object properties:

NameTypeDescription
data (required)arrayAn array of Service objects.
meta (required)objectCollectionMeta object.

4.2 Service #

Service object properties:

NameTypeDescription
uuid (required)stringBusiness Messenger account UUID.
status (required)stringBusiness Messenger account status.
name (required)stringBusiness Messenger account name.
partner_id (required)integerPartner ID.
start_dt (required)stringBusiness Messenger account start date and time.
end_dt (required)stringBusiness Messenger account end date and time.
created_dtstringBusiness Messenger account date and time of creation.

4.3 Lists Collection #

ListsCollection object properties:

NameTypeDescription
data (required)arrayAn array of List objects.
meta (required)objectCollectionMeta object.

4.4 List #

List object properties:

NameTypeDescription
uuidstringList UUID.
name (required)stringList name.
list_statusstringList status.
created_dtstringList creation date and time.
updated_dtstringList update date and time.
subscribedintegerNumber of subscribed contacts.
unsubscribedintegerNumber of unsubscribed contacts.
contact_countintegerTotal number of contacts.
JSON Example #

4.5 Group Collection #

GroupCollection object properties:

NameTypeDescription
data (required)arrayAn array of Group objects.
meta (required)objectCollectionMeta object.

4.6 Group #

Group object properties:

NameTypeDescription
uuidstringGroup UUID.
name (required)stringGroup name.
group_statusstringGroup status.
typestringGroup type.
match_typestringMatch type.
list_uuidsstringLists’ UUIDs added to a group.
segmentation_uuidsstringSegmentation UUIDs.
created_dtstringGroup creation date and time.
updated_dtstringGroup update date and time.
descriptionstringDescription of a group.

4.7 Group List Collection #

GroupListCollection object properties:

NameTypeDescription
data (required)arrayAn array of GroupList objects.
meta (required)objectCollectionMeta object.

4.8 Group List #

GroupList object properties:

NameTypeDescription
group_uuid (required)stringGroup UUID.
list_uuid (required)stringList UUID.

4.9 Group Segmentation Collection #

GroupSegmentationCollection object properties:

NameTypeDescription
data (required)arrayAn array of GroupSegmentation objects.
meta (required)objectCollectionMeta object.

4.10 Group Segmentation #

GroupSegmentation object properties:

NameTypeDescription
group_uuid (required)stringGroup UUID.
segmentation_uuid (required)stringSegmentation UUID.

4.11 Subscription Collection #

SubscriptionCollection object properties:

NameTypeDescription
data (required)arrayAn array of Subscription objects.
meta (required)objectCollectionMeta object.

4.12 Subscription #

Subscription object properties:

NameTypeDescription
uuidstringSubscription UUID.
name (required)stringSubscription name.
descriptionstringDescription of a subscription.
created_dtstringSubscription creation date and time.
updated_dtstringSubscription update date and time.
statusstringSubscription status.
JSON Example #

4.13 Touchpoint Collection #

TouchpointCollection object properties:

NameTypeDescription
data (required)arrayAn array of Touchpoint objects.
meta (required)objectCollectionMeta object.

4.14 Touchpoint #

Touchpoint object properties:

NameTypeDescription
uuidstringTouchpoint UUID.
name (required)stringTouchpoint name.
statusstringTouchpoint status.
typestringTouchpoint type.
default_dtstringTouchpoint default date.
created_dtstringTouchpoint creation date and time.
updated_dtstringTouchpoint update date and time.

4.15 Touchpoint Member Create Collection #

TouchpointMemberCreateCollection object properties:

NameTypeDescription
data (required)arrayAn array of TouchpointMemberCreate objects.
meta (required)objectCollectionMeta object.

4.16 Touchpoint Member Create #

TouchpointMemberCreate object properties:

NameTypeDescription
status (required)stringStatus of a contact. Possible values: subscribed, unsubscribed.
touchpoint_uuid (required)stringTouchpoint UUID.
contact_uuid (required)stringContact UUID.

4.17 Touchpoint Members Collection #

TouchpointMembersCollection object properties:

NameTypeDescription
data (required)arrayAn array of TouchpointMember objects.
meta (required)objectCollectionMeta object.

4.18 Touchpoint Member #

TouchpointMember object properties:

NameTypeDescription
uuidstringTouchpoint member UUID.
status (required)stringTouchpoint member status.
touchpoint_uuid (required)stringTouchpoint UUID.
contact_uuid (required)stringMember – contact UUID.
joined_dtstringDate and time when contact joined.
updated_dtstringMember updated date and time.
JSON Example #

4.19 Subscription Option Collection #

SubscriptionOptionCollection object properties:

NameTypeDescription
data (required)arrayAn array of SubscriptionOption objects.
meta (required)objectCollectionMeta object.

4.20 Subscription Option #

SubscriptionOption object properties:

NameTypeDescription
uuidstringSubscription option UUID.
name (required)stringSubscription option name.
subscription_uuid (required)stringSubscription UUID.
order_numstringSubscription option order number.
descriptionstringSubscription option description.
created_dtstringSubscription option creation date and time.
updated_dtstringSubscription option update date and time.
statusstringSubscription option status.
JSON Example #

4.21 Subscription Member Create #

SubscriptionMemberCreate object properties:

NameTypeDescription
option_uuid (required)stringSubscription option UUID.
contact_uuid (required)stringContact UUID.
status (required)stringSubscription member status. Possible values: subscribed, unsubscribed.

4.22 Subscription Members Collection #

SubscriptionMembersCollection object properties:

NameTypeDescription
data (required)arrayAn array of SubscriptionMember objects.
meta (required)objectCollectionMeta object.

4.23 Subscription Member #

SubscriptionMember object properties:

NameTypeDescription
uuidstringSubscription member UUID.
option_uuid (required)stringSubscription option UUID.
contact_uuid (required)stringMember – contact UUID.
status (required)stringSubscription member status.
joined_dtstringSubscription member date and time of joining.
updated_dtstringSubscription member update date and time.

4.24 Channel #

Channel object properties:

NameTypeDescription
opt_statusstringOpt status. Possible values: in, out.
channel_namestringChannel name.
dataobjectChannel data.
identifierstringChannel identifier.
JSON Example #

4.25 Contact #

Contact object properties:

NameTypeDescription
uuidstringContact UUID.
created_dtstringContact creation date and time.
updated_dtstringContact update date and time.
list_uuidstringList UUID a contact belongs to.
first_namestringContact’s first name.
last_namestringContact’s last name.
second_namestringContact’s second name.
nick_namestringContact’s nick name.
genderstringGender of a contact.
birthdaystringBirthday of a contact.
salutationstringSalutation.
titlestringTitle.
languagestringLanguage.
nationalitystringNationality.
mobilestringMobile number.
opt_statusstringContact’s opt status. Possible values: in, out.
opt_status_webpushstringContact’s Webpush opt status. Possible values: in, out.
emailstringEmail.
phonestringPhone number.
addressstringAddress.
zipstringPostal code.
citystringCity.
regionstringRegion.
countrystringCountry.
b_mobilestringBusiness mobile number.
b_emailstringBusiness email.
b_phonestringBusiness phone number.
b_addressstringBusiness address.
b_zipstringBusiness address postal code.
b_citystringBusiness address city.
b_regionstringBusiness address region.
b_countrystringBusiness address country.
b_job_titlestringJob title.
b_departmentstringDepartment.
b_reception_codestringReception code.
channel_telegram_identifierstringChannel telegram identifier.
channel_telegram_opt_statusstringTelegram channel status. Possible values: in, out.
channel_telegram_dataobjectChannel telegram data.
channelsarrayAn array of Channel objects.

4.26 Contact Create #

ContactCreate object properties:

NameTypeDescription
list_uuid (required)stringList UUID.
first_namestringContact’s first name.
last_namestringContact’s last name.
second_namestringContact’s second name.
nick_namestringContact’s nick name.
genderstringGender of a contact.
birthdaystringBirthday of a contact.
salutationstringSalutation.
titlestringTitle.
languagestringLanguage.
nationalitystringNationality.
mobilestringMobile number.
opt_statusstringOpt status. Possible values: in, out, none.
emailstringEmail.
phonestringPhone number.
addressstringAddress.
zipstringPostal code.
citystringCity.
regionstringRegion.
countrystringCountry.
b_mobilestringBusiness mobile number.
b_emailstringBusiness email.
b_phonestringBusiness phone number.
b_addressstringBusiness address.
b_zipstringBusiness address postal code.
b_citystringBusiness address city.
b_regionstringBusiness address region.
b_countrystringBusiness address country.
b_job_titlestringJob title.
b_departmentstringDepartment.
b_reception_codestringReception code.
channel_telegram_identifierstringChannel telegram identifier.
channel_telegram_opt_statusstringTelegram channel status. Possible values: in, out.
channel_telegram_dataobjectChannel telegram data.

4.27 Contact Update #

ContactUpdate object properties:

NameTypeDescription
list_uuid (required)stringList UUID.
first_namestringContact’s first name.
last_namestringContact’s last name.
second_namestringContact’s second name.
nick_namestringContact’s nick name.
genderstringGender of a contact.
birthdaystringBirthday of a contact.
salutationstringSalutation.
titlestringTitle.
languagestringLanguage.
nationalitystringNationality.
mobilestringMobile number.
opt_statusstringContact’s opt status. Possible values: in, out.
emailstringEmail.
phonestringPhone number.
addressstringAddress.
zipstringPostal code.
citystringCity.
regionstringRegion.
countrystringCountry.
b_mobilestringBusiness mobile number.
b_emailstringBusiness email.
b_phonestringBusiness phone number.
b_addressstringBusiness address.
b_zipstringBusiness address postal code.
b_citystringBusiness address city.
b_regionstringBusiness address region.
b_countrystringBusiness address country.
b_job_titlestringJob title.
b_departmentstringDepartment.
b_reception_codestringReception code.
channel_telegram_identifierstringChannel telegram identifier.
channel_telegram_opt_statusstringTelegram channel status. Possible values: in, out.
channel_telegram_dataobjectChannel telegram data.

4.28 Contact Import #

ContactImport object properties:

NameTypeDescription
first_namestringContact’s first name.
last_namestringContact’s last name.
second_namestringContact’s second name.
nick_namestringContact’s nick name.
genderstringGender of a contact.
birthdaystringBirthday of a contact.
salutationstringSalutation.
titlestringTitle.
languagestringLanguage.
nationalitystringNationality.
mobilestringMobile number.
emailstringEmail.
phonestringPhone number.
addressstringAddress.
zipstringPostal code.
citystringCity.
regionstringRegion.
countrystringCountry.
b_mobilestringBusiness mobile number.
b_emailstringBusiness email.
b_phonestringBusiness phone number.
b_addressstringBusiness address.
b_zipstringBusiness address postal code.
b_citystringBusiness address city.
b_regionstringBusiness address region.
b_countrystringBusiness address country.
b_job_titlestringJob title.
b_departmentstringDepartment.
b_reception_codestringReception code.

4.29 Contact Opt Status #

ContactOptStatus object properties:

NameTypeDescription
opt_status (required)stringContact’s opt status. Possible values: in, out.
opt_status_webpushstringContact’s webpush opt status. Possible values: in, out.
channel_telegram_identifierstringChannel telegram identifier.
channel_telegram_opt_statusstringContact’s telegram opt status. Possible values: in, out.

4.30 Contacts Collection #

ContactsCollection object properties:

NameTypeDescription
data (required)arrayAn array of Contact objects.
meta (required)objectCollectionMeta object.

4.31 Contact Create Collection #

ContactCreateCollection object properties:

NameTypeDescription
data (required)arrayAn array of ContactCreate objects.
meta (required)objectCollectionMeta object.

4.32 Import Response #

ImportResponse object properties:

NameTypeDescription
createdintegerNumber of created contacts after an import.
deletedintegerNumber of deleted contacts after an import.
invalidintegerNumber of invalid contacts after an import.
updatedintegerNumber of updated contacts after an import.
skippedintegerNumber of skipped contacts after an import.
subscribedintegerNumber of subscribed contacts after an import.
unsubscribedintegerNumber of unsubscribed contacts after an import.
optedinintegerNumber of opted-in contacts after an import.
optedoutintegerNumber of opted-out contacts after an import.
errorsarrayAn array of ImportErrorRecord objects.

4.33 Import Error Record #

ImportErrorRecord object properties:

NameTypeDescription
contactobjectContact object
errorsarrayAn array of ErrorItem objects.
JSON Example #

4.34 Custom Fields Collection #

CustomFieldsCollection object properties:

NameTypeDescription
data (required)arrayAn array of CustomField objects.
meta (required)objectCollectionMeta object.

4.35 Custom Field #

CustomField object properties:

NameTypeDescription
display_name (required)stringDisplayed name of a custom field.
field_type (required)stringCustom field type.
field_namestringCustom field name.
mandatory (required)stringIf custom field is mandatory. Possible values: no, yes.
order_num (required)integerField order number.
configobjectCustom field config data.
identifier (required)stringPossible values: no, yes.

4.36 Segmentation Group Collection #

SegmentationGroupCollection object properties:

NameTypeDescription
data (required)arrayAn array of SegmentationGroup objects.
meta (required)objectCollectionMeta object.

4.37 Segmentation Group #

SegmentationGroup object properties:

NameTypeDescription
uuidstringSegmentation group UUID.
name (required)stringSegmentation group name.
data (required)stringSegmentation group data.

4.38 Segmentation Set Collection #

SegmentationSetCollection object properties:

NameTypeDescription
data (required)arrayAn array of SegmentationSet objects.
meta (required)objectCollectionMeta object.

4.39 Segmentation Set #

SegmentationSet object properties:

NameTypeDescription
uuidstringSegmentation set UUID.
name (required)stringSegmentation set name.
data (required)stringSegmentation name data.

4.40 Interests Collection #

InterestsCollection object properties:

NameTypeDescription
data (required)arrayAn array of Interest objects.
meta (required)objectCollectionMeta object.

4.41 Interest #

Interest object properties:

NameTypeDescription
uuidstringInterest UUID.
parent_idintegerParent ID.
service_idintegerBusiness Messenger account ID.
name (required)stringInterest name.
statusstringInterest status.
created_dtstringInterest date and time of creation.
updated_dtstringInterest update date and time.
levelintegerLevel of interest.
descriptionstringDescription of an interest.
order_num (required)integerInterest order number.

4.42 Interest Member Create #

InterestMemberCreate object properties:

NameTypeDescription
statusstringInterest member status. Possible values: subscribed, unsubscribed.
interest_uuidstringInterest UUID.
contact_uuidstringContact UUID.

4.43 Interest Member #

InterestMember object properties:

NameTypeDescription
uuidstringInterest member UUID.
status (required)stringInterest member status.
interest_uuid (required)stringInterest UUID.
contact_uuid (required)stringContact UUID.
JSON Example #

4.44 Interest Members Collection #

InterestMembersCollection object properties:

NameTypeDescription
data (required)arrayAn array of InterestMember objects.
meta (required)objectCollectionMeta object.

4.45 Error #

Error object properties:

NameTypeDescription
code (required)stringError code.
message (required)stringError message.
descriptionstringDescription.
itemsarrayAn array of ErrorItem objects.

4.46 Error Item #

ErrorItem object properties:

NameTypeDescription
name (required)stringError item name.
message (required)stringError item message.
descriptionstringDescription.
JSON Example #

4.47 Collection Meta #

CollectionMeta object properties:

NameTypeDescription
pagination (required)objectCollectionMetaPagination object.

4.48 Collection Meta Pagination #

CollectionMetaPagination object properties:

NameTypeDescription
total (required)integerTotal number of rows.
count (required)integerA number of rows in the current page.
perPage (required)integerThe maximum rows per page.
currentPage (required)integerThe current page number.
totalPages (required)integerTotal number of pages.
links (required)objectCollectionMetaPaginationLinks object.

CollectionMetaPaginationLinks object properties:

NameTypeDescription
firststringLink to the first page.
laststringLink to the last page.
prevstringLink to the previous page.
nextstringLink to the next page.
JSON Example #