Updated on November 10, 2026
Graph API Explorer is Meta’s in-browser tool for generating a user access token with WhatsApp permissions and testing Graph API calls without writing code. Use it to confirm IDs, list phone numbers and templates, and see the raw API response. When a call fails, the Access Token Debugger (or the debug_token endpoint) tells you whether the token is valid, when it expires, which permissions it has, and which WhatsApp Business Accounts (WABAs) those permissions cover.
This guide applies the Explorer to the WhatsApp Business API: how to build the token, which calls are worth testing, and how to read the debugger to find the cause of errors 190, 10, 200 and 100. If you want a collection for daily use, go with Postman; if you need a production token, see the permanent access token with a system user.
What the Explorer is for (and what it isn’t)
The Explorer is for investigating, not for production.
| Use the Explorer to | Don’t use the Explorer to |
|---|---|
| Find the WABA ID and Phone Number ID behind a token | Run your integration in production |
| See which fields an endpoint returns before you code | Store a token: user tokens expire within hours |
| Reproduce an error from your system with the same ID | Send messages at volume |
| Check whether a permission fixes an access error | Test webhooks (it only sends requests) |
According to the WhatsApp access tokens documentation, the Explorer is one way to generate a user access token, alongside the app’s API Setup panel and Facebook Login. The same page warns that user access tokens expire quickly and have to be regenerated every few hours. For ongoing integrations, Meta points you to system user access tokens.
Prerequisites
- A Meta developer account and an app where you are an admin, developer or tester (required by the Explorer guide).
- The app set up with the WhatsApp use case, and a WhatsApp Business Account (WABA) with at least one phone number.
- Your user with access to the WABA in the business portfolio.
Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →
Step by step in Graph API Explorer
Open developers.facebook.com/tools/explorer while logged in as a user with access to the app.
1. Pick the app
In the top right, the Meta App dropdown lists every app where you have a role. Pick the app linked to your WABA. A token generated for a different app won’t work: debug_token and permissions are always per app.
2. Pick the token type
The User or Page dropdown switches between app, user and Page tokens. For the WhatsApp Business API, use a user token. The same menu lets you uninstall the app from your user, which destroys the current token. That’s handy when you want to reset permissions and start over.
3. Add the permissions
In the Permissions dropdown, add:
whatsapp_business_management: WABA data, phone numbers, templates, analytics and webhook subscriptions.whatsapp_business_messaging: sending messages, media, business profile and phone number registration. It depends on the previous one.business_management: only if you’ll read or change the business portfolio via API. The WhatsApp permissions page says this is rarely needed.
Then click the button to generate the token and accept the authorization dialog. The Explorer guide notes that in development mode you can grant yourself any permission, but on a published app an unapproved permission makes the query fail. Generate a new token every time you add a permission.
4. Pick the version and method
Next to the query field there are two dropdowns: one switches the method (GET, POST, DELETE) and the other the Graph API version. Use the same version as your code. Current WhatsApp documentation examples use v27.0. Testing on one version and running on another is a common source of error 100 for a field that changed.
5. Build the query and submit
Type the path in the query field, for example <WABA_ID>/phone_numbers, and submit. The left panel shows the node’s fields and lets you check or uncheck them, which rewrites ?fields= for you. The response appears right below.
Three buttons at the bottom help day to day:
- Get Code: generates code for the query (cURL and SDKs). Meta notes you usually can’t paste it straight into your codebase, but it’s a good starting point.
- Copy Debug Information: copies the query and response so you can attach them to a Developer Support ticket.
- Save Session: saves the query state with the token removed.
Useful WhatsApp calls in the Explorer
Replace <WABA_ID> and <PHONE_NUMBER_ID> with your values. If you don’t know where to find them yet, see how to find your WABA ID and how to find your Phone Number ID.
List the WABA’s phone numbers
GET /v27.0/<WABA_ID>/phone_numbers
For each number the response includes id (the Phone Number ID), display_phone_number, verified_name and quality_rating. According to the phone numbers documentation, results come in descending order of last_onboarded_time, and the sort parameter flips the order.
{
"data": [
{
"verified_name": "Example Store",
"display_phone_number": "+55 11 98888-8888",
"id": "106540352242922",
"quality_rating": "GREEN"
}
]
}
Get a single phone number
GET /v27.0/<PHONE_NUMBER_ID>
GET /v27.0/<PHONE_NUMBER_ID>?fields=status
GET /v27.0/<PHONE_NUMBER_ID>?fields=throughput
The first returns the number’s basic data (including code_verification_status). status and throughput only come back when you ask for them in fields. If the phone number lookup works but sending fails, the issue is usually the messaging permission, not the ID.
List templates
GET /v27.0/<WABA_ID>/message_templates?fields=name,category,status&limit=5
GET /v27.0/<WABA_ID>/message_templates?status=approved
The response is paginated. When there are more results, the paging object includes next; in the Explorer, just paste that URL into the query field. Keep in mind that templates live on the WABA, not the phone number: calling message_templates on a Phone Number ID won’t work.
Send a test message
Sending is a POST to the Phone Number ID. Switch the method to POST in the Explorer, or use Get Code to take the query to your terminal and send the body as JSON, which is more predictable:
curl -X POST "https://graph.facebook.com/v27.0/<PHONE_NUMBER_ID>/messages" \
-H "Authorization: Bearer <EXPLORER_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"messaging_product": "whatsapp",
"to": "5511988888888",
"type": "template",
"template": {
"name": "hello_world",
"language": { "code": "en_US" }
}
}'
A response with messages[0].id (the wamid) means Meta accepted the message, not that it was delivered. Delivery is reported by the status webhook. Use an approved template: free-form text is only delivered inside the 24-hour window opened by the customer.
Access Token Debugger: what to check
The Access Token Debugger lives at developers.facebook.com/tools/debug/accesstoken. Paste a token and it shows the same information as the debug_token endpoint. Inside the Explorer, the info icon next to the token shows the app and the permissions granted.
The debug_token reference lists these fields:
| Field | What it shows | What to check |
|---|---|---|
app_id / application | App that owns the token | Is it the app linked to the WABA? |
is_valid | Whether the token still works | false explains an error 190 |
issued_at / expires_at | Issue and expiry time (unixtime) | Compare with the time of the error |
data_access_expires_at | When access to the user’s data ends | Another date that can cut access |
scopes | Permissions granted | Are both WhatsApp permissions there? |
granular_scopes | Permission per target, with target_ids | Is your WABA in the list? |
user_id | User behind the token | Is it someone with access to the WABA? |
error | Error the Graph API would return because of the token | code and subcode |
granular_scopes: the field that solves the most
scopes tells you which permissions the token has. granular_scopes tells you where they apply. For WhatsApp permissions, target_ids holds the IDs of the accounts granted. Meta’s account management documentation uses exactly this to find the shared WABA after Embedded Signup, and says the most recently onboarded accounts appear first in the array. According to the debug_token reference, when a permission applies to all targets, the targets aren’t shown.
A typical response looks like this (illustrative IDs):
{
"data": {
"app_id": "123456789012345",
"application": "My Integration",
"expires_at": 1762794000,
"is_valid": true,
"scopes": [
"whatsapp_business_management",
"whatsapp_business_messaging",
"public_profile"
],
"granular_scopes": [
{ "scope": "whatsapp_business_management", "target_ids": ["102290129340398"] },
{ "scope": "whatsapp_business_messaging", "target_ids": ["102290129340398"] }
],
"user_id": "10229876543210"
}
}
If the WABA you’re calling isn’t in target_ids, the permission exists, just not for that account. That’s the classic permission error on a token that “has everything.”
The debug_token endpoint
To check tokens from your code (for example, in a daily health check), call the endpoint:
curl -G "https://graph.facebook.com/v27.0/debug_token" \
--data-urlencode "input_token=<TOKEN_TO_INSPECT>" \
-H "Authorization: Bearer <TOKEN_FROM_THE_SAME_APP>"
The access_token for the call can be an app token or a user token belonging to a developer of the app, and both tokens must come from the same app. The token debugging guide points out that Meta doesn’t notify you when a token is invalidated: you usually find out when a call fails, unless you store the expiry time alongside the token.
import time, requests
def check_token(token, app_token, waba_id, version="v27.0"):
r = requests.get(
f"https://graph.facebook.com/{version}/debug_token",
params={"input_token": token},
headers={"Authorization": f"Bearer {app_token}"},
timeout=10,
).json()["data"]
problems = []
if not r.get("is_valid"):
problems.append("invalid token")
exp = r.get("expires_at")
if exp and exp - time.time() < 7 * 86400:
problems.append("expires in less than 7 days")
for perm in ("whatsapp_business_management", "whatsapp_business_messaging"):
if perm not in r.get("scopes", []):
problems.append(f"missing {perm}")
for g in r.get("granular_scopes", []):
targets = g.get("target_ids")
if g["scope"].startswith("whatsapp_") and targets and waba_id not in targets:
problems.append(f"{g['scope']} does not include WABA {waba_id}")
return problems
From error to cause: 190, 10, 200 and 100
Reproduce the failed call in the Explorer with the same ID. Then paste the token into the debugger. Meta’s official error code table recommends handling errors by code and keeping the fbtrace_id for support.
| Code | Official description (summary) | What the debugger usually shows | Fix |
|---|---|---|---|
| 190 | Access token has expired | is_valid: false or expires_at in the past | Generate a new token; in production, use a system user |
| 10 | Permission not granted or removed | whatsapp_business_messaging or ..._management missing from scopes | Add the permission and generate a new token |
| 200–299 | Permission not granted or removed | Permission present, but the WABA is not in target_ids | Give the user access to the WABA and generate a new token |
| 100 | Invalid or unsupported parameter | Token is fine | Check the ID, field name and version |
A few details the Explorer helps you tell apart:
- 190 with a subcode. The debugging guide lists 463 (session expired), 460 (session invalidated, for example after a password change or logout) and 458 (user hasn’t authorized the app). All three need a new token. On the WhatsApp API, though, Meta’s error code table says
error_subcodeis deprecated and not returned since v16.0: branch oncodeand use the debugger to see why the token stopped working. The full walkthrough is in error 190: access token expired. - 200 on another business’s WABA. The permissions page says using
whatsapp_business_managementon accounts your business doesn’t own requires Advanced access; without it, the call fails with error 200. If you only access your own assets, you don’t need App Review. More in permission errors 10 and 200. - 100 that looks like a permission problem. A phone number ID used where the API expects a WABA (or vice versa), or a field that doesn’t exist in that version, returns 100, not 10. If the debugger shows a valid token with the right scopes, look at the path and fields. See error 100 in the Graph API.
A rule of thumb: if GET /<WABA_ID>/phone_numbers works in the Explorer and fails in your system, the problem is your system’s token. If it fails in both with the same token, the problem is permissions or the ID.
Explorer, Postman or cURL?
| Tool | Best for |
|---|---|
| Graph API Explorer | Discovering fields, testing permissions, quickly reproducing errors |
| Access Token Debugger | Reading the validity, scopes and targets of any token |
| Postman | Reusable collection with per-environment variables |
| cURL | Scripts, CI and support tickets |
A workflow that tends to work: investigate in the Explorer, save the call in Postman, and automate checks with debug_token.
Testing tokens and IDs with Vectalk
Vectalk is a proxy for Meta’s official Cloud API. With Vectalk, the platform holds the Meta token: your system uses a Vectalk API key (organization or instance token) in the Authorization: Bearer header. That’s why the Explorer and the Access Token Debugger don’t apply to the calls you make to Vectalk. On Vectalk, 401 means the token is missing, invalid or expired, and 403 means the token is valid but can’t access the resource, such as an organization token calling a route that requires an instance token (Authentication).
In the dashboard, each instance shows the profile, IDs, webhooks, API keys and a test message sender, which covers the “check the IDs” job of the Explorer. Through the API, sending is still POST https://apis.vectalk.com.br/api/messages with Meta’s request body, and templates are listed with GET https://apis.vectalk.com.br/api/templates using an instance token (the WABA is resolved from the token). Webhooks follow the format in Meta’s documentation.
To learn the rest of the platform, start with the official WhatsApp API guide, read the documentation or create your account at apps.vectalk.com.br/register.
Frequently asked questions
Can I use the Graph API Explorer token in production?
No. It’s a user access token, and Meta says user tokens expire quickly and have to be regenerated every few hours. For production, use a system user access token.
Which permissions should I select in the Explorer for the WhatsApp Business API?
whatsapp_business_management and whatsapp_business_messaging. The second depends on the first. Add business_management only if you’ll work with the business portfolio via API.
The Access Token Debugger shows the permissions, but the call returns error 200. Why?
Check granular_scopes. If the WABA in the call isn’t in target_ids, the token has the permission, just not for that account. Another documented cause is using whatsapp_business_management on another business’s accounts without Advanced access.
How do I find the WABA ID with debug_token?
Call debug_token with the token as input_token and read target_ids for the whatsapp_business_management scope. Meta documents this method for Embedded Signup and says the most recent accounts appear first.
Can I test webhooks in Graph API Explorer?
No. The Explorer only sends requests to the Graph API. To receive events, you need a public URL registered in the app or a local tunnel.
Official sources consulted on November 10, 2026: Graph API Explorer guide, debug_token reference, Debugging access tokens, WhatsApp access tokens, WhatsApp permissions, Permissions reference, Phone numbers, Template management, Account management, Error codes, Vectalk docs: Authentication, Vectalk docs: List Templates.
Put your business on the official WhatsApp
Create your account, connect your number to the official API (you can keep the app with coexistence) and start serving customers and sending messages.
