Skip to main content
POST
Stage past jobs or customers for a reactivation campaign

Authorizations

Authorization
string
header
required

Organization-scoped Mailr API key. Header: Authorization: Bearer ak_….

Headers

Idempotency-Key
string

Optional replay key. A retry carrying a key already seen returns the existing batch and its stored counts (200, not 201) without re-geocoding or spending a daily slot — or 409 while the original request is still processing. Over 255 chars → 422. Keyless imports never dedup.

Maximum string length: 255

Body

application/json
source
enum<string>
required
Available options:
jobs,
customers
rows
object[]
required
Required array length: 1 - 500 elements

Response

Replay of a prior Idempotency-Key — the existing batch and its stored counts are returned (nothing new was created).

import_id
string<uuid>
required
staged
integer
required

Rows geocoded and staged.

skipped_no_address
integer
required

Rows with no address.

skipped_geocode_failed
integer
required

Rows whose address could not be geocoded.