Skip to content

Start a subscriber export

On this page
POST/v1/subscriber-exportscreate_subscriber_export
Riskexport
AuthenticationAPI key or OAuth access token
Scopessubscribers:export
Idempotencysupported: send an Idempotency-Key header to make retries safe
Dry runnot applicable
Success status202
Response typeapplication/json

What it does#

  • Use when: You need a CSV of some or all readers; it builds in the background.
  • Do not use when: you sync changes (call list_subscribers with updated_after) or only need counts (call estimate_audience).
  • Side effects: Queues a background build that counts against your limits; Writes an audit entry.
  • Reversible: Yes, call cancel_subscriber_export while it is queued or running.
  • Required scope: subscribers:export.
  • Idempotency: supported (Idempotency-Key header).
  • Typical next step: poll get_subscriber_export until state is ready, then call create_subscriber_export_download.

Scopes#

  • subscribers:export: Download the whole subscriber list as a CSV file.

Side effects#

  • Queues a background build that counts against your limits
  • Writes an audit entry

Request#

Path parameters#

None.

Query parameters#

None.

Body (application/json)#

FieldTypeRequiredDescription
filterobjectnoWhat to export. Omit for every confirmed reader.
filter.statusesarray of one of "confirmed", "pending", "unsubscribed", "suppressed"noDefault: confirmed only. All four needs the owner's fresh sign-in in the dashboard.
filter.listsarray of string, max 20 itemsnoUp to 20 list ids; a reader in any of them matches.
filter.tagsarray of string, max 20 itemsnoUp to 20 tag ids.
filter.tag_matchone of "any", "all"noWhether a reader needs any of the tags or all of them. Default any.
filter.sourcesarray of string, max 12 itemsnoWhere the reader came from, such as import, signup, manual or api.
filter.confirmed_betweenobjectnoUTC dates; matches readers who confirmed in the range.
filter.confirmed_between.fromstring or nullno
filter.confirmed_between.tostring or nullno
filter.created_betweenobjectnoUTC dates; matches readers added in the range.
filter.created_between.fromstring or nullno
filter.created_between.tostring or nullno
filter.columnsone of "standard", "with_consent"nostandard: email, first name, status, source, lists, tags, confirmed at. with_consent adds the consent wording and version.
build_newbooleannotrue skips reuse of an identical export built in the last 15 minutes and counts against your limits.

Response#

FieldTypeRequiredDescription
idstringyes
stateone of "queued", "running", "ready", "failed", "expired", "canceled"yes
reusedbooleanyestrue when an identical export built in the last 15 minutes was returned instead of building a new one.
filterobjectyesThe normalized filter this export was built from.
columnsone of "standard", "with_consent"yes
estimated_rowsinteger, min -9007199254740991, max 9007199254740991 or nullyes
row_countinteger, min -9007199254740991, max 9007199254740991 or nullyesSet when the export is ready.
created_atstringyes
finished_atstring or nullyes
expires_atstring or nullyesThe export and its file are deleted at this time.
downloads_remaininginteger, min 0, max 9007199254740991yes
problemobject or nullyesWhy a build failed, in words that name no reader.
poll_after_secondsinteger, max 9007199254740991 or nullyes

Examples#

confirmed readers who signed up#

Request:

curl -X POST 'https://api.seemly.com/v1/subscriber-exports' \
  -H "Authorization: Bearer $SEEMLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "filter": {
    "sources": [
      "signup"
    ]
  }
}'

Response: 202:

JSON
{
  "id": "exp_0123456789abcdefghjkmnpq",
  "state": "queued",
  "reused": false,
  "filter": {
    "statuses": [
      "confirmed"
    ],
    "lists": [],
    "tags": [],
    "tag_match": "any",
    "sources": [],
    "confirmed_between": {
      "from": null,
      "to": null
    },
    "created_between": {
      "from": null,
      "to": null
    },
    "columns": "standard"
  },
  "columns": "standard",
  "estimated_rows": null,
  "row_count": null,
  "created_at": "2026-02-01T10:00:00Z",
  "finished_at": null,
  "expires_at": null,
  "downloads_remaining": 5,
  "problem": null,
  "poll_after_seconds": 5
}

Errors#

Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.

Typical next steps#

View this page as MarkdownReport a problem with this page

Type to search. Try a method and path, an operation name or an error code.