Segment API
Last updated
Last updated
Returns the list of segments for the user
https://api.commander1.com/api/dms/segmentation/segments
Response formats | javascript (JSONP) |
---|---|
NAME | REQUIREMENT | EXAMPLE VALUES | DESCRIPTION |
---|---|---|---|
GET
https://api.commander1.com/api/dms/segmentation/segments?site=1234&callback=tC_funcEngage
Returns the list of segments created in Engage UIX
https://api.commander1.com/api/dms/segmentation/segments/list
GET
https://api.commander1.com/api/dms/segmentation/segments/list?site=1234&token=WvNIX8955cnZ7WF0f632s0Wb99Ql3rtA
Response formats | JSON |
---|---|
NAME | REQUIREMENT | EXAMPLE VALUES | DESCRIPTION |
---|---|---|---|
Requires authentication?
No if tcid is not set, token if tcid is set
site
\d+
1234
Id of the site to query detail for
tcid (optional)
\d+
1234
Id of the tcid (if cookie is disable)
token (optional)
[a-zA-Z0-9]*
WvNIX8955cnZ7WF0f632s0Wb99Ql3rtA
Security token (if tcid is set)
callback
\w+
do_something
javascript callback method for JSONP
Requires authentication?
Yes (token)
site
d+
1234
Id of the site to query detail for
token
[a-zA-Z0-9]*
WvNIX8955cnZ7WF0f632s0Wb99Ql3rtA
Security token