This API adds or removes a list of users from a custom segment (cohort) in MoEngage.
Documentation Index
Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
uid) provided in the request. This API does not create new users.uid) provided in the request payload.Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier 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 This field indicates the name of the partner whose cohort is being synced to MoEngage.
"6HNBXFm7ZS"
Contains the information about the cohort to be synced.
Success. This response is returned when the request is processed successfully.