GET
/
v4
/
tags
/
{tag_id}
/
subscribers
List subscribers for a tag
curl --request GET \
  --url https://api.kit.com/v4/tags/{tag_id}/subscribers \
  --header 'X-Kit-Api-Key: <api-key>'
{
  "subscribers": [
    {
      "id": 16638,
      "first_name": null,
      "email_address": "[email protected]",
      "state": "active",
      "created_at": "2023-02-17T11:43:55Z",
      "tagged_at": "2023-02-17T11:43:55Z",
      "fields": {
        "category": "One"
      }
    },
    {
      "id": 16637,
      "first_name": null,
      "email_address": "[email protected]",
      "state": "active",
      "created_at": "2023-02-17T11:43:55Z",
      "tagged_at": "2023-02-17T11:43:55Z",
      "fields": {
        "category": null
      }
    },
    {
      "id": 16636,
      "first_name": null,
      "email_address": "[email protected]",
      "state": "active",
      "created_at": "2023-02-17T11:43:55Z",
      "tagged_at": "2023-02-17T11:43:55Z",
      "fields": {
        "category": null
      }
    }
  ],
  "pagination": {
    "has_previous_page": false,
    "has_next_page": false,
    "start_cursor": "WyIyMDIzLTAyLTE3VDExOjQzOjU1LjAwMFoiLDEyODZd",
    "end_cursor": "WyIyMDIzLTAyLTE3VDExOjQzOjU1LjAwMFoiLDEyODRd",
    "per_page": 500
  }
}

Authorizations

X-Kit-Api-Key
string
header
required

Authenticate API requests via an API Key

Path Parameters

tag_id
integer
required

Query Parameters

after
any

To fetch next page of results, use ?after=<end_cursor>

before
any

To fetch previous page of results, use ?before=<start_cursor>

created_after
any

Filter subscribers who have been created after this date (format yyyy-mm-dd)

created_before
any

Filter subscribers who have been created before this date (format yyyy-mm-dd)

include_total_count
boolean

To include the total count of records in the response, use true. For large collections, expect a slightly slower response.

per_page
any

Number of results per page. Default 500, maximum 1000.

status
enum<string>

Filter subscribers who have this status (active, inactive, bounced, complained, cancelled or all). Defaults to active.

Available options:
active,
inactive,
bounced,
complained,
cancelled,
all
tagged_after
any

Filter subscribers who have been tagged after this date (format yyyy-mm-dd)

tagged_before
any

Filter subscribers who have been tagged before this date (format yyyy-mm-dd)

Response

200
application/json

Returns a paginated list of subscribers for the specified tag

The response is of type object.