Sendora Erasures API
A person's data erased from every server of the account, under an account key.
A person's data erased from every server of the account, under an account key.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/sendora-se:sendora-se-erasures-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Sendora Se Erasures API
version: '1'
description: 'Operations tagged Erasures across 2 of this provider''s published API definitions: openapi.json, sendora-se-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.sendora.se
tags:
- name: Erasures
description: A person's data erased from every server of the account, under an account key.
paths:
/v1/erasures:
post:
summary: Erase a person
tags:
- Erasures
description: 'Erases one person''s data from every server of the account, as a request under the right to erasure asks. The content of every message to or from the address, sent and received, is deleted, and the address becomes a pseudonym in the message log. The answer is the pending erasure; Sendora carries it out within a minute, and reading it by its id shows the outcome. Erasing an address again changes nothing more. It blocks nothing: later mail to or from the address is sent and received as before.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
address:
type: string
format: email
pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
description: The person's e-mail address.
required:
- address
examples:
example:
summary: A person to erase
value:
address: anna@example.com
security:
- accountToken: []
responses:
'202':
description: A request to erase one person's data from the account.
content:
application/json:
schema:
type: object
properties:
erasureId:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
status:
type: string
enum:
- pending
- done
description: pending until Sendora has erased the person, done after.
createdAt:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
completedAt:
anyOf:
- type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
- type: 'null'
description: When the erasure was done; null while pending.
pseudonym:
description: What now stands where the address was written in the message log; null while pending.
type:
- string
- 'null'
messages:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: Sent messages to the address whose content was deleted; null while pending.
receivedMessages:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: Received messages from, naming or to the address whose content was deleted; null while pending.
required:
- erasureId
- status
- createdAt
- completedAt
- pseudonym
- messages
- receivedMessages
additionalProperties: false
description: A request to erase one person's data from the account.
examples:
example:
summary: A pending erasure
value:
erasureId: 6f1d2c3b-4a5e-4f60-8b7a-9c8d7e6f5a41
status: pending
createdAt: '2026-10-04T12:00:00.000Z'
completedAt: null
pseudonym: null
messages: null
receivedMessages: null
'400':
description: The body, the query or a header does not match what the route takes.
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- invalid_request
message:
type: string
description: What went wrong, for a person to read.
issues:
description: One entry per invalid field; absent when a header is wrong.
type: array
items:
type: object
properties:
path:
type: string
description: The field, dotted, such as to.0.email; empty when the whole body is wrong.
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- error
- message
additionalProperties: false
description: The body, the query or a header does not match what the route takes.
example:
error: invalid_request
message: 'The request is invalid: to.0: Invalid email address'
issues:
- path: to.0
message: Invalid email address
'401':
description: The key is missing, malformed or revoked.
headers:
WWW-Authenticate:
schema:
type: string
enum:
- Bearer
description: 'Always Bearer: send the key as Authorization: Bearer <key>.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- unauthorized
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: The key is missing, malformed or revoked.
'403':
description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
content:
application/json:
schema:
oneOf:
- type: object
properties:
error:
type: string
enum:
- wrong_token_kind
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: 'The 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.'
- type: object
properties:
error:
type: string
enum:
- not_for_connections
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: A connected app called an operation that no tool of the MCP server calls. An API key can.
- type: object
properties:
error:
type: string
enum:
- read_only_connection
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: 'A 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.'
- type: object
properties:
error:
type: string
enum:
- test_server_only
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: A connected app may create a secret, or do what cannot be undone, on a test server only.
description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
operationId: postV1Erasures
x-operation-id-source: derived
servers:
- url: https://api.sendora.se
/v1/erasures/{id}:
get:
summary: Read an erasure
tags:
- Erasures
description: The erasure and, once it is done, its outcome. A done erasure can be read for 30 days.
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
description: The erasure id.
security:
- accountToken: []
responses:
'200':
description: A request to erase one person's data from the account.
content:
application/json:
schema:
type: object
properties:
erasureId:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
status:
type: string
enum:
- pending
- done
description: pending until Sendora has erased the person, done after.
createdAt:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
completedAt:
anyOf:
- type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
- type: 'null'
description: When the erasure was done; null while pending.
pseudonym:
description: What now stands where the address was written in the message log; null while pending.
type:
- string
- 'null'
messages:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: Sent messages to the address whose content was deleted; null while pending.
receivedMessages:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: Received messages from, naming or to the address whose content was deleted; null while pending.
required:
- erasureId
- status
- createdAt
- completedAt
- pseudonym
- messages
- receivedMessages
additionalProperties: false
description: A request to erase one person's data from the account.
examples:
example:
summary: A done erasure
value:
erasureId: 6f1d2c3b-4a5e-4f60-8b7a-9c8d7e6f5a41
status: done
createdAt: '2026-10-04T12:00:00.000Z'
completedAt: '2026-10-04T12:00:08.000Z'
pseudonym: erased:3f7a9c1e5b2d8f4a6c0e9b7d5f3a1c8e6b4d2f0a9c7e5b3d1f8a6c4e2b0d9f7a
messages: 3
receivedMessages: 1
'401':
description: The key is missing, malformed or revoked.
headers:
WWW-Authenticate:
schema:
type: string
enum:
- Bearer
description: 'Always Bearer: send the key as Authorization: Bearer <key>.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- unauthorized
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: The key is missing, malformed or revoked.
'403':
description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
content:
application/json:
schema:
oneOf:
- type: object
properties:
error:
type: string
enum:
- wrong_token_kind
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: 'The 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.'
- type: object
properties:
error:
type: string
enum:
- not_for_connections
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: A connected app called an operation that no tool of the MCP server calls. An API key can.
- type: object
properties:
error:
type: string
enum:
- read_only_connection
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: 'A 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.'
- type: object
properties:
error:
type: string
enum:
- test_server_only
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: A connected app may create a secret, or do what cannot be undone, on a test server only.
description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
'404':
description: No such erasure of this account.
content:
application/json:
schema:
type: object
properties:
error:
type: string
enum:
- not_found
message:
type: string
description: What went wrong, for a person to read.
required:
- error
- message
additionalProperties: false
description: No such erasure of this account.
operationId: getV1ErasuresById
x-operation-id-source: derived
servers:
- url: https://api.sendora.se
components:
securitySchemes:
bearer:
type: http
scheme: bearer
description: 'A server key (sk_…): created with its server, in the dashboard, under /v1/servers/{id}/tokens with an account key, or under /v1/tokens with a key of the same server.'
accountToken:
type: http
scheme: bearer
description: An account key (ak_…), created by an administrator in the dashboard under Account › Account keys; it manages the account’s servers, their keys, its sending and tracking domains, erases a person’s data, and never sends.
x-refined-from:
- openapi.json
- sendora-se-openapi.json