Documentation

GraphQL API: Listener

Get a listener’s shuffle station

Shuffle station is added automatically as soon as the listener creates their first station. By default, it uses all of your stations as candidates for the mix. It is added to a listener’s collection.

Query



{
  collection (types: [ST], pagination: { limit: 3, sortOrder: DESC }) {
    items {
      id
      ... on Station {
        name
      }
    }
  }
}

* Add your OAuth bearer token to the Authorization header



curl 'https://ce.pandora.com/api/v1/graphql/graphql' \
  -H 'Authorization: Bearer ' \
  -H 'Content-Type: application/json' \
  -d '{"operationName":null,"variables":{},"query":"{  collection(types: [ST], pagination: {limit: 3, sortOrder: DESC}) { items { id ... on Station { name } }  }}"}'

Response



{
  "data": {
    "collection": {
      "items": [
        {
          "id": "ST:0:4283176362312435732",
          "name": "adam.wiggs's QuickMix"
        },
        {
          "id": "ST:0:4305443598783711252",
          "name": "Today's Indie Radio"
        },
        {
          "id": "ST:0:4326813985954039828",
          "name": "The Smiths Radio"
        }
      ]
    }
  }
}