---
title: "Retrieve subscriber subscriptions"
method: GET
path: "/v2/subscribers/{subscriberId}/subscriptions"
tags: ["Subscribers"]
---

# Retrieve subscriber subscriptions

`GET /v2/subscribers/{subscriberId}/subscriptions`

## Request

- Base URL: `https://api.notifly.io`
- URL: `https://api.notifly.io/v2/subscribers/{subscriberId}/subscriptions`
- Auth: API key in header `Authorization`

Retrieve subscriber's topic subscriptions by its unique key identifier **subscriberId**. 
    Checkout all available filters in the query section.

## Path parameters

- `subscriberId` string, required

## Query parameters

- `after` string
- `before` string
- `limit` number
- `orderDirection` 'ASC' | 'DESC'
- `orderBy` string
- `includeCursor` boolean
- `key` string
- `contextKeys` string[]

## Response `200`

OK

- object
  - `data` ListTopicSubscriptionsResponseDto
    - `data` TopicSubscriptionResponseDto[], required: List of returned Topic Subscriptions
      - `_id` string, required: The identifier of the subscription
      - `identifier` string, required: The identifier of the subscription
      - `createdAt` string, required: The date and time the subscription was created
      - `topic` TopicResponseDto, required
        - `_id` string, required: The identifier of the topic
        - `key` string, required: The unique key of the topic
        - `name` string: The name of the topic
        - `data` object: Additional custom data associated with the topic
        - `createdAt` string: The date the topic was created
        - `updatedAt` string: The date the topic was last updated
      - `subscriber` SubscriberDto, required
        - `_id` string, required: The identifier of the subscriber
        - `subscriberId` string, required: The external identifier of the subscriber
        - `avatar` string, nullable: The avatar URL of the subscriber
        - `firstName` string, nullable: The first name of the subscriber
        - `lastName` string, nullable: The last name of the subscriber
        - `email` string, nullable: The email of the subscriber
      - `contextKeys` string[]: Context keys that scope this subscription (e.g., tenant:org-a, project:proj-123)
      - `preferences` SubscriptionPreferenceDto[]: The preferences for workflows in this subscription
        - `subscriptionId` string, required: The unique identifier of the subscription
        - `workflow` WorkflowDto
          - `id` string, required: Unique identifier of the workflow
          - `identifier` string, required: Workflow identifier used for triggering
          - `name` string, required: Human-readable name of the workflow
          - `critical` boolean, required: Whether this workflow is marked as critical
          - `tags` string[]: Tags associated with the workflow
          - `data` object: Custom data associated with the workflow
          - `severity` 'high' | 'medium' | 'low' | 'none', required: Severity of the workflow
        - `enabled` boolean, required: Whether the preference is enabled
        - `condition` object: Optional JSON Logic condition evaluated against the trigger payload at fan-out time (for example, `{ "var": "payload.tier" }`)
    - `next` string, nullable, required: The cursor for the next page of results, or null if there are no more pages.
    - `previous` string, nullable, required: The cursor for the previous page of results, or null if this is the first page.
    - `totalCount` number, required: The total count of items (up to 50,000)
    - `totalCountCapped` boolean, required: Whether there are more than 50,000 results available

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `409`: Conflict
- `413`: Payload Too Large
- `414`: URI Too Long
- `415`: Unsupported Media Type
- `422`: Unprocessable Entity
- `429`: The client has sent too many requests in a given amount of time.
- `500`: Internal Server Error
- `503`: The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.

---

[API](https://skmtc.dev/notifly/apis/notifly-api.md) · [All operations](https://skmtc.dev/notifly/apis/notifly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/notifly/apis/notifly-api/revisions/af909b9e1e57?raw)
