WebResource: getToken
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অনুমোদন প্রয়োজন
একটি ওয়েবসাইট বা ডোমেনে স্থাপন করার জন্য প্রমাণীকৃত ব্যবহারকারীর জন্য একটি যাচাইকরণ টোকেন পায়। এখনই চেষ্টা করে দেখুন ।
অনুরোধ
HTTP অনুরোধ
POST https://www.googleapis.com/siteVerification/v1/token
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত স্কোপের মধ্যে অন্তত একটির অনুমোদন প্রয়োজন ( প্রমাণিকরণ এবং অনুমোদন সম্পর্কে আরও পড়ুন )।
ব্যাপ্তি |
---|
https://www.googleapis.com/auth/siteverification |
https://www.googleapis.com/auth/siteverification.verify_only |
শরীরের অনুরোধ
অনুরোধের অংশে, নিম্নলিখিত কাঠামোর সাথে ডেটা সরবরাহ করুন:
{
"site": {
"type": string,
"identifier": string
},
"verificationMethod": string
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
site | object | একটি সাইটের ঠিকানা এবং প্রকারের জন্য ধারক যার জন্য একটি যাচাইকরণ টোকেন তৈরি করা হবে। | |
site. type | string | সম্পদের ধরন যাচাই করা হবে।
গ্রহণযোগ্য মান হল:- "
ANDROID_APP " - "
INET_DOMAIN " - "
SITE "
| |
site. identifier | string | সাইট শনাক্তকারী। যদি ধরনটি SITE তে সেট করা থাকে, তাহলে শনাক্তকারী একটি URL। যদি টাইপটি INET_DOMAIN এ সেট করা থাকে, তাহলে সনাক্তকারী একটি ডোমেন নাম। | |
verificationMethod | string | এই সাইট বা ডোমেন যাচাই করার জন্য সাইট যাচাইকরণ সিস্টেমের জন্য যাচাইকরণ পদ্ধতি।
গ্রহণযোগ্য মান হল:- "
ANALYTICS ": শুধুমাত্র সাইট - "
DNS ": পরিবর্তে DNS_TXT ব্যবহার করুন - "
DNS_CNAME ": শুধুমাত্র ডোমেন - "
DNS_TXT ": শুধুমাত্র ডোমেন - "
FILE ": শুধুমাত্র সাইট - "
META ": শুধুমাত্র সাইট - "
TAG_MANAGER ": শুধুমাত্র সাইট
| |
প্রতিক্রিয়া
সফল হলে, এই পদ্ধতিটি নিম্নলিখিত কাঠামো সহ একটি প্রতিক্রিয়া বডি প্রদান করে:
{
"method": string,
"token": string
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
method | string | আপনি অনুরোধে যে যাচাইকরণ পদ্ধতি নির্বাচন করেছেন।
গ্রহণযোগ্য মান হল:- "
ANALYTICS " - "
DNS " - "
DNS_CNAME " - "
DNS_TXT " - "
FILE " - "
META " - "
TAG_MANAGER "
| |
token | string | নির্বাচিত যাচাইকরণ পদ্ধতি ব্যবহার করে প্রমাণীকৃত ব্যবহারকারীর সাইটে স্থাপন করার জন্য স্ট্রিং। আরও তথ্যের জন্য, শুরু করা নথিতে যাচাইকরণ পদ্ধতি এবং টোকেনগুলি দেখুন। | |
এটা চেষ্টা করুন!
লাইভ ডেটাতে এই পদ্ধতিতে কল করতে এবং প্রতিক্রিয়া দেখতে নীচের APIs এক্সপ্লোরার ব্যবহার করুন। বিকল্পভাবে, স্বতন্ত্র এক্সপ্লোরার ব্যবহার করে দেখুন।
,
অনুমোদন প্রয়োজন
একটি ওয়েবসাইট বা ডোমেনে স্থাপন করার জন্য প্রমাণীকৃত ব্যবহারকারীর জন্য একটি যাচাইকরণ টোকেন পায়। এখনই চেষ্টা করে দেখুন ।
অনুরোধ
HTTP অনুরোধ
POST https://www.googleapis.com/siteVerification/v1/token
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত স্কোপের মধ্যে অন্তত একটির অনুমোদন প্রয়োজন ( প্রমাণিকরণ এবং অনুমোদন সম্পর্কে আরও পড়ুন )।
ব্যাপ্তি |
---|
https://www.googleapis.com/auth/siteverification |
https://www.googleapis.com/auth/siteverification.verify_only |
শরীরের অনুরোধ
অনুরোধের অংশে, নিম্নলিখিত কাঠামোর সাথে ডেটা সরবরাহ করুন:
{
"site": {
"type": string,
"identifier": string
},
"verificationMethod": string
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
site | object | একটি সাইটের ঠিকানা এবং প্রকারের জন্য ধারক যার জন্য একটি যাচাইকরণ টোকেন তৈরি করা হবে। | |
site. type | string | সম্পদের ধরন যাচাই করা হবে।
গ্রহণযোগ্য মান হল:- "
ANDROID_APP " - "
INET_DOMAIN " - "
SITE "
| |
site. identifier | string | সাইট শনাক্তকারী। যদি ধরনটি SITE তে সেট করা থাকে, তাহলে শনাক্তকারী একটি URL। যদি টাইপটি INET_DOMAIN এ সেট করা থাকে, তাহলে সনাক্তকারী একটি ডোমেন নাম। | |
verificationMethod | string | এই সাইট বা ডোমেন যাচাই করার জন্য সাইট যাচাইকরণ সিস্টেমের জন্য যাচাইকরণ পদ্ধতি।
গ্রহণযোগ্য মান হল:- "
ANALYTICS ": শুধুমাত্র সাইট - "
DNS ": পরিবর্তে DNS_TXT ব্যবহার করুন - "
DNS_CNAME ": শুধুমাত্র ডোমেন - "
DNS_TXT ": শুধুমাত্র ডোমেন - "
FILE ": শুধুমাত্র সাইট - "
META ": শুধুমাত্র সাইট - "
TAG_MANAGER ": শুধুমাত্র সাইট
| |
প্রতিক্রিয়া
সফল হলে, এই পদ্ধতিটি নিম্নলিখিত কাঠামো সহ একটি প্রতিক্রিয়া বডি প্রদান করে:
{
"method": string,
"token": string
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
method | string | আপনি অনুরোধে যে যাচাইকরণ পদ্ধতি নির্বাচন করেছেন।
গ্রহণযোগ্য মান হল:- "
ANALYTICS " - "
DNS " - "
DNS_CNAME " - "
DNS_TXT " - "
FILE " - "
META " - "
TAG_MANAGER "
| |
token | string | নির্বাচিত যাচাইকরণ পদ্ধতি ব্যবহার করে প্রমাণীকৃত ব্যবহারকারীর সাইটে স্থাপন করার জন্য স্ট্রিং। আরও তথ্যের জন্য, শুরু করা নথিতে যাচাইকরণ পদ্ধতি এবং টোকেনগুলি দেখুন। | |
এটা চেষ্টা করুন!
লাইভ ডেটাতে এই পদ্ধতিতে কল করতে এবং প্রতিক্রিয়া দেখতে নীচের APIs এক্সপ্লোরার ব্যবহার করুন। বিকল্পভাবে, স্বতন্ত্র এক্সপ্লোরার ব্যবহার করে দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eRetrieves a verification token for website or domain ownership verification upon authorization.\u003c/p\u003e\n"],["\u003cp\u003eSupports various verification methods including \u003ccode\u003eANALYTICS\u003c/code\u003e, \u003ccode\u003eDNS\u003c/code\u003e, \u003ccode\u003eDNS_CNAME\u003c/code\u003e, \u003ccode\u003eDNS_TXT\u003c/code\u003e, \u003ccode\u003eFILE\u003c/code\u003e, \u003ccode\u003eMETA\u003c/code\u003e, and \u003ccode\u003eTAG_MANAGER\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the site type (\u003ccode\u003eSITE\u003c/code\u003e, \u003ccode\u003eINET_DOMAIN\u003c/code\u003e, or \u003ccode\u003eANDROID_APP\u003c/code\u003e) and identifier (URL or domain name).\u003c/p\u003e\n"],["\u003cp\u003eReturns the selected verification method and the corresponding token to be placed on the site.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required with the \u003ccode\u003esiteverification\u003c/code\u003e or \u003ccode\u003esiteverification.verify_only\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["To get a verification token, send a POST request to the specified URL, including authorization with the correct scope. The request body must contain a `site` object with the `type` (e.g., `SITE`, `INET_DOMAIN`) and `identifier` (e.g., URL, domain name) of the site, as well as the desired `verificationMethod`. The successful response will return the chosen `method` and the `token` string to be placed on the site for verification.\n"],null,["**Requires [authorization](#auth)**\n\nGets a verification token for the authenticated user to place on a website or domain.\n[Try it now](#try-it).\n\nRequest\n\nHTTP request \n\n```\nPOST https://www.googleapis.com/siteVerification/v1/token\n```\n\nAuthorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/site-verification/v1/getting_started#auth)).\n\n| Scope |\n|----------------------------------------------------------------|\n| `https://www.googleapis.com/auth/siteverification` |\n| `https://www.googleapis.com/auth/siteverification.verify_only` |\n\nRequest body\n\nIn the request body, supply data with the following structure:\n\n```carbon\n{\n \"site\": {\n \"type\": string,\n \"identifier\": string\n },\n \"verificationMethod\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|----------------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `site` | `object` | Container for the address and type of a site for which a verification token will be generated. | |\n| site.`type` | `string` | The type of resource to be verified. \u003cbr /\u003e Acceptable values are: - \"`ANDROID_APP`\" - \"`INET_DOMAIN`\" - \"`SITE`\" | |\n| site.`identifier` | `string` | The site identifier. If the type is set to `SITE`, the identifier is a URL. If the type is set to `INET_DOMAIN`, the identifier is a domain name. | |\n| `verificationMethod` | `string` | The verification method for the Site Verification system to use to verify this site or domain. \u003cbr /\u003e Acceptable values are: - \"`ANALYTICS`\": Sites only - \"`DNS`\": Use DNS_TXT instead - \"`DNS_CNAME`\": Domains only - \"`DNS_TXT`\": Domains only - \"`FILE`\": Sites only - \"`META`\": Sites only - \"`TAG_MANAGER`\": Sites only | |\n\nResponse\n\nIf successful, this method returns a response body with the following structure:\n\n```text\n{\n \"method\": string,\n \"token\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `method` | `string` | The verification method that you selected in the request. \u003cbr /\u003e Acceptable values are: - \"`ANALYTICS`\" - \"`DNS`\" - \"`DNS_CNAME`\" - \"`DNS_TXT`\" - \"`FILE`\" - \"`META`\" - \"`TAG_MANAGER`\" | |\n| `token` | `string` | The string to place on the authenticated user's site, using the selected verification method. For more information, see [Verification methods and tokens](/site-verification/v1/getting_started#tokens) in the Getting Started document. | |\n\nTry it!\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/siteVerification/v1/siteVerification.webResource.getToken)."]]