Deliverlens para desarrollo
Tu primera comprobación por API.
Crea una clave, elige un servicio e integra las pruebas en tu aplicación.
1. Crea una clave y autentícate
Inicia sesión y abre Claves API. Ponle un nombre, elige permisos y caducidad o Sin caducidad. Cópiala cuando aparezca; solo se muestra una vez.
Envía la clave en Authorization: Bearer desde tu servidor. No la pongas en el navegador, URL ni Git.
export DELIVERLENS_API_KEY='YOUR_API_KEY'| Permiso | Permite |
|---|---|
services:read | Listar servicios y leer resultados. |
services:run | Iniciar una comprobación de correo, DNS o listas. |
tests:create | Crear una dirección de prueba. |
tests:read | Leer resultados de mensajes. |
analytics:read | Leer analítica de uso. |
Toda cuenta verificada puede crear claves y leer sus resultados. Iniciar comprobaciones por API o MCP requiere una suscripción de pago.
2. Comprueba disponibilidad y límite
Lee los servicios de la cuenta antes de enviar una comprobación. La respuesta incluye disponibilidad, acceso y uso restante.
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/services' \
-H 'Accept: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY"Requiere services:read. El servicio debe estar disponible, incluido y con uso restante.
3. Inicia una comprobación
Este ejemplo comprueba fintrate.com. Genera un request_id hexadecimal de 64 caracteres para cada comprobación y reutilízalo en un reintento idéntico.
REQUEST_ID="$(openssl rand -hex 32)"
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/services/spf-checker/runs' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY" \
--data "{\"target\":\"fintrate.com\",\"request_id\":\"$REQUEST_ID\"}"Requiere services:run. Guarda data.id. Una respuesta 202 significa en cola, no superada.
4. Lee el resultado
Sustituye CHECK_RUN_ID por el ID recibido. Consulta con una pausa hasta que termine.
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/service-runs/CHECK_RUN_ID' \
-H 'Accept: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY"Requiere services:read. Lee data.status y después data.result. Solo se ofrecen resultados propios no caducados.
Prueba un mensaje completo
Crea una prueba, envía el correo a la dirección recibida y recupera el informe desde tu plataforma habitual.
MESSAGE_REQUEST_ID="$(openssl rand -hex 32)"
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/tests' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY" \
--data "{\"request_id\":\"$MESSAGE_REQUEST_ID\"}"
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/tests/TEST_ID' \
-H 'Accept: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY"Crear requiere tests:create y leer requiere tests:read. Se usa el primer mensaje recibido.
Observa la ubicación en bandeja
Lista los proveedores semilla configurados y crea una ejecución con el remitente y el asunto exactos que usarás.
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/inbox-placement/providers' \
-H 'Accept: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY"
PLACEMENT_REQUEST_ID="$(openssl rand -hex 32)"
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/inbox-placement/runs' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY" \
--data "{\"from_email\":\"[email protected]\",\"subject\":\"Placement $PLACEMENT_REQUEST_ID\",\"request_id\":\"$PLACEMENT_REQUEST_ID\"}"Envía el mismo mensaje a cada dirección privada de data.instructions.send_to y consulta la ejecución propia con una espera adecuada.
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/inbox-placement/runs/PLACEMENT_RUN_ID' \
-H 'Accept: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY"Requiere services:read y services:run, una asignación de diagnóstico de pago activa y al menos un proveedor configurado. El resultado no garantiza la entrega.
Referencia de endpoints
Estos endpoints proceden del contrato actual. Abre una operación para ver campos y permisos. OpenAPI ofrece el esquema.
GET/api/v1/account/servicesOperación de API
GET /api/v1/account/services está definido por el contrato actual de la API de Deliverlens.
Permiso: services:read
GET/api/v1/account/service-runs/{checkRun}Operación de API
GET /api/v1/account/service-runs/{checkRun} está definido por el contrato actual de la API de Deliverlens.
Permiso: services:read
POST/api/v1/account/testsOperación de API
POST /api/v1/account/tests está definido por el contrato actual de la API de Deliverlens.
Permiso: tests:create
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
}
},
"required": [
"request_id"
],
"additionalProperties": false
}GET/api/v1/account/tests/{test}Operación de API
GET /api/v1/account/tests/{test} está definido por el contrato actual de la API de Deliverlens.
Permiso: tests:read
GET/api/v1/account/inbox-placement/providersOperación de API
GET /api/v1/account/inbox-placement/providers está definido por el contrato actual de la API de Deliverlens.
Permiso: services:read
POST/api/v1/account/inbox-placement/runsOperación de API
POST /api/v1/account/inbox-placement/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"from_email": {
"type": "string",
"format": "email",
"maxLength": 254,
"description": "The exact From address that will send the test message."
},
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The exact subject of the message that will be sent to every seed address."
},
"campaign": {
"type": "string",
"maxLength": 120,
"description": "Optional private label for this run."
},
"providers": {
"type": "array",
"minItems": 1,
"maxItems": 10,
"uniqueItems": true,
"items": {
"type": "string"
},
"description": "Optional provider keys returned by list_inbox_placement_providers. Omit to use every configured provider."
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
}
},
"required": [
"from_email",
"subject",
"request_id"
],
"additionalProperties": false
}GET/api/v1/account/inbox-placement/runs/{checkRun}Operación de API
GET /api/v1/account/inbox-placement/runs/{checkRun} está definido por el contrato actual de la API de Deliverlens.
Permiso: services:read
POST/api/v1/account/services/email-verifier/runsOperación de API
POST /api/v1/account/services/email-verifier/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "Email address to check, with a public DNS domain."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/spf-checker/runsOperación de API
POST /api/v1/account/services/spf-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
},
"sending_ip": {
"type": "string",
"maxLength": 45,
"description": "Optional public sending IP for an SPF evaluation."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/dkim-checker/runsOperación de API
POST /api/v1/account/services/dkim-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
},
"selector": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Published selector. DKIM requires the selector from a signed message; BIMI defaults to default."
}
},
"required": [
"request_id",
"target",
"selector"
],
"additionalProperties": false
}POST/api/v1/account/services/dmarc-checker/runsOperación de API
POST /api/v1/account/services/dmarc-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/bimi-checker/runsOperación de API
POST /api/v1/account/services/bimi-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
},
"selector": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Published selector. DKIM requires the selector from a signed message; BIMI defaults to default."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/domain-blacklist-checker/runsOperación de API
POST /api/v1/account/services/domain-blacklist-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/email-blacklist-checker/runsOperación de API
POST /api/v1/account/services/email-blacklist-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "Email address to check, with a public DNS domain."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/ip-blacklist-checker/runsOperación de API
POST /api/v1/account/services/ip-blacklist-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public IPv4 or IPv6 address."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/mta-sts-checker/runsOperación de API
POST /api/v1/account/services/mta-sts-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/tls-rpt-checker/runsOperación de API
POST /api/v1/account/services/tls-rpt-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/domain-age-checker/runsOperación de API
POST /api/v1/account/services/domain-age-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/ip-abuse-checker/runsOperación de API
POST /api/v1/account/services/ip-abuse-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public IPv4 or IPv6 address."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/reverse-dns-checker/runsOperación de API
POST /api/v1/account/services/reverse-dns-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public IPv4 or IPv6 address."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/link-health-checker/runsOperación de API
POST /api/v1/account/services/link-health-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"description": "An authorized public HTTP/HTTPS URL with a DNS hostname, a standard port and no embedded credentials. URL malware checks share it with VirusTotal and its community dataset."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/url-malware-checker/runsOperación de API
POST /api/v1/account/services/url-malware-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"description": "An authorized public HTTP/HTTPS URL with a DNS hostname, a standard port and no embedded credentials. URL malware checks share it with VirusTotal and its community dataset."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/sender-geoip-lookup/runsOperación de API
POST /api/v1/account/services/sender-geoip-lookup/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public IPv4 or IPv6 address."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/basic-bimi-management/runsOperación de API
POST /api/v1/account/services/basic-bimi-management/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/tls-rpt-report-analysis/runsOperación de API
POST /api/v1/account/services/tls-rpt-report-analysis/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/smtp-tls-checker/runsOperación de API
POST /api/v1/account/services/smtp-tls-checker/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}POST/api/v1/account/services/hosted-mta-sts/runsOperación de API
POST /api/v1/account/services/hosted-mta-sts/runs está definido por el contrato actual de la API de Deliverlens.
Permiso: services:run
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 254,
"description": "A public DNS domain, for example fintrate.com. Do not include a URL or path."
}
},
"required": [
"request_id",
"target"
],
"additionalProperties": false
}GET/api/v1/account/delivery-centerOperación de API
GET /api/v1/account/delivery-center está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:read
POST/api/v1/account/delivery-centerOperación de API
POST /api/v1/account/delivery-center está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:write
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"maxLength": 235
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
}
},
"required": [
"domain",
"request_id"
],
"additionalProperties": false
}GET/api/v1/account/delivery-center/{domain}Operación de API
GET /api/v1/account/delivery-center/{domain} está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:read
PATCH/api/v1/account/delivery-center/{domain}Operación de API
PATCH /api/v1/account/delivery-center/{domain} está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:write
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The ID returned by the corresponding creation tool for this account."
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"sending_ips": {
"type": "array",
"items": {
"type": "string"
}
},
"dkim_selector": {
"type": "string",
"maxLength": 128
},
"flow_address": {
"type": "string",
"maxLength": 254
}
},
"required": [
"id",
"request_id"
],
"additionalProperties": false
}POST/api/v1/account/delivery-center/{domain}/verifyOperación de API
POST /api/v1/account/delivery-center/{domain}/verify está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:write
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The ID returned by the corresponding creation tool for this account."
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
}
},
"required": [
"id",
"request_id"
],
"additionalProperties": false
}POST/api/v1/account/delivery-center/{domain}/runOperación de API
POST /api/v1/account/delivery-center/{domain}/run está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:write
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The ID returned by the corresponding creation tool for this account."
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
}
},
"required": [
"id",
"request_id"
],
"additionalProperties": false
}GET/api/v1/account/delivery-center/{domain}/dns-providerOperación de API
GET /api/v1/account/delivery-center/{domain}/dns-provider está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:read
POST/api/v1/account/delivery-center/{domain}/dns-providerOperación de API
POST /api/v1/account/delivery-center/{domain}/dns-provider está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:write
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The ID returned by the corresponding creation tool for this account."
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
}
},
"required": [
"id",
"request_id"
],
"additionalProperties": false
}POST/api/v1/account/delivery-center/{domain}/dns-connectOperación de API
POST /api/v1/account/delivery-center/{domain}/dns-connect está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:write
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The ID returned by the corresponding creation tool for this account."
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"operation": {
"type": "string",
"enum": [
"ownership",
"dmarc",
"tls"
]
}
},
"required": [
"id",
"request_id",
"operation"
],
"additionalProperties": false
}PATCH/api/v1/account/delivery-center/{domain}/notificationsOperación de API
PATCH /api/v1/account/delivery-center/{domain}/notifications está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:write
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The ID returned by the corresponding creation tool for this account."
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"revision": {
"type": "integer",
"minimum": 1
},
"email_enabled": {
"type": "boolean"
},
"webhook_enabled": {
"type": "boolean"
},
"categories": {
"type": "array",
"maxItems": 10,
"items": {
"type": "string",
"enum": [
"monitoring",
"dmarc",
"tls",
"mail_flow",
"complaint",
"abuse",
"bimi",
"new_sender",
"volume",
"alignment_rate"
]
}
},
"cooldown_minutes": {
"type": "integer",
"enum": [
15,
60,
360,
1440
]
},
"summary_frequency": {
"type": "string",
"enum": [
"off",
"weekly",
"monthly"
]
},
"new_sender_min_messages": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"minimum_messages": {
"type": "integer",
"minimum": 10,
"maximum": 1000000
},
"volume_increase_percent": {
"type": "integer",
"minimum": 25,
"maximum": 1000
},
"volume_decrease_percent": {
"type": "integer",
"minimum": 25,
"maximum": 100
},
"alignment_failure_percent": {
"type": "number",
"minimum": 0.1,
"maximum": 100
},
"webhook_url": {
"type": "string",
"maxLength": 2048
},
"webhook_secret": {
"type": "string",
"minLength": 32,
"maxLength": 128
},
"webhook_consent": {
"type": "boolean"
}
},
"required": [
"id",
"request_id",
"revision",
"email_enabled",
"categories",
"cooldown_minutes",
"summary_frequency",
"webhook_enabled"
],
"additionalProperties": false
}PATCH/api/v1/account/delivery-center/{domain}/hostingOperación de API
PATCH /api/v1/account/delivery-center/{domain}/hosting está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:write
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The ID returned by the corresponding creation tool for this account."
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
},
"bimi_enabled": {
"type": "boolean"
},
"mta_sts_enabled": {
"type": "boolean"
},
"logo_svg": {
"type": "string",
"maxLength": 131072
},
"certificate_pem": {
"type": "string",
"maxLength": 131072
},
"policy_mode": {
"type": "string",
"enum": [
"testing",
"enforce",
"none"
]
},
"policy_max_age": {
"type": "integer",
"minimum": 0,
"maximum": 604800
},
"mx_patterns": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string"
}
}
},
"required": [
"id",
"request_id"
],
"additionalProperties": false
}POST/api/v1/account/delivery-center/{domain}/hosting/verifyOperación de API
POST /api/v1/account/delivery-center/{domain}/hosting/verify está definido por el contrato actual de la API de Deliverlens.
Permiso: monitoring:write
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The ID returned by the corresponding creation tool for this account."
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "A new random 64-character lowercase hexadecimal idempotency identifier. Reuse it only when retrying the same operation."
}
},
"required": [
"id",
"request_id"
],
"additionalProperties": false
}Límites, reintentos y duración de claves
- El plan define límites por minuto, día, mes, simultaneidad y servicio compartidos por claves y MCP.
- Espera tras
429y respetaRetry-After. - Reintenta con el
request_idoriginal y la misma entrada. - Consulta con una pausa. Un timeout no es un resultado superado.
- Las claves que caducan reciben avisos; Sin caducidad sigue activa hasta revocarla.
Gestiona los errores con claridad
| Estado | Qué hacer |
|---|---|
| 401 | Usa una clave válida y activa. |
| 403 | Revisa permisos y acceso de pago. |
| 404 | Revisa ID, propiedad o servicio. |
| 409 | Reintenta el identificador original con la misma entrada. |
| 410 | El informe caducó; inicia otro. |
| 422 | Corrige los campos inválidos. |
| 429 | Espera a que se restablezca el límite. |
| 503 | El servicio no está disponible; reintenta con el mismo identificador. |
¿Necesitas ayuda con una integración?
Envía endpoint, estado y hora. Nunca incluyas claves ni contenido privado.
Contactar con el equipo