> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quickblox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Subscriptions

> Retrieve subscriptions for the device that is specified in the authorization token.

#### Headers

<ParamField header="QB-Token" type="string" required> A user or application session token. See [Authentication](/reference/authentication) page to learn more about session tokens. Must be used either QB-Token or Authorization. </ParamField>

#### Responses

<AccordionGroup>
  <Accordion title="200">
    A successful response.

    <Expandable title="array of objects">
      <ResponseField name="subscription" type="object">
        <Expandable title="properties">
          <ResponseField name="id" type="integer" />

          <ResponseField name="device" type="object">
            <Expandable title="properties">
              <ResponseField name="udid" type="string" />

              <ResponseField name="client_identification_sequence" type="string" />

              <ResponseField name="platform" type="object">
                <Expandable title="properties">
                  <ResponseField name="name" type="string" />
                </Expandable>
              </ResponseField>

              <ResponseField name="bundle_identifier" type="string" />
            </Expandable>
          </ResponseField>

          <ResponseField name="notification_channel" type="object">
            <Expandable title="notification_channel">
              <ResponseField name="name" type="string" />
            </Expandable>
          </ResponseField>
        </Expandable>
      </ResponseField>
    </Expandable>
  </Accordion>

  <Accordion title="422">
    An error response
  </Accordion>
</AccordionGroup>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET \
  -H "QB-Token: 93d9dd94876d71dd39b56452cf28d80555012bba" \
  https://api.quickblox.com/subscriptions.json
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "subscription": {
        "id": 59715257,
        "device": {
          "udid": "2343af3433aa3a4fsv",
          "client_identification_sequence": "1054929587f29c856fa0137f634cc0a5ec77901f4baaf2f3c1785d05ae114455",
          "platform": {
            "name": "ios"
          },
          "bundle_identifier": "com.quickblox.myawesomeapp"
        },
        "notification_channel": {
          "name": "apns"
        }
      }
    },
    {
      "subscription": {
        "id": 59715699,
        "device": {
          "udid": "111111",
          "client_identification_sequence": "1054929587f29c856fa0137f634cc0a5ec77901f4baaf2f3c1785d05ae114455",
          "platform": {
            "name": "ios"
          },
          "bundle_identifier": "test.app"
        },
        "notification_channel": {
          "name": "apns"
        }
      }
    },
    {
      "subscription": {
        "id": 59725669,
        "device": {
          "udid": "111111",
          "client_identification_sequence": "cw_edFOFLQc:APA91bGAeEwM0OddqErs-iD-s1ayCxzlF6HDwzzsZ6PYNJdHIRs0hkikNwFWAY1ImcHcO2Hy89kNyU4bB_TsvFwLGz2pPK05mIRe1bGOTvTNE5i6k0NUDuEIdF6FeQQvXUzVwLr52uk-",
          "platform": {
            "name": "android"
          },
          "bundle_identifier": "test.app"
        },
        "notification_channel": {
          "name": "gcm"
        }
      }
    },
    {
      "subscription": {
        "id": 59725685,
        "device": {
          "udid": null,
          "client_identification_sequence": null,
          "platform": {
            "name": null
          },
          "bundle_identifier": null
        },
        "notification_channel": {
          "name": "email"
        }
      }
    }
  ]
  ```

  ```json 400 theme={null}
  {}
  ```
</ResponseExample>
