{
  "opencollection": "1.0.0",
  "info": {
    "name": "Telnyx Access Tokens Addresses API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Addresses",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all addresses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/addresses",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Consolidated page parameter (deepObject style). Originally: page[number], page[size]"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Consolidated filter parameter (deepObject style). Originally: filter[customer_reference][eq], filter[customer_reference][contains], filter[used_as_emergency], filter[street_address][contains], filter[address_book][eq]"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Specifies the sort order for results. By default sorting direction is ascending. To have the results sorted in descending order add the <code> -</code> prefix.<br/><br/>\nThat is: <ul>\n  <li>\n    <code>street_address</code>: sorts the result by the\n    <code>street_address</code> field in ascending order.\n  </li>\n\n  <li>\n    <code>-street_address</code>: sorts the result by the\n    <code>street_address</code> field in descending order.\n  </li>\n</ul> <br/> If not given, results are sorted by <code>created_at</code> in descending order."
              }
            ]
          },
          "docs": "Returns a list of your addresses."
        },
        {
          "info": {
            "name": "Creates an address",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/addresses",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an address."
        },
        {
          "info": {
            "name": "Validate an address",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/addresses/actions/validate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validates an address for emergency services."
        },
        {
          "info": {
            "name": "Retrieve an address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/addresses/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "address ID"
              }
            ]
          },
          "docs": "Retrieves the details of an existing address."
        },
        {
          "info": {
            "name": "Deletes an address",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.telnyx.com/v2/addresses/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "address ID"
              }
            ]
          },
          "docs": "Deletes an existing address."
        },
        {
          "info": {
            "name": "Accepts this address suggestion as a new emergency address for Operator Connect and finishes the uploads of the numbers associated with it to Microsoft.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/addresses/:id/actions/accept_suggestions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The UUID of the address that should be accepted."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Accepts this address suggestion as a new emergency address for Operator Connect and finishes the uploads of the numbers associated with it to Microsoft."
        }
      ]
    }
  ],
  "bundled": true
}