Zum Inhalt springen
Esc
↑↓navigieren↵öffnen⌘Jvorschau

Remove suppressions in bulk

POST/suppressions/batch/remove
Autorisierung
AuthorizationBearer-Token · headererforderlich

A BillionSend API key (bs_…).

Request-Body
erforderlichapplication/json
emailsstring<email>[]

Addresses to unblock, up to 1000

min. 1 Elemente · max. 1000 Elemente
idsstring<uuid>[]

Suppression ids to remove, up to 1000

min. 1 Elemente · max. 1000 Elemente
Antworten
200

Exactly one of emails or ids (up to 1000 each); lists only the rows actually removed. Rows whose address was erased (GDPR/LGPD) keep blocking sends but are hidden from the list and from lookups by email; they are reachable by id only.

dataRemoveSuppressionResponse[]erforderlich
Eigenschaften anzeigen
Array von RemoveSuppressionResponse
objectstringerforderlich
Erlaubt:suppression
idstring<uuid>erforderlich
deletedbooleanerforderlich
Erlaubt:true
401

Missing, malformed, unknown or revoked API key

statusCodenumbererforderlich
namestringerforderlich
messagestringerforderlich
422

Validation error

statusCodenumbererforderlich
namestringerforderlich
messagestringerforderlich
429

Over the rate limit (rate_limit_exceeded, with Retry-After)

statusCodenumbererforderlich
namestringerforderlich
messagestringerforderlich
Ausprobieren
Server
Autorisierung
Bodyapplication/json
Anfrage
curl -X POST 'https://api.billionsend.com/suppressions/batch/remove' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "emails": [
    "user@example.com"
  ],
  "ids": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ]
}'
Antwort
{
  "data": [
    {
      "object": "suppression",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "deleted": true
    }
  ]
}

War diese Seite hilfreich?