curl -X POST "https://api.scanova.io/custom-domain/42/send-instructions/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{
"email": "it-team@example.com",
"note": "Please add these records before Friday."
}'
{ "detail": "Setup instructions sent." }
النطاقات المخصصة
إرسال إرشادات إعداد DNS بالبريد الإلكتروني
POST /custom-domain//send-instructions/
POST
/
custom-domain
/
{pk}
/
send-instructions
/
curl -X POST "https://api.scanova.io/custom-domain/42/send-instructions/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{
"email": "it-team@example.com",
"note": "Please add these records before Friday."
}'
{ "detail": "Setup instructions sent." }
يرسل إرشادات إعداد DNS الخاصة بنطاق ما إلى مستلم عبر البريد الإلكتروني، على مضيف Management API (
يتضمن البريد الإلكتروني هدف CNAME وقيمة تحقق TXT الخاصة بالنطاق — وهما نفس القيمتين اللتين يعيدهما سرد النطاقات المخصصة. يُعاد
api.scanova.io)، مع المصادقة باستخدام مفتاح Management API الخام الخاص بك.
POST https://api.scanova.io/custom-domain/{pk}/send-instructions/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
integer
مطلوب
معرّف
id الخاص بالنطاق، من سرد النطاقات المخصصة.string
مطلوب
عنوان بريد المستلم. لا يلزم أن ينتمي إلى مستخدم Scanova — الغرض من هذا هو تفويض الإعداد لمن يدير DNS الخاص بالنطاق (مثل فريق تقنية المعلومات).
string
ملاحظة اختيارية تُدرَج في البريد الإلكتروني، بحد أقصى 1000 حرف.
curl -X POST "https://api.scanova.io/custom-domain/42/send-instructions/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{
"email": "it-team@example.com",
"note": "Please add these records before Friday."
}'
{ "detail": "Setup instructions sent." }
404 إذا لم يكن pk نطاقًا مملوكًا لهذا الحساب.
ذات صلة
- سرد النطاقات المخصصة — الاطلاع على نفس قيم DNS في استجابة الواجهة البرمجية.
- الحصول على رابط إعداد Domain Connect — بديل بنقرة واحدة عندما يدعمه المسجِّل.
- التحقق من سجلات DNS لنطاق مخصص — الفحص بعد وضع السجلات في مكانها.
- نظرة عامة على Management API — مخطط المصادقة وقواعد الحصة المطبّقة على نقطة النهاية هذه.
التفويضات
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
معلمات المسار
الاستجابة
Instructions sent.
هل كانت هذه الصفحة مفيدة؟