Telnyx Bulk Phone Number Operations API

Background jobs performed over a batch of phone numbers

Operations 5

GET /phone_numbers/jobs Lists the phone numbers jobs #
POST /phone_numbers/jobs/delete_phone_numbers Delete a batch of numbers #
POST /phone_numbers/jobs/update_emergency_settings Update the emergency settings from a batch of numbers #
POST /phone_numbers/jobs/update_phone_numbers Update a batch of numbers #
GET /phone_numbers/jobs/{id} Retrieve a phone numbers job #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/telnyx-bulk-phone-number-operations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

telnyx-bulk-phone-number-operations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@telnyx.com
  description: Telnyx provides global communications and connectivity APIs for developers — including SIP trunking, programmable voice, SMS, MMS, WhatsApp Business Messaging, Call Control, Fax, Wireless (IoT & eSIM), Phone Numbers (DID provisioning & porting), Emergency Services, and Network APIs for private interconnects and edge connectivity. Build, scale, and manage voice, messaging, and data networks with Telnyx's carrier-grade global infrastructure and API-first platform.
  title: Telnyx Bulk Phone Number Operations API
  version: 2.0.0
  x-endpoint-cost: light
servers:
- description: Version 2.0.0 of the Telnyx API
  url: https://api.telnyx.com/v2
security:
- bearerAuth: []
tags:
- description: Background jobs performed over a batch of phone numbers
  name: Bulk Phone Number Operations
