Summary
This API request returns a list of all segments within a site on UserIQ
Resource URL
https://api.useriq.com/api/1.0/segment/segment_list
Resource Information
Request Type: GET
Response Format: JSON
Headers
- useriq-api-key (required): Your valid API key generated from the Site settings page
Parameters
- page - The current page of results you're retrieving. DEFAULT 1
Example cURL Request:
curl \
-H "Content-type: application/json" \
-H "useriq-api-key: 572d7372829a3211a73d9c2cb790ffe3" \
https://api.useriq.com/api/1.0/segment/segment_list
Example Result
{
"segments", [{ ... }, ...],
"current_page":1,
"number_of_pages":27,
"total_count":268
}
Response Codes
200: OK. Request processed successfully
400: Bad Request. API request could not be understood by the server.
401: Unauthorized. Invalid API access token.
Comments
0 comments
Please sign in to leave a comment.