RelayAPI
Whatsapp
GET
/v1/whatsapp/phone-numbers
AuthorizationBearer <token>

In: header

Query Parameters

account_id*string

WhatsApp account ID

Response Body

application/json

application/json

curl -X GET "https://api.relayapi.dev/v1/whatsapp/phone-numbers?account_id=string"
{
  "data": [
    {
      "id": "string",
      "phone_number": "string",
      "status": "active",
      "display_name": "string"
    }
  ]
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}