API referenceSessions
Get the connected account's own identity
Return identity details for the WhatsApp account attached to this session (JID, device id, push name, phone).
Requires manage capability and an attached/pairing session.
Errors: not_found (404), not_implemented (501), unauthorized (401), forbidden (403).
AuthorizationBearer <token>
Send Authorization: Bearer <token>. The token can be a login JWT from the frontend or an api-key for a script. JWT access comes from the person's organization role. Api-key access comes from the permissions saved on the key.
In: header
Path Parameters
session*string
Session ID within your organization. Unknown or cross-organization sessions return not_found (404).
Example
"sess_01HZX8K3M9"Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/sessions/sess_01HZX8K3M9/me"{ "connected": true, "phoneNumber": "string", "sessionId": "string", "status": "string", "waJid": "string", "waLid": "string"}{ "error": { "code": "not_found", "details": { "property1": null, "property2": null }, "message": "session not found" }}