Skip to content

Get a download link for a ready export

On this page
POST/v1/subscriber-exports/{export_id}/downloadcreate_subscriber_export_download
Riskexport
AuthenticationAPI key or OAuth access token
Scopessubscribers:export
Idempotencynatural: repeating the call gives the same result
Dry runnot applicable
Success status200
Response typeapplication/json

What it does#

  • Use when: An export is ready and you want the file; the link works for 2 minutes and each call counts as one of 5 downloads.
  • Do not use when: the export is not ready yet (call get_subscriber_export) or the key was made by a non-owner.
  • Side effects: Counts one download and writes an audit entry.
  • Reversible: No.
  • Required scope: subscribers:export.
  • Idempotency: safe to repeat (same result).
  • Typical next step: GET the url right away and store the file safely; it holds every matching reader's address.

Scopes#

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

Side effects#

  • Counts one download and writes an audit entry

Request#

Path parameters#

FieldTypeDescription
export_idstring

Query parameters#

None.

Response#

FieldTypeRequiredDescription
urlstringyesA link that works for 2 minutes. Fetch it with GET; it returns the CSV as an attachment.
expires_atstringyes
row_countinteger, min 0, max 9007199254740991yes
downloads_remaininginteger, min 0, max 9007199254740991yes

Examples#

Request:

curl -X POST 'https://api.seemly.com/v1/subscriber-exports/exp_0123456789abcdefghjkmnpq/download' \
  -H "Authorization: Bearer $SEEMLY_API_KEY"

Response: 200:

JSON
{
  "url": "https://edge.example.com/export-download?t=ed1.k1.payload.signature",
  "expires_at": "2026-02-01T10:02:00Z",
  "row_count": 1200,
  "downloads_remaining": 4
}

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.