WAHooks
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

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token. Format: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the connection.

Response

200 OK
{
  "id": "1234567890@c.us",
  "pushName": "John Doe"
}
401 Unauthorized
{
  "statusCode": 401,
  "message": "Unauthorized"
}
404 Not Found
{
  "statusCode": 404,
  "message": "Connection not found"
}

On this page