Add or remove a list of users from a custom segment (cohort) in MoEngage.
Important: The Cohort Sync API only matches users already present in MoEngage based on the User ID (uid) provided in the request. This API does not create new users.
uid) provided in the request payload.Basic Authentication using your Workspace ID (from Settings -> Account -> APIs -> Workspace ID) as the username and the Data API Key (from Settings -> Account -> APIs -> API keys -> Data) as the password.
This is your MoEngage account's APP ID. You can find it at Settings -> Account -> APIs -> App ID.
The cohort details and the members to add or remove.
This field indicates whether users need to be added to the cohort or removed from it.
add_members, remove_members Contains the information about the cohort to be synced.
This field indicates the name of the partner whose cohort is being synced to MoEngage.
"6HNBXFm7ZS"
Success. This response is returned when the request is processed successfully.