GET Audience

Returns details about a given Audienc

Endpoint URL: https://api.carnivalmobile.com/v6/audiences/:audience_id


Parameters

Name Type Required Definition
audience_id string The ID of the Audience

Examples

Copy
curl -X GET -u :$API_KEY -H 'Accept: application/json' https://api.carnivalmobile.com/v6/audiences/$audience_id

Result Format

200 OK

Copy
{
    "audience": {
        "name": "Wellington CBD",
        "created_at": "2014-10-23T23:13:32.747Z",
        "updated_at": "2015-05-04T03:22:16.501Z",
        "id": "ABC",
        "test": false,
        "device_count": 10
    }
}

401 Unauthorized

Copy
{
  "error":"unauthorized"}

403 Forbidden

Copy
{
  "error":"your api client does not have the correct roles"}