{
  "opencollection": "1.0.0",
  "info": {
    "name": "Telnyx Access Tokens Number Settings API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Number Settings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Bulk update phone number profiles",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/messaging_numbers_bulk_updates",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Bulk update phone number profiles"
        },
        {
          "info": {
            "name": "Retrieve bulk update status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/messaging_numbers_bulk_updates/:order_id",
            "params": [
              {
                "name": "order_id",
                "value": "",
                "type": "path",
                "description": "Order ID to verify bulk update status."
              }
            ]
          },
          "docs": "Retrieve bulk update status"
        },
        {
          "info": {
            "name": "List phone numbers with messaging settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/phone_numbers/messaging",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Consolidated page parameter (deepObject style). Originally: page[number], page[size]"
              },
              {
                "name": "filter[messaging_profile_id]",
                "value": "",
                "type": "query",
                "description": "Filter by messaging profile ID."
              },
              {
                "name": "filter[phone_number]",
                "value": "",
                "type": "query",
                "description": "Filter by exact phone number (supports comma-separated list)."
              },
              {
                "name": "filter[phone_number][contains]",
                "value": "",
                "type": "query",
                "description": "Filter by phone number substring."
              },
              {
                "name": "filter[type]",
                "value": "",
                "type": "query",
                "description": "Filter by phone number type."
              },
              {
                "name": "sort[phone_number]",
                "value": "",
                "type": "query",
                "description": "Sort by phone number."
              }
            ]
          },
          "docs": "List phone numbers with messaging settings"
        },
        {
          "info": {
            "name": "Retrieve a phone number with messaging settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/phone_numbers/:id/messaging",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Identifies the type of resource."
              }
            ]
          },
          "docs": "Retrieve a phone number with messaging settings"
        },
        {
          "info": {
            "name": "Update the messaging profile and/or messaging product of a phone number",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.telnyx.com/v2/phone_numbers/:id/messaging",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The phone number to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the messaging profile and/or messaging product of a phone number"
        }
      ]
    }
  ],
  "bundled": true
}