paths:
  /phone_numbers/jobs:
    get:
      operationId: ListPhoneNumbersJobs
      parameters:
      - $ref: '#/components/parameters/numbers_PageConsolidated'
      - description: Specifies the sort order for results. If not given, results are sorted by created_at in descending order.
        in: query
        name: sort
        required: false
        schema:
          enum:
          - created_at
          example: created_at
          type: string
      - description: 'Consolidated filter parameter (deepObject style). Originally: filter[type]'
        explode: true
        in: query
        name: filter
        schema:
          properties:
            type:
              description: Identifies the type of the background job.
              enum:
              - update_emergency_settings
              - delete_phone_numbers
              - update_phone_numbers
              example: update_emergency_settings
              type: string
          type: object
        style: deepObject
      responses:
        '200':
          $ref: '#/components/responses/ListPhoneNumbersJobsResponse'
        '400':
          $ref: '#/components/responses/numbers_BadRequestResponse'
        '401':
          $ref: '#/components/responses/numbers_UnauthorizedResponse'
        '422':
          content:
            application/json:
              examples:
                Invalid page number:
                  value:
                    errors:
                    - code: '10015'
                      detail: The provided 'page' parameter is invalid. It must be an object with 'size' and/or 'number' with numeric values.
                      meta:
                        url: https://developers.telnyx.com/docs/overview/errors/10015
                      source:
                        pointer: page/number
                      title: Invalid pagination
                Invalid page size:
                  value:
                    errors:
                    - code: '10015'
                      detail: The provided 'page' parameter is invalid. It must be an object with 'size' and/or 'number' with numeric values.
                      meta:
                        url: https://developers.telnyx.com/docs/overview/errors/10015
                      source:
                        pointer: page/size
                      title: Invalid pagination
                Invalid sorting value:
                  value:
                    errors:
                    - code: '10015'
                      detail: The value provided for sorting is not valid. Check the value used and try again.
                      meta:
                        url: https://developers.telnyx.com/docs/overview/errors/10015
                      source:
                        pointer: /sort
                      title: Invalid sorting value
              schema:
                $ref: '#/components/schemas/numbers_Errors'
          description: Unprocessable Entity
        '500':
          $ref: '#/components/responses/numbers_GenericErrorResponse'
      summary: Lists the phone numbers jobs
      tags:
      - Bulk Phone Number Operations
      x-endpoint-cost: medium
      x-group-parameters: 'true'
      x-latency-category: responsive
  /phone_numbers/jobs/delete_phone_numbers:
    post:
      description: Creates a new background job to delete a batch of numbers. At most one thousand numbers can be updated per API call.
      operationId: CreateDeletePhoneNumbersJob
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhoneNumbersJobDeletePhoneNumbersRequest'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/PhoneNumbersJob'
                title: Phone Numbers Job Delete Phone Numbers
                type: object
          description: Phone numbers job delete phone numbers requested.
        '400':
          $ref: '#/components/responses/numbers_BadRequestResponse'
        '401':
          $ref: '#/components/responses/numbers_UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/numbers_ForbiddenResponse'
        '422':
          content:
            application/json:
              examples:
                Maximum allowed phone numbers:
                  $ref: '#/components/examples/MaximumAllowedPhoneNumbers'
                Maximum jobs allowed:
                  $ref: '#/components/examples/Maximum20JobsAllowed'
                Minimum allowed phone numbers:
                  $ref: '#/components/examples/MinimumAllowedPhoneNumbers'
                Mixed IDs and E164 values:
                  $ref: '#/components/examples/MixedIdsAndE164Values'
                Phone number ownership:
                  $ref: '#/components/examples/PhoneNumberOwnership'
                Phone numbers must be present:
                  $ref: '#/components/examples/PhoneNumbersMustBePresent'
              schema:
                $ref: '#/components/schemas/numbers_Errors'
          description: Unprocessable Entity
        '500':
          $ref: '#/components/responses/numbers_GenericErrorResponse'
      summary: Delete a batch of numbers
      tags:
      - Bulk Phone Number Operations
      x-group-parameters: 'true'
      x-latency-category: background
  /phone_numbers/jobs/update_emergency_settings:
    post:
      description: Creates a background job to update the emergency settings of a collection of phone numbers. At most one thousand numbers can be updated per API call.
      operationId: CreatePhoneNumbersJobUpdateEmergencySettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhoneNumbersJobUpdateEmergencySettingsRequest'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/PhoneNumbersJob'
                title: Phone Numbers Enable Emergency
                type: object
          description: Phone numbers enable emergency requested.
        '400':
          $ref: '#/components/responses/numbers_BadRequestResponse'
        '401':
          $ref: '#/components/responses/numbers_UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/numbers_ForbiddenResponse'
        '422':
          content:
            application/json:
              examples:
                Maximum allowed phone numbers:
                  $ref: '#/components/examples/MaximumAllowedPhoneNumbers'
                Maximum jobs allowed:
                  value:
                    errors:
                    - code: '10015'
                      detail: You can have at most 500 pending or in progress jobs
                      meta:
                        url: https://developers.telnyx.com/docs/overview/errors/10015
                      source:
                        pointer: /base
                      title: Bad Request
                Minimum allowed phone numbers:
                  $ref: '#/components/examples/MinimumAllowedPhoneNumbers'
                Mixed IDs and E164 values:
                  $ref: '#/components/examples/MixedIdsAndE164Values'
                Phone number ownership:
                  $ref: '#/components/examples/PhoneNumberOwnership'
                Phone numbers must be present:
                  $ref: '#/components/examples/PhoneNumbersMustBePresent'
              schema:
                $ref: '#/components/schemas/numbers_Errors'
          description: Unprocessable Entity
        '500':
          $ref: '#/components/responses/numbers_GenericErrorResponse'
      summary: Update the emergency settings from a batch of numbers
      tags:
      - Bulk Phone Number Operations
      x-latency-category: background
  /phone_numbers/jobs/update_phone_numbers:
    post:
      description: 'Creates a new background job to update a batch of numbers. At most one thousand numbers can be updated per API call. At least one of the updateable fields must be submitted. IMPORTANT: You must either specify filters (using the filter parameters) or specific phone numbers (using the phone_numbers parameter in the request body). If you specify filters, ALL phone numbers that match the given filters (up to 1000 at a time) will be updated. If you want to update only specific numbers, you must use the phone_numbers parameter in the request body. When using the phone_numbers parameter, ensure you follow the correct format as shown in the example (either phone number IDs or phone numbers in E164 format).'
      operationId: CreateUpdatePhoneNumbersJob
      parameters:
      - description: 'Consolidated filter parameter (deepObject style). Originally: filter[has_bundle], filter[tag], filter[connection_id], filter[phone_number], filter[status], filter[voice.connection_name], filter[voice.usage_payment_method], filter[billing_group_id], filter[emergency_address_id], filter[customer_reference]'
        explode: true
        in: query
        name: filter
        schema:
          properties:
            billing_group_id:
              description: Filter by the billing_group_id associated with phone numbers. To filter to only phone numbers that have no billing group associated them, set the value of this filter to the string 'null'.
              example: 62e4bf2e-c278-4282-b524-488d9c9c43b2
              type: string
            connection_id:
              description: Filter by connection_id.
              example: '1521916448077776306'
              type: string
            customer_reference:
              description: Filter numbers via the customer_reference set.
              type: string
            emergency_address_id:
              description: Filter by the emergency_address_id associated with phone numbers. To filter only phone numbers that have no emergency address associated with them, set the value of this filter to the string 'null'.
              example: '9102160989215728032'
              type: string
            has_bundle:
              description: Filter by phone number that have bundles.
              type: string
            phone_number:
              description: "Filter by phone number. Requires at least three digits.\n             Non-numerical characters will result in no values being returned."
              type: string
            status:
              description: Filter by phone number status.
              enum:
              - purchase-pending
              - purchase-failed
              - port-pending
              - active
              - deleted
              - port-failed
              - emergency-only
              - ported-out
              - port-out-pending
              example: active
              type: string
            tag:
              description: Filter by phone number tags.
              type: string
            voice.connection_name:
              additionalProperties: false
              description: Filter by voice connection name pattern matching.
              properties:
                contains:
                  description: Filter contains connection name. Requires at least three characters.
                  example: test
                  type: string
                ends_with:
                  description: Filter ends with connection name. Requires at least three characters.
                  example: test
                  type: string
                eq:
                  description: Filter by connection name.
                  example: test
                  type: string
                starts_with:
                  description: Filter starts with connection name. Requires at least three characters.
                  example: test
                  type: string
              type: object
            voice.usage_payment_method:
              description: Filter by usage_payment_method.
              enum:
              - pay-per-minute
              - channel
              example: channel
              type: string
          type: object
        style: deepObject
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhoneNumbersJobUpdatePhoneNumbersRequest'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/PhoneNumbersJob'
                title: Phone Numbers Job Update Phone Numbers
                type: object
          description: Phone numbers job update phone numbers requested.
        '400':
          $ref: '#/components/responses/numbers_BadRequestResponse'
        '401':
          $ref: '#/components/responses/numbers_UnauthorizedResponse'
        '403':
          content:
            application/json:
              examples:
                Billing group not authorized:
                  value:
                    errors:
                    - code: '10010'
                      detail: The specified billing group either does not exist or is not part of your account
                      meta:
                        url: https://developers.telnyx.com/docs/overview/errors/10010
                      source:
                        pointer: /billing_group_id
                      title: Authorization Failed
                Not authorized:
                  $ref: '#/components/examples/NotAuthorized'
              schema:
                $ref: '#/components/schemas/numbers_Errors'
          description: Forbidden
        '422':
          content:
            application/json:
              examples:
                Maximum allowed phone numbers:
                  $ref: '#/components/examples/MaximumAllowedPhoneNumbers'
                Maximum jobs allowed:
                  $ref: '#/components/examples/Maximum20JobsAllowed'
                Minimum allowed phone numbers:
                  $ref: '#/components/examples/MinimumAllowedPhoneNumbers'
                Minimum updateable field:
                  value:
                    errors:
                    - code: '10015'
                      detail: You must provide at least 1 updateable field.
                      meta:
                        url: https://developers.telnyx.com/docs/overview/errors/10015
                      source:
                        pointer: /updateable_fields
                      title: Bad Request
                Mixed IDs and E164 values:
                  $ref: '#/components/examples/MixedIdsAndE164Values'
                Phone number ownership:
                  $ref: '#/components/examples/PhoneNumberOwnership'
                Phone numbers must be present:
                  $ref: '#/components/examples/PhoneNumbersMustBePresent'
              schema:
                $ref: '#/components/schemas/numbers_Errors'
          description: Unprocessable Entity
        '500':
          $ref: '#/components/responses/numbers_GenericErrorResponse'
      summary: Update a batch of numbers
      tags:
      - Bulk Phone Number Operations
      x-group-parameters: 'true'
      x-latency-category: background
  /phone_numbers/jobs/{id}:
    get:
      operationId: RetrievePhoneNumbersJob
      parameters:
      - description: Identifies the Phone Numbers Job.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/PhoneNumbersJob'
                title: Phone Numbers Job
                type: object
          description: Phone numbers job details.
        '400':
          $ref: '#/components/responses/numbers_BadRequestResponse'
        '401':
          $ref: '#/components/responses/numbers_UnauthorizedResponse'
        '404':
          content:
            application/json:
              examples:
                Resource not found:
                  value:
                    errors:
                    - code: '10005'
                      detail: The requested resource or URL could not be found.
                      meta:
                        url: https://developers.telnyx.com/docs/overview/errors/10005
                      source:
                        pointer: /base
                      title: Resource not found
              schema:
                $ref: '#/components/schemas/numbers_Errors'
          description: Not Found
        '422':
          $ref: '#/components/responses/numbers_UnprocessableEntity'
        '500':
          $ref: '#/components/responses/numbers_GenericErrorResponse'
      summary: Retrieve a phone numbers job
      tags:
      - Bulk Phone Number Operations
      x-group-parameters: 'true'
      x-latency-category: responsive
