Messaging API
Account info
Read the WhatsApp number behind your API key.
POST /api/v1/meReturns the WhatsApp business number the API key is attached to. Useful to verify a key works and to confirm which number it sends from. No request body.
Request
curl -X POST https://api.getkanal.com/api/v1/me \
-H "Authorization: Bearer 8fK2pX9mWq4Ld7Vb3Nc6Ts1Z"Response 200 OK
{
"display_phone_number": "+33 6 12 34 56 78",
"verified_name": "My Shop"
}Errors
Only the shared middleware errors: 401
({ "error": "Invalid API key" }) and 403
({ "error": "Team has no active subscription" }).