List numbers reserved to your account

List of numbers that have been received to your account and their status.

Request

Endpoint: /api/numbers
Method: GET
Headers: Accept: application/vnd.cloudlx.v1+json
Authorization: Bearer <access_token>

Optional GET request parameters

search Description The number must contain these digits
Type Integer
Example 123
max_per_page Description Limit the number of results returned (max 200)
Type Integer
Example 50
page Description The page number, if the number of results exceeds max_per_page
Type Integer
Example 2

Response

Example:

                                
    {
        "numbers": [
        {
                "uuid": "7c327e0f-6bce-4b2f-9d5d-9c86e7fa065f",
                "number_e164": "+441245123456",
                "number": "123456",
                "range_code": "1245",
                "range_name": "Chelmsford",
                "country_code": "44",
                "country_name": "United Kingdom",
                "country_iso": "UK",
                "monthly_charge": 0.3,
                "setup_charge": 0,
                "status": "Reserved",
                "details" : {
                    "status": "Reserved",
                    "provisioned": "2018-11-12 14:21:48",
                    "cancelled": "",
                    "number_address": {
                        "id": 1,
                        "name": "Main office",
                        "useForProofOfAddress": true,
                        "useForEmergencyAddress": false,
                        "addressLine1":  "7800 Alexander Road",
                        "addressLine2":  "",
                        "addressCity": "London",
                        "addressRegion": "London",
                        "addressPostalCode": "NW2 1AA",
                        "addressCountry": {
                            "name": "United Kingdom",
                            "iso": "GB"
                        }
                    },
                    "emergency_number_address": {
                        "id": 2,
                        "name": "Other Main office",
                        "useForProofOfAddress": false,
                        "useForEmergencyAddress": true,
                        "addressLine1": "7801 Alexander Road",
                        "addressLine2": "",
                        "addressCity": "London",
                        "addressRegion": "London",
                        "addressPostalCode": "NW2 1AA",
                        "addressCountry": {
                            "name": "United Kingdom",
                            "iso": "GB"
                        }
                    }
                },
                "provisioned": "2016-01-03 17:48:59",
                "number_translations": {
                    "all": "441245123456"
                }
            }
        ],
        "num_results": 1,
        "paginates": false
    }
                                
                            
uuid Description The uuid for the number, used to perform actions on the number
Type String
Example 7c327e0f-6bce-4b2f-9d5d-9c86e7fa065f
number_e164 Description The E.164 representation of the number
Type String
Example +441245123456
number Description The local number
Type String
Example 123456
range_code Description The range code for the number
Type String
Example 1245
range_name Description The range name, such as number type or area code
Type String
Example Chelmsford
country_code Description The country dialling code for the number
Type String
Example 44
country_name Description The country name for the number
Type String
Example United Kingdom
country_iso Description The ISO code for the country
Type String
Example UK
monthly_charge Description The monthly cost for the number
Type String
Example 0.3
setup_charge Description The once off setup cost for the number
Type String
Example 0
status Description The status of the number
Type String
Example Reserved
number_address Description The address associated with the telephone number (possible for proof of address). This property will be null if no address is associated.
Type Object
Example
{
    "id": 1,
    "name": "Main office",
    "useForProofOfAddress": true,
    "useForEmergencyAddress": false,
    "addressLine1": "7800 Alexander Road",
    "addressLine2": "",
    "addressCity": "London",
    "addressRegion": "London",
    "addressPostalCode": "NW2 1AA",
    "addressCountry": {
        "name": "United Kingdom",
        "iso": "GB"
    }
}
emergency_number_address Description The address registered with the emergency services for this telephone number. This property will be null if no address is associated.
Type Object
Example
{
    "id": 2,
    "name": "Other Main office",
    "useForProofOfAddress": false,
    "useForEmergencyAddress": true,
    "addressLine1": "7801 Alexander Road",
    "addressLine2": "",
    "addressCity": "London",
    "addressRegion": "London",
    "addressPostalCode": "NW2 1AA",
    "addressCountry": {
        "name": "United Kingdom",
        "iso": "GB"
    }
}
provisioned Description The timestamp the number was provisioned to your account
Type Timestamp
Example 2016-01-03 17:48:59
number_translations Description The number translation set up on the number.
all relates to a generic translation.
fixed mobile payohone related to specific translation for call incoming from particular networks types. Available on TOLL FREE numbers only.
Type Object
Example Toll Free:
{
    "fixed": "80011111111",
    "mobile": "80011111112"
    "payphone": "80011111113"
}
Any other number type:
{
    "all": "44203555555"
}
num_results Description The total number of results returned
Type Integer
Example 10
paginates Description Whether or not the number of results exceeds the maximum number of results specified
Type Boolean
Example false

Back to top