Hoppa till innehållet

Not-tracked list

List the not-tracked addresses

GET/v1/tracking-opt-outs

TypeScript sendora.trackingOptOuts.list(query)

Python sendora.tracking_opt_outs.list(limit=..., after=...)

PHP $sendora->trackingOptOuts->list(limit: $limit, after: $after)

Java sendora.trackingOptOuts().list(query)

Key sk_… a server key

Addresses the server never tracks, on any of its streams, newest first, one page at a time.

Parameters

  • limitin queryinteger (1 to 1000)

    Page size, 1 to 1000.

  • afterin querystring (uuid)

    The next value of the previous page.

Responses

Every field of a response is always present. A field that can be null says so in its type.

200A page of the server's not-tracked list, newest first.

Example

{
  "trackingOptOuts": [
    {
      "address": "anna@example.com",
      "source": "manual",
      "messageId": null,
      "createdAt": "2026-11-06T12:00:00.000Z"
    }
  ],
  "next": null
}
  • trackingOptOutsarray of object
    • addressstring or null

      The recipient, lower-cased. Null when only a keyed hash is left: after an erasure, or when the recipient asked from mail that had left the log.

    • source"manual" | "recipient"

      manual: added through the API or the dashboard. recipient: the recipient asked for it, so remove it only after new consent.

    • messageIdstring (uuid) or null

      The message that a recipient asked from. Null on a manual entry, and once that message or the address has gone.

    • createdAtstring (date-time)
  • nextstring (uuid) or null

    Pass as after for the next page; null on the last.

Errors

Every error answers error, the code, and message, a sentence for a person. A code that adds fields is shown in full below the table.

CodeStatusMeaning
invalid_request400The body, the query or a header does not match what the route takes.
unauthorized401The key is missing, malformed or revoked.
wrong_token_kind403The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes.
not_for_connections403A connected app called an operation that no tool of the MCP server calls. An API key can.
read_only_connection403A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting.
test_server_only403A connected app may create a secret, or do what cannot be undone, on a test server only.
  • WWW-Authenticateheader on 401"Bearer"

    Always Bearer: send the key as Authorization: Bearer <key>.

invalid_request

Example

{
  "error": "invalid_request",
  "message": "The request is invalid: to.0: Invalid email address",
  "issues": [
    {
      "path": "to.0",
      "message": "Invalid email address"
    }
  ]
}
  • issuesarray of object

    One entry per invalid field; absent when a header is wrong.

    • pathstringrequired

      The field, dotted, such as to.0.email; empty when the whole body is wrong.

    • messagestringrequired