---
updatedAt: 2026-09-09T22:08:03.000Z
agentTools:
  projectIndex: https://developer.callhub.io/llms.txt
---

# /numbers/rented_calling_numbers/

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "2.1"
  },
  "servers": [
    {
      "url": "https://api.callhub.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "x-default": "",
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/numbers/rented_calling_numbers/": {
      "get": {
        "summary": "/numbers/rented_calling_numbers/",
        "description": "",
        "operationId": "v1-numbers-rented_calling_numbers",
        "parameters": [
          {
            "name": "X-Target-Account",
            "in": "header",
            "description": "Username of a target account",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "description": "Number of results expected per page, Max - 1000",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number for pagination",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "countries",
            "in": "query",
            "description": "Comma separated ISO codes of countries. eg - CA,US",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "regions",
            "in": "query",
            "description": "Comma separated ISO codes of regions eg - AA,CA",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "phone_number_prefix",
            "in": "query",
            "description": "To fetch the numbers with specific prefix",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order_by",
            "in": "query",
            "description": "Possible values - last_rent_date & last_used_date",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order_direction",
            "in": "query",
            "description": "Possible values - asc & desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_running_campaign_numbers",
            "in": "query",
            "description": "Expects 0 or 1",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"count\": 2,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"phone_number\": \"18079073446\",\n            \"country\": \"CA\",\n            \"region\": \"ON\",\n            \"last_rent\": \"2025-03-17T06:17:04.592578Z\",\n            \"is_active\": true,\n            \"last_used_date\": null,\n            \"is_used_in_campaign\": false\n        },\n        {\n            \"phone_number\": \"18677682767\",\n            \"country\": \"CA\",\n            \"region\": \"NT\",\n            \"last_rent\": \"2025-03-18T07:38:25.127903Z\",\n            \"is_active\": true,\n            \"last_used_date\": null,\n            \"is_used_in_campaign\": false\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "integer",
                      "example": 2,
                      "default": 0
                    },
                    "next": {
                      "type": "string",
                      "example": ""
                    },
                    "previous": {
                      "type": "string",
                      "example": ""
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "phone_number": {
                            "type": "string",
                            "example": "18079073446"
                          },
                          "country": {
                            "type": "string",
                            "example": "CA"
                          },
                          "region": {
                            "type": "string",
                            "example": "ON"
                          },
                          "last_rent": {
                            "type": "string",
                            "example": "2025-03-17T06:17:04.592578Z"
                          },
                          "is_active": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "last_used_date": {},
                          "is_used_in_campaign": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": {\n        \"error\": \"{'target_account': 'target_account not found'}\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "example": "{'target_account': 'target_account not found'}"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": {\n        \"error\": \"Page not found. The requested page does not exist.\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "example": "Page not found. The requested page does not exist."
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```