About WhatsApp Data
Retrieves the profile information of the WhatsApp account connected to this session.
Authentication Required
Login to swap the placeholders with your real Instance ID and Access Token.
Log InNo query parameters required
This endpoint doesn't expect data in the URL.
Best practices
Cache this response locally to display 'Connected to +201XXXX' in your UI without pinging the API repeatedly.
Validate the returned 'id' against your database records to ensure the user scanned the correct number.
Request Parameters
Configure the parameters required to interact with this endpoint. All query and body arguments are listed below with their details.
URL Parameters
Passed in the URL query stringstring | The 12-character ID of the instance Example: | ||
string | Your API Access Token Example: |
Request Samples
Use these ready-to-go code snippets to integrate our API into your project quickly and efficiently. Choose your preferred language and library.
Expected Responses
Explore all possible responses and outcomes from the server. We have documented each status code with data examples to make success and error handling easier.
Example
{
"id": "201012345678@c.us",
"pushName": "John Doe",
"platform": "android",
"me": {
"id": "201012345678@c.us",
"name": "John Doe"
}
}Command Palette
Search for a command to run...