Hoppa till innehållet

Not-tracked list

Remove a not-tracked address

POST/v1/tracking-opt-outs/delete

TypeScript sendora.trackingOptOuts.delete({ address })

Python sendora.tracking_opt_outs.delete(address=...)

PHP $sendora->trackingOptOuts->delete(address: $address)

Java sendora.trackingOptOuts().delete(address)

Key sk_… a server key

Takes an address off the server’s list, so its mail can be tracked again. Remove an entry whose source is recipient only after new consent. A POST, because the address travels in the body and never in a URL. An entry an erasure reduced is found by its address too.

Request body

{
  "address": "anna@example.com"
}
  • addressstring (email)required

    The address to track again. An erased entry is found by it too.

Responses

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.
not_found404No such not-tracked address of this server.
  • 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