Deliverlens pour les développeurs
Votre premier contrôle API.
Créez une clé, choisissez un service et intégrez les tests e-mail à votre application.
1. Créer une clé et s’authentifier
Connectez-vous puis ouvrez Clés API. Donnez un nom à la clé, choisissez ses droits et une expiration ou Aucune expiration. Copiez-la immédiatement : elle n’est affichée qu’une fois.
Envoyez la clé depuis votre serveur dans l’en-tête Authorization: Bearer. Ne la placez ni dans le navigateur, ni dans une URL, ni dans Git.
export DELIVERLENS_API_KEY='YOUR_API_KEY'| Droit | Autorise |
|---|---|
services:read | Lister les services et lire vos résultats. |
services:run | Lancer un contrôle e-mail, DNS ou de liste. |
tests:create | Créer une adresse de test de message. |
tests:read | Lire vos résultats de messages. |
analytics:read | Lire l’analyse d’usage de l’API. |
Tout utilisateur vérifié peut créer une clé et lire ses résultats. Lancer un contrôle par API ou MCP nécessite un abonnement payant actif et un quota disponible.
2. Vérifier la disponibilité et le quota
Lisez les services du compte avant d’envoyer un contrôle. La réponse indique la disponibilité, l’accès par offre, l’usage restant et la réinitialisation.
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/services' \
-H 'Accept: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY"Nécessite services:read. Le service doit être disponible, inclus et disposer d’un quota restant.
3. Lancer un contrôle
Cet exemple contrôle fintrate.com. Générez un request_id hexadécimal de 64 caractères pour chaque nouveau contrôle et réutilisez-le pour une reprise identique.
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\"}"Nécessite services:run. Conservez data.id. Une réponse 202 signifie en file d’attente, pas réussi.
4. Lire le résultat
Remplacez CHECK_RUN_ID par l’identifiant reçu. Interrogez avec un délai jusqu’à la fin du traitement.
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"Nécessite services:read. Lisez data.status puis data.result. Seuls vos résultats non expirés sont disponibles.
Tester un message complet
Créez un test, envoyez votre e-mail à l’adresse retournée puis récupérez le rapport. Utilisez votre plateforme habituelle pour conserver les vrais en-têtes.
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"La création nécessite tests:create et la lecture tests:read. Le premier message reçu est utilisé.
Observer le placement en boîte de réception
Listez les fournisseurs témoins configurés, puis créez une exécution avec l’expéditeur et l’objet exacts qui seront utilisé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\"}"Envoyez le même message à chaque adresse privée de data.instructions.send_to, puis lisez l’exécution avec un intervalle raisonnable.
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"Nécessite services:read et services:run, un quota de diagnostic payant actif et au moins un fournisseur configuré. Le résultat concerne ce témoin et cet instant, sans garantie de livraison.
Référence des endpoints
Ces endpoints proviennent du contrat actuel. Ouvrez une opération pour voir ses champs et son droit requis. OpenAPI fournit le schéma lisible par machine.
GET/api/v1/account/servicesOpération API
GET /api/v1/account/services est défini par le contrat API Deliverlens actuel.
Droit: services:read
GET/api/v1/account/service-runs/{checkRun}Opération API
GET /api/v1/account/service-runs/{checkRun} est défini par le contrat API Deliverlens actuel.
Droit: services:read
POST/api/v1/account/testsOpération API
POST /api/v1/account/tests est défini par le contrat API Deliverlens actuel.
Droit: 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}Opération API
GET /api/v1/account/tests/{test} est défini par le contrat API Deliverlens actuel.
Droit: tests:read
GET/api/v1/account/inbox-placement/providersOpération API
GET /api/v1/account/inbox-placement/providers est défini par le contrat API Deliverlens actuel.
Droit: services:read
POST/api/v1/account/inbox-placement/runsOpération API
POST /api/v1/account/inbox-placement/runs est défini par le contrat API Deliverlens actuel.
Droit: 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}Opération API
GET /api/v1/account/inbox-placement/runs/{checkRun} est défini par le contrat API Deliverlens actuel.
Droit: services:read
POST/api/v1/account/services/email-verifier/runsOpération API
POST /api/v1/account/services/email-verifier/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/spf-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/dkim-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/dmarc-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/bimi-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/domain-blacklist-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/email-blacklist-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/ip-blacklist-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/mta-sts-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/tls-rpt-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/domain-age-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/ip-abuse-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/reverse-dns-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/link-health-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/url-malware-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/sender-geoip-lookup/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/basic-bimi-management/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/tls-rpt-report-analysis/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/smtp-tls-checker/runs est défini par le contrat API Deliverlens actuel.
Droit: 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/runsOpération API
POST /api/v1/account/services/hosted-mta-sts/runs est défini par le contrat API Deliverlens actuel.
Droit: 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-centerOpération API
GET /api/v1/account/delivery-center est défini par le contrat API Deliverlens actuel.
Droit: monitoring:read
POST/api/v1/account/delivery-centerOpération API
POST /api/v1/account/delivery-center est défini par le contrat API Deliverlens actuel.
Droit: 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}Opération API
GET /api/v1/account/delivery-center/{domain} est défini par le contrat API Deliverlens actuel.
Droit: monitoring:read
PATCH/api/v1/account/delivery-center/{domain}Opération API
PATCH /api/v1/account/delivery-center/{domain} est défini par le contrat API Deliverlens actuel.
Droit: 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}/verifyOpération API
POST /api/v1/account/delivery-center/{domain}/verify est défini par le contrat API Deliverlens actuel.
Droit: 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}/runOpération API
POST /api/v1/account/delivery-center/{domain}/run est défini par le contrat API Deliverlens actuel.
Droit: 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-providerOpération API
GET /api/v1/account/delivery-center/{domain}/dns-provider est défini par le contrat API Deliverlens actuel.
Droit: monitoring:read
POST/api/v1/account/delivery-center/{domain}/dns-providerOpération API
POST /api/v1/account/delivery-center/{domain}/dns-provider est défini par le contrat API Deliverlens actuel.
Droit: 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-connectOpération API
POST /api/v1/account/delivery-center/{domain}/dns-connect est défini par le contrat API Deliverlens actuel.
Droit: 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}/notificationsOpération API
PATCH /api/v1/account/delivery-center/{domain}/notifications est défini par le contrat API Deliverlens actuel.
Droit: 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}/hostingOpération API
PATCH /api/v1/account/delivery-center/{domain}/hosting est défini par le contrat API Deliverlens actuel.
Droit: 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/verifyOpération API
POST /api/v1/account/delivery-center/{domain}/hosting/verify est défini par le contrat API Deliverlens actuel.
Droit: 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
}Limites, reprises et durée des clés
- Votre offre définit les limites par minute, jour, mois, simultanéité et service, partagées par toutes les clés et connexions MCP.
- Après un
429, attendez et respectezRetry-After. - Reprenez un envoi interrompu avec le
request_idoriginal et la même entrée. - Interrogez avec un délai. Un délai dépassé ou un service indisponible n’est pas un contrôle réussi.
- Les clés qui expirent reçoivent des notifications. Une clé sans expiration reste active jusqu’à sa révocation.
Traiter les erreurs clairement
| Statut | Action à effectuer |
|---|---|
| 401 | Fournissez une clé valide et active. |
| 403 | Vérifiez le droit de la clé et l’accès payant au diagnostic. |
| 404 | Vérifiez l’identifiant, la propriété ou le nom du service. |
| 409 | Reprenez l’identifiant original avec la même entrée. |
| 410 | Le rapport a expiré ; lancez un nouveau contrôle. |
| 422 | Corrigez les champs invalides indiqués. |
| 429 | Attendez la réinitialisation de la limite concernée. |
| 503 | Le service est temporairement indisponible ; réessayez avec le même identifiant. |
Besoin d’aide pour une intégration ?
Indiquez le endpoint, le statut et l’heure de la requête. N’incluez jamais de clé ni de contenu privé.
Contacter notre équipe