API ReferenceConnections
Get Profile
Retrieve the WhatsApp profile information for a connection.
GET /api/connections/{id}/me
Returns the WhatsApp profile information (phone number ID and display name) for the linked account on this connection. The connection must be in online status.
Authentication
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer token. Format: Bearer <token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The unique identifier of the connection. |
Response
{
"id": "1234567890@c.us",
"pushName": "John Doe"
}{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 404,
"message": "Connection not found"
}