Skip to content

Glossary

WhatsApp access token kya hai? System user token आसान भाषा में, सुरक्षा के साथ

वह गुप्त key जिससे सॉफ़्टवेयर WhatsApp Cloud API को कॉल करता है, production में business portfolio का system user क्यों इस्तेमाल होता है, और token लीक हो जाए तो क्या करें।

लेखक Broadchat teamप्रकाशित 4 मिनट

Read in English

Definition

एक्सेस टोकन (Access token, system user): Access token वह गुप्त string है जो कोई ऐप WhatsApp Cloud API की हर request के साथ भेजता है, ताकि साबित हो कि उसे किसी WhatsApp Business account की तरफ़ से काम करने की इजाज़त है। Production में इसे आम तौर पर system user के लिए बनाते हैं, यानी business portfolio का बिना इंसान वाला अकाउंट, ताकि कर्मचारी के जाने पर token बंद न हो। इसमें whatsapp_business_messaging और whatsapp_business_management जैसी permissions होती हैं; इसे गुप्त रखें।

Also called: System user token, Permanent access token, Bearer token

WhatsApp access token kya hai और कैसे काम करता है

Cloud API की हर कॉल, जैसे किसी phone number ID से मैसेज भेजना या टेम्पलेट बनाना, Authorization: Bearer … header में एक access token के साथ जाती है। Meta दो बातें जाँचता है: token सही है या नहीं, और क्या उसमें वह permission है जो इस कॉल के लिए चाहिए?

  • whatsapp_business_messaging से ऐप मैसेज भेज और पा सकता है।
  • whatsapp_business_management से वह टेम्पलेट, फ़ोन नंबर और अकाउंट settings संभाल सकता है।
  • business_management कभी-कभी business portfolio के साथ ही काम करने के लिए चाहिए होती है।

किसी व्यक्ति की जगह system user क्यों

किसी व्यक्ति के Facebook login से बना token तब टूट जाता है जब वह पासवर्ड बदले, access खो दे या कंपनी छोड़ दे। System user business portfolio के अंदर बना एक service account है। Admin उसे WhatsApp Business account और ऐप का access देता है, फिर उसके लिए token बनाता है। टीम में कोई आए या जाए, वह token चलता रहता है।

उदाहरण: एजेंसी का handover

प्रिया की एजेंसी ने सनराइज़ क्लिनिक के लिए appointment reminder का integration बनाया, और token प्रिया के अपने login से बना था। जब प्रिया दूसरे क्लाइंट पर चली गईं, क्लिनिक के portfolio से उनका access हटा, और अगली सुबह हर reminder authentication error के साथ फ़ेल हो गया। हल यह था: क्लिनिक के portfolio में एक system user बनाया, उसे WhatsApp अकाउंट assign किया, नया token बनाया और integration में अपडेट किया। अब token क्लिनिक के कंट्रोल में है, और स्टाफ़ बदलने से भेजना नहीं रुकता।

Token को सुरक्षित कैसे रखें

जिसके पास token है, वह आपके बिज़नेस के नाम से मैसेज भेज सकता है और आपका बैलेंस ख़र्च कर सकता है। इसे सिर्फ़ सर्वर पर रखें, कभी वेबसाइट के JavaScript, मोबाइल ऐप, spreadsheet या support चैट में नहीं। Token उजागर हो जाए तो business portfolio settings से उसे तुरंत revoke करें और नया बनाएँ।

Broadchat में access token

जब आप Embedded Signup से नंबर जोड़ते हैं, तो Broadchat Meta का token आपके लिए संभालता है; आपको कभी token paste नहीं करना पड़ता। Developers के लिए Channels → All Channels में हर चैनल का अपना channel access token और /api/meta/{version}/{phone-id or waba-id}/… पर एक Graph-compatible proxy है, ताकि मौजूदा Cloud API कोड Meta token की जगह Broadchat token से Broadchat को कॉल कर सके। इस तरह भेजे गए टेम्पलेट का बिल चैनल wallet से कटता है। प्लेटफ़ॉर्म की पृष्ठभूमि WhatsApp Business API क्या है में है, और नंबर जोड़ने के स्टेप WhatsApp Business API setup गाइड में।

स्रोत

  1. Access tokens for the WhatsApp Business Platform — Meta for Developers, checked 12 October 2026
  2. WhatsApp Business Platform documentation — Meta for Developers, checked 12 October 2026

Broadchat team · Product and partner success team

The people who build and support Broadchat, the white-label WhatsApp Business API platform. We write from what we see while onboarding partners and their clients on the official WhatsApp Cloud API, and we check every article against Meta's current documentation.

आख़िरी अपडेट:

अक्सर पूछे जाने वाले सवाल

क्या developer dashboard के temporary token production में चलते हैं?

वे testing के लिए हैं और जल्दी expire हो जाते हैं। Production integration में business portfolio के system user के लिए बना token इस्तेमाल करें।

क्या Broadchat का channel token और Meta का token एक ही हैं?

नहीं। Channel token सिर्फ़ उस एक चैनल के लिए Broadchat के proxy पर कॉल की इजाज़त देता है। फिर Broadchat सर्वर की तरफ़ से Meta को वही कॉल करता है। फिर भी channel token को गुप्त रखें, क्योंकि उससे भेजे मैसेज का बिल उस चैनल के wallet से कटता है।

ग़लती से token किसी को भेज दिया, अब क्या करूँ?

उसे तुरंत revoke करें और नया token बनाएँ, फिर पुराना token इस्तेमाल करने वाले हर सिस्टम को अपडेट करें। हाल की मैसेज गतिविधि और wallet ख़र्च जाँचें कि कहीं कुछ ऐसा तो नहीं गया जो आपने नहीं भेजा।

Launch WhatsApp under your own brand

Resell campaigns, chatbots, a shared inbox and CRM on the official WhatsApp Cloud API, with your logo, domain and prices.