{"_id":"5b1f2cbdfd653400031d8d65","__v":3,"category":{"_id":"5b1f2cbdfd653400031d8d44","__v":20,"pages":["5b1f2cbdfd653400031d8d59","55ed079b0d968e2100de8339","5b1f2cbdfd653400031d8d5a","55ed0bb078319821005005cf","5b1f2cbdfd653400031d8d5b","5b1f2cbdfd653400031d8d5c","5b1f2cbdfd653400031d8d5d","5b1f2cbdfd653400031d8d5e","5b1f2cbdfd653400031d8d5f","5b1f2cbdfd653400031d8d60","5b1f2cbdfd653400031d8d61","5b1f2cbdfd653400031d8d62","5b1f2cbdfd653400031d8d63","5b1f2cbdfd653400031d8d64","5b1f2cbdfd653400031d8d65","5b1f2cbdfd653400031d8d66","5b1f2cbdfd653400031d8d67","5b1f2cbdfd653400031d8d6f","5b1f2cbdfd653400031d8d70","5b1f2cbdfd653400031d8d78"],"project":"55e67aaa9cc7c62b00c4a1ea","version":"5b1f2cbdfd653400031d8d9f","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-09-02T04:30:21.948Z","from_sync":false,"order":5,"slug":"rest-api","title":"REST API"},"project":"55e67aaa9cc7c62b00c4a1ea","parentDoc":null,"user":"55d2bd8e2463351700f67dd7","version":{"_id":"5b1f2cbdfd653400031d8d9f","project":"55e67aaa9cc7c62b00c4a1ea","__v":0,"forked_from":"55e67aab9cc7c62b00c4a1ed","createdAt":"2015-09-02T04:27:23.612Z","releaseDate":"2015-09-02T04:27:23.612Z","categories":["5b1f2cbdfd653400031d8d42","5b1f2cbdfd653400031d8d43","5b1f2cbdfd653400031d8d44","5b1f2cbdfd653400031d8d45","5b1f2cbdfd653400031d8d46","561c61b4ad272c0d00a892df","586c014c0abf1d0f000d04d4","58991d2ad207df0f0002186b","5b1f2cbdfd653400031d8d47","5b1f2cbdfd653400031d8d48","5af0fe494ca2730003cbc98a","5af0fe55ec80af0003804ca2"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"rebrand","version_clean":"1.3.0","version":"1.3"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-07T04:56:34.745Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"name":"","code":"curl -X GET -u :API_KEY https://api.carnivalmobile.com/v5/audiences","language":"curl"}]},"method":"get","results":{"codes":[{"name":"","status":200,"language":"json","code":"{\n    \"audiences\": [\n        {\n            \"name\": \"Testing phone\",\n            \"created_at\": \"2014-06-27T04:21:03.762Z\",\n            \"updated_at\": \"2015-03-19T02:36:33.932Z\",\n            \"id\": \"XYZ\",\n            \"device_count\": 1\n        },\n        {\n            \"name\": \"Auckland CBD\",\n            \"created_at\": \"2014-10-23T23:13:32.747Z\",\n            \"updated_at\": \"2015-05-04T03:22:16.501Z\",\n            \"id\": \"ABC\",\n            \"device_count\": 10\n        }\n    ]\n}"},{"status":401,"language":"json","code":"{\n  \"error\":\"unauthorized\"\n}","name":""},{"status":403,"language":"json","code":"{\n  \"error\":\"your api client does not have the correct roles\"\n}"}]},"settings":"","auth":"required","params":[],"url":"/audiences"},"isReference":true,"order":11,"body":"","excerpt":"Returns a list of your audiences.","slug":"audiences","type":"endpoint","title":"Audiences"}

getAudiences

Returns a list of your audiences.

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}