Deliverlens للمطورين
فحصك الأول عبر API.
أنشئ مفتاحاً واختر خدمة وأدخل فحوص البريد في تطبيقك.
1. أنشئ مفتاحاً وصادق
سجل الدخول وافتح مفاتيح API. امنح المفتاح اسماً واختر الصلاحيات والانتهاء أو بلا انتهاء. انسخه عند ظهوره؛ يُعرض مرة واحدة.
أرسل المفتاح في ترويسة Authorization: Bearer من خادمك ولا تضعه في المتصفح أو الروابط أو Git.
export DELIVERLENS_API_KEY='YOUR_API_KEY'| الصلاحية | تسمح بـ |
|---|---|
services:read | عرض الخدمات وقراءة النتائج الخاصة بك. |
services:run | بدء فحص بريد أو DNS أو قائمة حظر. |
tests:create | إنشاء عنوان اختبار رسالة. |
tests:read | قراءة نتائج اختبارات الرسائل. |
analytics:read | قراءة تحليلات استخدام API. |
يمكن لكل مستخدم موثق إنشاء مفتاح وقراءة نتائجه. يتطلب بدء الفحوص عبر API أو MCP اشتراكاً مدفوعاً.
2. تحقق من التوفر والحد
اقرأ خدمات الحساب قبل إرسال الفحص. تتضمن الاستجابة التوفر والوصول والاستخدام المتبقي.
curl --fail-with-body 'https://api.deliverlens.com/api/v1/account/services' \
-H 'Accept: application/json' \
-H "Authorization: Bearer $DELIVERLENS_API_KEY"يتطلب services:read. يجب أن تكون الخدمة متاحة ومشمولة وباستخدام متبقٍ.
3. ابدأ الفحص
يفحص المثال fintrate.com. أنشئ request_id سداسياً من 64 محرفاً لكل فحص وأعد استخدامه للمحاولة المطابقة.
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\"}"يتطلب services:run. احفظ data.id. استجابة 202 تعني في قائمة الانتظار وليست نجاحاً.
4. اقرأ النتيجة
استبدل CHECK_RUN_ID بالمعرف الناتج. استعلم مع تأخير حتى ينتهي العمل.
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"يتطلب services:read. اقرأ data.status ثم data.result. تتوفر النتائج المملوكة غير المنتهية فقط.
اختبر رسالة بريد كاملة
أنشئ اختباراً وأرسل البريد إلى العنوان الناتج ثم استرجع التقرير من منصتك المعتادة.
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"الإنشاء يحتاج tests:create والقراءة tests:read. تُستخدم أول رسالة مستلمة.
راقب موضع الرسالة في البريد
اعرض مزودي صناديق الاختبار المهيئين، ثم أنشئ عملية باستخدام المرسل والموضوع الدقيقين اللذين ستستخدمهما.
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\"}"أرسل الرسالة نفسها إلى كل عنوان خاص في data.instructions.send_to، ثم استعلم عن العملية المملوكة بفاصل مناسب.
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"يتطلب services:read وservices:run وحصة تشخيص مدفوعة فعالة ومزوداً مهيئاً واحداً على الأقل. النتيجة دليل لصندوق محدد وليست ضماناً للتسليم.
مرجع النقاط
تأتي النقاط من عقد API الحالي. افتح العملية لرؤية الحقول والصلاحية؛ يوفر OpenAPI المخطط.
GET/api/v1/account/servicesعملية API
يحدد عقد Deliverlens API الحالي المسار GET /api/v1/account/services.
الصلاحية: services:read
GET/api/v1/account/service-runs/{checkRun}عملية API
يحدد عقد Deliverlens API الحالي المسار GET /api/v1/account/service-runs/{checkRun}.
الصلاحية: services:read
POST/api/v1/account/testsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/tests.
الصلاحية: 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}عملية API
يحدد عقد Deliverlens API الحالي المسار GET /api/v1/account/tests/{test}.
الصلاحية: tests:read
GET/api/v1/account/inbox-placement/providersعملية API
يحدد عقد Deliverlens API الحالي المسار GET /api/v1/account/inbox-placement/providers.
الصلاحية: services:read
POST/api/v1/account/inbox-placement/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/inbox-placement/runs.
الصلاحية: 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}عملية API
يحدد عقد Deliverlens API الحالي المسار GET /api/v1/account/inbox-placement/runs/{checkRun}.
الصلاحية: services:read
POST/api/v1/account/services/email-verifier/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/email-verifier/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/spf-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/dkim-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/dmarc-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/bimi-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/domain-blacklist-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/email-blacklist-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/ip-blacklist-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/mta-sts-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/tls-rpt-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/domain-age-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/ip-abuse-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/reverse-dns-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/link-health-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/url-malware-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/sender-geoip-lookup/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/basic-bimi-management/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/tls-rpt-report-analysis/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/smtp-tls-checker/runs.
الصلاحية: 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/runsعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/services/hosted-mta-sts/runs.
الصلاحية: 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-centerعملية API
يحدد عقد Deliverlens API الحالي المسار GET /api/v1/account/delivery-center.
الصلاحية: monitoring:read
POST/api/v1/account/delivery-centerعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/delivery-center.
الصلاحية: 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}عملية API
يحدد عقد Deliverlens API الحالي المسار GET /api/v1/account/delivery-center/{domain}.
الصلاحية: monitoring:read
PATCH/api/v1/account/delivery-center/{domain}عملية API
يحدد عقد Deliverlens API الحالي المسار PATCH /api/v1/account/delivery-center/{domain}.
الصلاحية: 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}/verifyعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/delivery-center/{domain}/verify.
الصلاحية: 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}/runعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/delivery-center/{domain}/run.
الصلاحية: 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-providerعملية API
يحدد عقد Deliverlens API الحالي المسار GET /api/v1/account/delivery-center/{domain}/dns-provider.
الصلاحية: monitoring:read
POST/api/v1/account/delivery-center/{domain}/dns-providerعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/delivery-center/{domain}/dns-provider.
الصلاحية: 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-connectعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/delivery-center/{domain}/dns-connect.
الصلاحية: 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}/notificationsعملية API
يحدد عقد Deliverlens API الحالي المسار PATCH /api/v1/account/delivery-center/{domain}/notifications.
الصلاحية: 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}/hostingعملية API
يحدد عقد Deliverlens API الحالي المسار PATCH /api/v1/account/delivery-center/{domain}/hosting.
الصلاحية: 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/verifyعملية API
يحدد عقد Deliverlens API الحالي المسار POST /api/v1/account/delivery-center/{domain}/hosting/verify.
الصلاحية: 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
}الحدود وإعادة المحاولة وعمر المفتاح
- تحدد الخطة حدود الدقيقة واليوم والشهر والتزامن والخدمة المشتركة بين المفاتيح وMCP.
- تراجع بعد
429واحترمRetry-After. - أعد الطلب المتقطع باستخدام
request_idالأصلي والمدخل نفسه. - استعلم مع تأخير. انتهاء المهلة أو عدم التوفر ليس نجاحاً.
- تصل تنبيهات للمفاتيح المنتهية، ويبقى بلا انتهاء فعالاً حتى الإلغاء.
تعامل مع الأخطاء بوضوح
| الحالة | الإجراء |
|---|---|
| 401 | قدم مفتاحاً صالحاً وفعالاً. |
| 403 | تحقق من الصلاحية والوصول المدفوع. |
| 404 | تحقق من المعرف والملكية واسم الخدمة. |
| 409 | أعد معرف الطلب الأصلي بالمدخل نفسه. |
| 410 | انتهى التقرير؛ ابدأ فحصاً جديداً. |
| 422 | صحح الحقول غير الصالحة. |
| 429 | انتظر إعادة ضبط الحد. |
| 503 | الخدمة غير متاحة مؤقتاً؛ أعد المحاولة بالمعرف نفسه. |
هل تحتاج إلى مساعدة في التكامل؟
أرسل النقطة وحالة الاستجابة والوقت، ولا ترسل مفتاحاً أو محتوى خاصاً.
الاتصال بالفريق