We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
Was this tool helpful to use?
Your feedback helps us make it better
Build and validate common WeChat Official Account API requests in your browser, with URL, JSON preview, and copyable curl commands.
Used to debug the underlying credential acquisition process, usually just fill in the AppID and AppSecret.
JSON format extended parameters are supported; the tool automatically replaces {{appId}}, {{appSecret}}, {{accessToken}}, {{openId}} in the template.
This API uses GET and does not require a request body.
Please fill in: AppID、AppSecret
Overview
Understand what the tool solves, how it works, and the boundaries of its data.
This page assembles a request preview for selected WeChat Official Account API patterns. Choose one of four templates: request an access token, create a custom menu, send a customer-service message, or retrieve a user’s basic information. The preview shows the HTTP method, URL and query parameters, headers, request body when applicable, required-field checklist, and a copyable cURL command. It is intended to help inspect request construction before you run it in an environment you control.
A valid JSON preview confirms that the text parses as JSON; it does not establish that WeChat will accept the request, that the account has permission, or that a token remains valid. The page does not submit the request or display a live API response.
The menu and message bodies begin with examples. Replace example values with fields that match your account and the current API documentation. The user-information language value is also editable as part of the query JSON.
Select the API template that matches the operation you are testing.
Enter only the credentials and identifiers required by that template.
Inspect and edit the query-parameter JSON or POST body. JSON property names and strings require double quotes, with balanced braces and no trailing commas.
Review the rendered method, complete URL, headers, body, required-field checklist, and cURL command. Check for leftover example text and unintended blank fields.
Run the command only in a trusted terminal or test environment, then inspect the actual response separately.
There are two different checks: syntax and API behavior. Parsing verifies that JSON is structurally readable. The required-field checklist reflects the selected template’s expected inputs. Neither check can establish token freshness, account permissions, recipient eligibility, menu schema acceptance, network connectivity, or the success of an operation. If the request fails after you execute it, use the response from WeChat and its current official documentation to diagnose the issue.
Credentials can appear in the generated URL or cURL text. In particular, access-token and AppSecret values are inserted into query parameters in the access-token template, while access-token values are included in the other templates. Treat the preview and any copied command as sensitive. Avoid placing production credentials in screenshots, shared tickets, public logs, or shell history. Prefer test credentials and a controlled environment; clear sensitive values when finished.
No. It builds and displays a request and cURL command. You must execute the command yourself to receive a live response.
JSON parsing checks syntax, not endpoint-specific business rules, token status, account permissions, or recipient requirements. Compare the actual response with current official API guidance.
The access-token and user-information templates use GET and place values in query parameters. Menu creation and customer-service messaging use POST with a JSON body.
This builder covers only the four listed Official Account patterns. It is not a Mini Program or general WeChat Open Platform debugger, and it does not renew tokens, retry calls, validate live responses, or execute operations. Keep credentials out of shared material and confirm endpoint requirements against the current documentation for your account.
Guide
Follow the workflow and verify inputs and outputs with practical examples.
Choose access token, create menu, send customer-service message, or get user information.
Fill AppID/AppSecret, access token, and OpenID only where the selected request requires them.
Edit query JSON and, for POST templates, body JSON. Remove example values that do not apply.
Read the complete preview and checklist, then copy the cURL command if it matches your intended request.
Execute it in a trusted test environment and evaluate the live response there.
Changing templates replaces the starting request fields with that template’s defaults. Recheck the full preview after switching.
Use cases
See how the tool fits into real work and everyday tasks.
A developer can review whether method, query values, and JSON body are assembled as intended before sending a request from a controlled environment.
A teammate can copy a sanitized command into a test procedure, replacing any credentials with approved test values and recording the response separately.
A maintainer can inspect which generated fields carry tokens before deciding whether a command is safe to copy into a terminal or ticket.
Q&A
Find concise answers to common questions and confusing cases.
No. It displays the configured request but does not contact the API or validate a token.
No. It reports template-level required values. The API may require additional permissions or business-specific values.
Not automatically. It may contain secrets or identifiers in its URL or body. Sanitize it before sharing and use test credentials.
Notes
Review scope, result limitations, and important precautions before use.
AppSecret, access tokens, OpenIDs, URLs, and request bodies may be sensitive. Avoid exposing them in screenshots, public logs, shared links, or command history. API requirements and permissions can change; confirm them in the current official WeChat documentation before running a request. A preview is not a live validation or a successful API result.
Related
Discover related tools, collections, and available API capabilities.