GET
/
enterprise
/
lease
/
status
/
all
curl --request GET \
  --url https://api.contiguity.co/enterprise/lease/status/all \
  --header 'Authorization: Bearer <token>'
{
  "id": "lna_abc123",
  "object": "all_leased_status",
  "created_at": 123,
  "data": {
    "text": [
      {
        "phoneNumber": "14155552671",
        "available": true,
        "health": "good"
      }
    ],
    "imessage": [
      {
        "phoneNumber": "14155552671",
        "available": true,
        "health": "good"
      }
    ],
    "whatsapp": [
      {
        "phoneNumber": "14155552671",
        "available": true,
        "health": "good"
      }
    ],
    "voice": [
      {
        "phoneNumber": "14155552671",
        "available": true,
        "health": "good"
      }
    ]
  }
}

This endpoint requires an Enterprise plan.

Authorizations

Authorization
string
header
required

Authentication using a Bearer Token. Specify Authorization: Token YOUR_TOKEN. Bearer is allowed.

Response

200
application/json
List of all numbers and their statuses
id
string

Unique identifier for the response

object
enum<string>
Available options:
all_leased_status
created_at
integer

Unix timestamp of when the response was created

data
object