Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

List a subscriber import's failed rows

GET
/api/v3/contacts/imports/{importUniqueId}/errors
curl --request GET \
--url 'https://api.tryletterhead.com/api/v3/contacts/imports/example/errors?api=true' \
--header 'Authorization: Bearer <token>'

Returns the rows a subscriber import couldn’t process — the address that failed and why.

This is a company-level (v3) read. Authenticate with a company API key as a Bearer token.

importUniqueId
required
string

The import’s unique identifier, from List subscriber imports.

api
required
boolean

Required. Set to true.

page
integer

1-based page number. Minimum 1. Defaults to 1.

limit
integer

Rows per page. Minimum 1, maximum 100. Defaults to 25.

200 OK

Media type application/json
object
items
Array<object>
object
email
string
code

A stable reason code, for example missing_email or upsert_failed.

string
description
string
nullable
message
string
total
integer
Example
{
"items": [
{
"email": "not-an-email",
"code": "missing_email",
"description": "Row 42 had no usable email address."
}
],
"message": "Subscriber import errors retrieved.",
"total": 1
}

Still can’t find what you need? Contact support.