Post
/info/segment
Used to get information on a single segment.
For more information on segments review our segmentation guide.
Body parameters
object
apptoken
string Required
Your App token
id
integer (int32) Required
ID of the segment
Responses
200
200
Result
{
"success": "True",
"code": "200",
"model": {
"id": "SEGMENT_ID",
"project_id": "PROJECT_ID",
"title": "SEGMENT TITLE",
"conditions": {
"0": {
"0": [
"user_id",
"is set",
"0"
],
"operator": "AND"
},
"operator": "AND"
}
}
}object
success
boolean
Defaulttrue
ExampleTrue
code
integer
Default0
Example200
model
object
id
string
ExampleSEGMENT_ID
project_id
string
ExamplePROJECT_ID
title
string
ExampleSEGMENT TITLE
conditions
object
400
400
Result
{
"success": "False",
"code": "400",
"message": "General error information",
"errors": [
{
"text": [
"Detailed information about the specific error"
]
}
]
}object
success
boolean
Defaulttrue
ExampleFalse
code
integer
Default0
Example400
message
string
ExampleGeneral error information
errors
Array of object
object
text
Array of string
string
404
404
Result
{
"success": "False",
"code": "404",
"message": "Not Found"
}object
success
boolean
Defaulttrue
ExampleFalse
code
integer
Default0
Example404
message
string
ExampleNot Found