post https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/segments/$(segmentid)
This API is used to add users to a segment.
Request
The Add Users to a segment request is specified as follows:
Request Headers
Request Header | Description |
---|---|
secretKey | Secret key generated in backend application. |
content-type | application/json |
Request Example
["2315","2365","2335","5894"]
Response Example
{
"trans_id" : "f2cc5fca-715e-4a86-b457-574bb7ba48d4",
"description" : "Failed",
"code" : 1,
"success_users" : ["2315","2335"],
"fail_users" : ["5894","2365"]
}