Skip to main content
POST
Import suppression entries
Adds a list of up to 1,000 emails, domains and phone numbers in one call, for example an unsubscribe export from another tool.

Handling the response

imported counts every row now on the list, including values that were already there. skipped lists rows that were empty once normalized, such as a phone value with no digits.

Good to know

  • Values already on the list are left exactly as they are, so replaying the same file is safe and does not change their reason.
  • Each value is normalized and matched the same way as Add a suppression entry.
  • For more than 1,000 values, send batches of 1,000.

Authorizations

x-api-key
string
header
required

Team-scoped API key generated in the Salesfinity dashboard under Settings → Connections → API & Webhooks. A missing or invalid key returns HTTP 403.

Headers

Idempotency-Key
string

Makes this write safe to retry. Send a unique value, such as a UUID, and send the same value again when you retry the same request. A retry with the same key and the same request (method, path including the query string, and JSON body) returns the original successful response without acting twice. The same key with a different body or path returns 409, and so does a retry while the first request is still running; that one is safe to repeat after a moment. A request that fails frees its key, so a retry runs the write again: after a 5xx on a create, confirm with a GET before retrying. Keys are kept for 24 hours and are scoped to your team.

Body

application/json
user_id
string
required

The team member this call acts as. Must be an active member of the team the API key belongs to. Recorded on each new entry.

Example:

"507f1f77bcf86cd799439011"

entries
object[]
required

1 to 1,000 entries. A value already on the list is left unchanged.

Maximum array length: 1000

Response

How many rows are on the list, and which were skipped.

imported
integer
required

Rows now on the list, including values that were already there.

skipped
object[]
required

Rows not added, with the reason.