WaMCP
Api referenceClients

Get Username

Get the phone number's current WhatsApp business username.

GET
/api/clients/{id}/username

Get the phone number's current WhatsApp business username.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

id*Id

Response Body

application/json

application/json

curl -X GET "https://example.com/api/clients/string/username"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}