RelayAPI

List purchased phone numbers

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

API key (rlay_live_* or rlay_test_*)

In: header

Query Parameters

status?string

Filter by provisioning status

Value in"purchasing" | "pending_verification" | "verified" | "active" | "releasing" | "released"

Response Body

application/json

application/json

curl -X GET "https://api.relayapi.dev/v1/whatsapp/phone-numbers"
{
  "data": [
    {
      "id": "string",
      "phone_number": "string",
      "status": "purchasing",
      "provider": "string",
      "country": "string",
      "wa_phone_number_id": "string",
      "social_account_id": "string",
      "monthly_cost_cents": 0,
      "created_at": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}

Found something wrong? Help us improve this page.

Submit an Issue
Requires a GitHub account.View repo