components:
  responses:
    numbers_BadRequestResponse:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/numbers_Errors'
      description: Bad request, the request was unacceptable, often due to missing a required parameter.
    ListPhoneNumbersJobsResponse:
      content:
        application/json:
          schema:
            properties:
              data:
                items:
                  $ref: '#/components/schemas/PhoneNumbersJob'
                type: array
              meta:
                $ref: '#/components/schemas/PaginationMeta'
            title: List Phone Numbers Background Jobs Response
            type: object
      description: Successful response with a list of phone numbers background jobs.
    numbers_UnauthorizedResponse:
      content:
        application/json:
          examples:
            Authentication Failed:
              value:
                errors:
                - code: '10009'
                  detail: Could not understand the provided credentials.
                  meta:
                    url: https://developers.telnyx.com/docs/overview/errors/10009
                  title: Authentication failed
          schema:
            $ref: '#/components/schemas/numbers_Errors'
      description: Unauthorized
    numbers_ForbiddenResponse:
      content:
        application/json:
          examples:
            Not authorized:
              $ref: '#/components/examples/NotAuthorized'
          schema:
            $ref: '#/components/schemas/numbers_Errors'
      description: Forbidden
    numbers_GenericErrorResponse:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/numbers_Errors'
      description: Unexpected error
    numbers_UnprocessableEntity:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/numbers_Errors'
      description: Unprocessable entity. Check the 'detail' field in response for details.
  schemas:
    UpdatePhoneNumberVoiceSettingsRequest:
      example:
        call_forwarding:
          call_forwarding_enabled: true
          forwarding_type: always
          forwards_to: '+13035559123'
        call_recording:
          inbound_call_recording_channels: single
          inbound_call_recording_enabled: true
          inbound_call_recording_format: wav
        caller_id_name_enabled: true
        cnam_listing:
          cnam_listing_details: example
          cnam_listing_enabled: true
        inbound_call_screening: disabled
        media_features:
          accept_any_rtp_packets_enabled: true
          rtp_auto_adjust_enabled: true
          t38_fax_gateway_enabled: true
        tech_prefix_enabled: true
        translated_number: '+13035559999'
        usage_payment_method: pay-per-minute
      properties:
        call_forwarding:
          $ref: '#/components/schemas/CallForwarding'
        call_recording:
          $ref: '#/components/schemas/CallRecording'
        caller_id_name_enabled:
          default: false
          description: Controls whether the caller ID name is enabled for this phone number.
          type: boolean
        cnam_listing:
          $ref: '#/components/schemas/CnamListing'
        inbound_call_screening:
          default: disabled
          description: The inbound_call_screening setting is a phone number configuration option variable that allows users to configure their settings to block or flag fraudulent calls. It can be set to disabled, reject_calls, or flag_calls. This feature has an additional per-number monthly cost associated with it.
          enum:
          - disabled
          - reject_calls
          - flag_calls
          type: string
        media_features:
          $ref: '#/components/schemas/MediaFeatures'
        tech_prefix_enabled:
          default: false
          description: Controls whether a tech prefix is enabled for this phone number.
          type: boolean
        translated_number:
          description: This field allows you to rewrite the destination number of an inbound call before the call is routed to you. The value of this field may be any alphanumeric value, and the value will replace the number originally dialed.
          type: string
        usage_payment_method:
          default: pay-per-minute
          description: Controls whether a number is billed per minute or uses your concurrent channels.
          enum:
          - pay-per-minute
          - channel
          type: string
      type: object
    PhoneNumbersJobUpdateEmergencySettingsRequest:
      example:
        emergency_address_id: '53829456729313'
        emergency_enabled: true
        phone_numbers:
        - '+19705555098'
        - '+19715555098'
        - '32873127836'
      properties:
        emergency_address_id:
          description: Identifies the address to be used with emergency services. Required if emergency_enabled is true, must be null or omitted if emergency_enabled is false.
          type:
          - string
          - 'null'
        emergency_enabled:
          description: Indicates whether to enable or disable emergency services on the numbers.
          type: boolean
        phone_numbers:
          items:
            description: Array of phone number ids and/or phone numbers in E164 format to update
            type: string
          type: array
      required:
      - emergency_enabled
      - phone_numbers
      type: object
    MediaFeatures:
      description: The media features settings for a phone number.
      example:
        accept_any_rtp_packets_enabled: true
        rtp_auto_adjust_enabled: true
        t38_fax_gateway_enabled: true
      properties:
        accept_any_rtp_packets_enabled:
          default: false
          description: When enabled, Telnyx will accept RTP packets from any customer-side IP address and port, not just those to which Telnyx is sending RTP.
          type: boolean
        rtp_auto_adjust_enabled:
          default: true
          description: When RTP Auto-Adjust is enabled, the destination RTP address port will be automatically changed to match the source of the incoming RTP packets.
          type: boolean
        t38_fax_gateway_enabled:
          default: false
          description: Controls whether Telnyx will accept a T.38 re-INVITE for this phone number. Note that Telnyx will not send a T.38 re-INVITE; this option only controls whether one will be accepted.
          type: boolean
      type: object
    CallRecording:
      description: The call recording settings for a phone number.
      example:
        inbound_call_recording_channels: single
        inbound_call_recording_enabled: true
        inbound_call_recording_format: wav
      properties:
        inbound_call_recording_channels:
          default: single
          description: When using 'dual' channels, final audio file will be stereo recorded with the first leg on channel A, and the rest on channel B.
          enum:
          - single
          - dual
          type: string
        inbound_call_recording_enabled:
          default: false
          description: When enabled, any inbound call to this number will be recorded.
          type: boolean
        inbound_call_recording_format:
          default: wav
          description: The audio file format for calls being recorded.
          enum:
          - wav
          - mp3
          type: string
      type: object
    PhoneNumbersJobPhoneNumber:
      properties:
        id:
          description: The phone number's ID
          type: string
        phone_number:
          description: The phone number in e164 format.
          example: '+19705555000'
          type: string
      type: object
    PaginationMeta:
      properties:
        page_number:
          example: 2
          type: integer
        page_size:
          example: 25
          type: integer
        total_pages:
          example: 3
          type: integer
        total_results:
          example: 55
          type: integer
      type: object
    PhoneNumbersJobFailedOperation:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/numbers_Error'
          type: array
        id:
          description: The phone number's ID
          type: string
        phone_number:
          description: The phone number in e164 format.
          type: string
      type: object
    PhoneNumbersJobDeletePhoneNumbersRequest:
      example:
        phone_numbers:
        - '+19705555098'
        - '+19715555098'
        - '32873127836'
      properties:
        phone_numbers:
          items:
            description: Array of phone number ids and/or phone numbers in E164 format to update
            type: string
          type: array
      required:
      - phone_numbers
      type: object
    numbers_Error:
      properties:
        code:
          example: '10007'
          type: string
        detail:
          example: An unexpected error occured.
          type: string
        meta:
          properties:
            url:
              description: URL with additional information on the error.
              example: https://developers.telnyx.com/docs/overview/errors/10015
              type: string
          type: object
        source:
          properties:
            parameter:
              description: Indicates which query parameter caused the error.
              type: string
            pointer:
              description: JSON pointer (RFC6901) to the offending entity.
              example: /base
              type: string
          type: object
        title:
          example: Unexpected error
          type: string
      type: object
    PhoneNumbersJobSuccessfulOperation:
      properties:
        id:
          description: The phone number's ID
          type: string
        phone_number:
          description: The phone number in e164 format.
          type: string
      type: object
    PhoneNumbersJobUpdatePhoneNumbersRequest:
      example:
        billing_group_id: dc8e4d67-33a0-4cbb-af74-7b58f05bd494
        connection_id: dc8e4d67-33a0-4cbb-af74-7b58f05bd494
        customer_reference: customer-reference
        deletion_lock_enabled: true
        external_pin: '123456'
        phone_numbers:
        - '1583466971586889004'
        - '+13127367254'
        tags:
        - tag
        voice:
          call_forwarding:
            call_forwarding_enabled: true
            forwarding_type: always
            forwards_to: '+13035559123'
      properties:
        billing_group_id:
          description: Identifies the billing group associated with the phone number.
          type: string
        connection_id:
          description: Identifies the connection associated with the phone number.
          type: string
        customer_reference:
          description: A customer reference string for customer look ups.
          example: MY REF 001
          type: string
        deletion_lock_enabled:
          description: Indicates whether to enable or disable the deletion lock on each phone number. When enabled, this prevents the phone number from being deleted via the API or Telnyx portal.
          type: boolean
        external_pin:
          description: If someone attempts to port your phone number away from Telnyx and your phone number has an external PIN set, we will attempt to verify that you provided the correct external PIN to the winning carrier. Note that not all carriers cooperate with this security mechanism.
          type: string
        hd_voice_enabled:
          description: Indicates whether to enable or disable HD Voice on each phone number. HD Voice is a paid feature and may not be available for all phone numbers, more details about it can be found in the Telnyx support documentation.
          type: boolean
        phone_numbers:
          description: Array of phone number ids and/or phone numbers in E164 format to update. This parameter is required if no filter parameters are provided. If you want to update specific numbers rather than all numbers matching a filter, you must use this parameter. Each item must be either a valid phone number ID or a phone number in E164 format (e.g., '+13127367254').
          items:
            type: string
          type: array
        tags:
          description: A list of user-assigned tags to help organize phone numbers.
          items:
            type: string
          type: array
        voice:
          $ref: '#/components/schemas/UpdatePhoneNumberVoiceSettingsRequest'
      required:
      - phone_numbers
      type: object
    CallForwarding:
      description: The call forwarding settings for a phone number.
      example:
        call_forwarding_enabled: true
        forwarding_type: always
        forwards_to: '+13035559123'
      properties:
        call_forwarding_enabled:
          default: true
          description: Indicates if call forwarding will be enabled for this number if forwards_to and forwarding_type are filled in. Defaults to true for backwards compatibility with APIV1 use of numbers endpoints.
          example: true
          type: boolean
        forwarding_type:
          description: Call forwarding type. 'forwards_to' must be set for this to have an effect.
          enum:
          - always
          - on-failure
          example: always
          type: string
        forwards_to:
          description: The phone number to which inbound calls to this number are forwarded. Inbound calls will not be forwarded if this field is left blank. If set, must be a +E.164-formatted phone number.
          type: string
      type: object
    CnamListing:
      description: The CNAM listing settings for a phone number.
      example:
        cnam_listing_details: example
        cnam_listing_enabled: true
      properties:
        cnam_listing_details:
          description: The CNAM listing details for this number. Must be alphanumeric characters or spaces with a maximum length of 15. Requires cnam_listing_enabled to also be set to true.
          type: string
        cnam_listing_enabled:
          default: false
          description: Enables CNAM listings for this number. Requires cnam_listing_details to also be set.
          type: boolean
      type: object
    numbers_Errors:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/numbers_Error'
          type: array
      type: object
    PhoneNumbersJob:
      example:
        created_at: '2020-10-23T18:10:00.000Z'
        etc: '2020-10-30T18:10:00.000Z'
        failed_operations:
        - errors:
          - code: '10015'
      

# --- truncated at 32 KB (39 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/telnyx/refs/heads/main/openapi/telnyx-bulk-phone-number-operations-api-openapi.yml