Get segment model for specified id
This endpoint retrieves the segment object for the specified segment ID.
description: "This endpoint retrieves the segment object for the specified segment ID."
Get segment model for specified id
This endpoint retrieves the segment object for the specified segment ID.
Authorizations
AuthorizationstringRequired
For accessing the API a valid JWT must be passed in all queries in the 'Authorization' header. The following syntax must be used in the 'Authorization' header. (Bearer xxx.yyy.zzz)
Path parameters
idstringRequired
Responses
200
The segment object for requested id.
application/json
400
There was a problem with input.
application/json
401
Login failed or token not valid.
application/json
403
Login failed or token not valid.
application/json
404
Segment for specified id does not exist.
application/json
default
An unexpected error response.
application/json
get/v1/segments/{id}
GET /v1/segments/{id} HTTP/1.1
Host: customer.<env>.citrusad.com
Authorization: YOUR_API_KEY
Accept: */*
{
"segment": {
"category": [
"text"
],
"description": "text",
"id": "text",
"name": "text",
"retailerTeamId": "text",
"segmentId": "text",
"sourceId": "text"
}
}
