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

# List subscribers



## OpenAPI

````yaml /api-reference/v4.json get /v4/subscribers
openapi: 3.0.3
info:
  title: Kit API
  version: '4.0'
servers:
  - url: https://api.kit.com
security: []
paths:
  /v4/subscribers:
    get:
      tags:
        - Subscribers
      summary: List subscribers
      parameters:
        - name: after
          description: To fetch next page of results, use `?after=<end_cursor>`
          in: query
          required: false
          schema:
            type: string
            nullable: true
        - name: before
          description: To fetch previous page of results, use `?before=<start_cursor>`
          in: query
          required: false
          schema:
            type: string
            nullable: true
        - name: created_after
          description: >-
            Filter subscribers who have been created after this date (format
            yyyy-mm-dd)
          in: query
          required: false
          schema:
            type: string
          example: '2023-01-17T11:43:55Z'
        - name: created_before
          description: >-
            Filter subscribers who have been created before this date (format
            yyyy-mm-dd)
          in: query
          required: false
          schema:
            type: string
          example: '2023-02-18T11:43:55Z'
        - name: email_address
          in: query
          required: false
          schema:
            type: string
          example: subscriber99@kit.dev,subscriber100@kit.dev,subscriber101@kit.dev
        - name: include
          in: query
          required: false
          schema:
            type: string
          example: attribution,tags,location
          description: >-
            Comma-separated list of additional fields to include on each
            subscriber. Valid options: `attribution`, `tags`, `location`,
            `canceled_at`. `canceled_at` may only be used together with
            `status=cancelled`.
        - name: include_total_count
          description: >-
            Set to `true` to include the `total_count` in the response. This
            option can cause slow responses; if paging through results, request
            it only on the first page and reuse the value for subsequent pages.
          in: query
          required: false
          schema:
            type: boolean
          example: false
        - name: per_page
          description: Number of results per page. Default 500, maximum 1000.
          in: query
          required: false
          schema:
            type: number
            nullable: true
          example: 10
        - name: sort_field
          in: query
          required: false
          schema:
            type: string
          example: cancelled_at
        - name: sort_order
          in: query
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
          example: asc
        - name: status
          description: >-
            Filter subscribers who have this status (`active`, `inactive`,
            `bounced`, `complained`, `cancelled` or `all`). Defaults to
            `active`.
          in: query
          required: false
          schema:
            type: string
            enum:
              - active
              - inactive
              - bounced
              - complained
              - cancelled
              - all
          example: bounced
        - name: updated_after
          description: >-
            Filter subscribers who have been updated after this date (format
            yyyy-mm-dd)
          in: query
          required: false
          schema:
            type: string
          example: '2023-01-17T11:43:55Z'
        - name: updated_before
          description: >-
            Filter subscribers who have been updated before this date (format
            yyyy-mm-dd)
          in: query
          required: false
          schema:
            type: string
          example: '2023-02-18T11:43:55Z'
      responses:
        '200':
          description: >-
            Returns a list of subscribers matching the sort and filter params,
            defaulting to active subscribers sorted in descending order by id
          content:
            application/json:
              schema:
                type: object
                properties:
                  subscribers:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        first_name:
                          type: string
                          nullable: true
                        email_address:
                          type: string
                        state:
                          type: string
                          enum:
                            - active
                            - cancelled
                            - bounced
                            - complained
                            - inactive
                        created_at:
                          type: string
                        fields:
                          type: object
                          properties:
                            category:
                              type: string
                          required:
                            - category
                        attribution:
                          type: object
                          description: Returned when `include` contains `attribution`.
                          nullable: true
                          properties:
                            referrer:
                              type: string
                              nullable: true
                            utm_source:
                              type: string
                              nullable: true
                            utm_medium:
                              type: string
                              nullable: true
                            utm_campaign:
                              type: string
                              nullable: true
                            utm_term:
                              type: string
                              nullable: true
                            utm_content:
                              type: string
                              nullable: true
                            source_type:
                              type: string
                              nullable: true
                            source_name:
                              type: string
                              nullable: true
                            source_mechanism:
                              type: string
                              nullable: true
                        tags:
                          type: array
                          description: Returned when `include` contains `tags`.
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                              name:
                                type: string
                        location:
                          type: object
                          description: Returned when `include` contains `location`.
                          nullable: true
                          properties:
                            city:
                              type: string
                              nullable: true
                            state:
                              type: string
                              nullable: true
                            country:
                              type: string
                              nullable: true
                            latitude:
                              type: number
                              nullable: true
                            longitude:
                              type: number
                              nullable: true
                        canceled_at:
                          type: string
                          format: date-time
                          nullable: true
                          description: >-
                            Returned when `include` contains `canceled_at`.
                            Requires `status=cancelled`.
                      required:
                        - id
                        - first_name
                        - email_address
                        - state
                        - created_at
                        - fields
                  pagination:
                    type: object
                    properties:
                      has_previous_page:
                        type: boolean
                      has_next_page:
                        type: boolean
                      start_cursor:
                        type: string
                      end_cursor:
                        type: string
                      per_page:
                        type: integer
                    required:
                      - has_previous_page
                      - has_next_page
                      - start_cursor
                      - end_cursor
                      - per_page
                required:
                  - subscribers
                  - pagination
              example:
                subscribers:
                  - id: 206
                    first_name: Alice
                    email_address: alice@convertkit.dev
                    state: active
                    created_at: '2023-01-27T11:43:55Z'
                    fields:
                      category: One
                    attribution:
                      referrer: https://example.com
                      utm_source: null
                      utm_medium: null
                      utm_campaign: null
                      utm_term: null
                      utm_content: null
                      source_type: null
                      source_name: null
                      source_mechanism: null
                    tags:
                      - id: 1
                        name: VIP
                    location:
                      city: Portland
                      state: OR
                      country: US
                      latitude: 45.5
                      longitude: -122.6
                pagination:
                  has_previous_page: false
                  has_next_page: false
                  start_cursor: WzIwNl0=
                  end_cursor: WzIwNl0=
                  per_page: 500
        '401':
          description: Returns a 401 if the token and/or account cannot be authenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: string
                required:
                  - errors
              example:
                errors:
                  - The access token is invalid
        '422':
          description: >-
            raises an error when sorting on cancelled_at without the cancelled
            status
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: string
                required:
                  - errors
              example:
                errors:
                  - >-
                    The status param must be `cancelled` if sort_field is
                    `cancelled_at`
      security:
        - API Key: []
        - OAuth2: []
components:
  securitySchemes:
    API Key:
      description: Authenticate API requests via an API Key
      type: apiKey
      in: header
      name: X-Kit-Api-Key
    OAuth2:
      description: Authenticate API requests via an OAuth token
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://api.kit.com/v4/oauth/authorize
          tokenUrl: https://api.kit.com/v4/oauth/token
          refreshUrl: https://api.kit.com/v4/oauth/token
          scopes:
            read: Read access to Kit API v4
            write: Write access to Kit API v4

````