Nfon Customer Extensions API

The Customer Extensions API from Nfon — 38 operation(s) for customer extensions.

OpenAPI Specification

nfon-customer-extensions-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  description: 'The NFON Call History API provides endpoints for retrieving, streaming, and deleting call history records for an authenticated NFON Cloud Telephony user.


    This API is currently offered as part of **Login with NFON (Early Access)**. As an early access offering, the API is subject to change. Updates may occur on short notice, though we strive to provide advance notice where possible.


    For more information, see: https://www.nfon.com/en/integrations/login-with-nfon/'
  title: NFON Call History Accounts Customer Extensions API
  version: 2.0-early-access
  termsOfService: https://www.nfon.com/en/legal/gtc
  contact:
    name: NFON
    email: integration@nfon.com
  license:
    name: NFON proprietary
servers:
- url: https://api.nfon.com/call-history
tags:
- name: Customer Extensions
paths:
  /tenants/{participantExternalIdentifier}/targets/phone-extensions:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      tags:
      - Customer Extensions
      operationId: get_66
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                type: object
              example:
                links:
                - href: /api/sip-servers?_pageSize=20&_offset=0
                  rel: first
                data:
                - value: 'true'
                  name: accessCentralPhoneBook
                - value: '5'
                  name: autodialTimeout
                - value: 'false'
                  name: intercomEnabled
                - value: '3'
                  name: numberguessingLength
                - value: 'true'
                  name: callWaitingIndication
                - value: 'false'
                  name: replicateAgent
                - value: NETWORK
                  name: clirEnabled
                - value: DE
                  name: language
                - value: 'true'
                  name: ncontrolEnabled
                - value: 'false'
                  name: ccbs
                - value: 'false'
                  name: phoneBookHide
                - value: '10'
                  name: timeoutAfterSipTransfer
                - value: Sales
                  name: costCenter
                - value: 'false'
                  name: abandonOtherSoftphones
                - value: 'ON'
                  name: clickToDialState
                - value: NORMAL
                  name: mediaGatewayEmergencyDialplanPriority
                - value: 'OFF'
                  name: recordingMode
                - value: '0'
                  name: dialPrefix
                - value: 'false'
                  name: nMeeting
                - value: 'false'
                  name: useTps
                - value: 'false'
                  name: nhospitalityRoom
                - value: NONE
                  name: ctiInfo
                - value: 'false'
                  name: isCoach
                - value: 'false'
                  name: isCoachee
                - value: 'false'
                  name: isFraudBlocked
                - value: 'false'
                  name: authorizeExternalByPin
                href: /api/customers/example-id/targets/phone-extensions
          description: Success
        '403':
          description: Insufficient permissions
    post:
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/PhoneExtensionPOSTRequest'
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      tags:
      - Customer Extensions
      operationId: post_15
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '403':
          description: Insufficient permissions
        '400':
          description: Validation error
        '201':
          description: Created
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/available-internal-outgoings:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: get_64
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiCollectionResponse'
          description: Success
        '403':
          description: Insufficient permissions
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/call-forwards:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: get_78
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiResponse'
              example:
                links:
                - href: /api/customers/K1234/extensions/100/call-forwards/references/DEFAULT
                  rel: defaultCallForward
                - href: /api/customers/K1234/extensions/100/call-forwards/references/NOT_AVAILABLE
                  rel: notAvailableCallForward
                - href: /api/customers/K1234/extensions/100/call-forwards/references/BUSY
                  rel: busyCallForward
                - href: /api/customers/K1234/extensions/100/call-forwards/references/NOT_REGISTERED
                  rel: notRegisteredCallForward
                - href: /api/customers/K1234/extensions/100/call-forwards/references/PARALLEL_RING
                  rel: parallelRingCallForward
                data:
                - value: Voicemail
                  name: defaultCallForwardName
                - value: Voicemail
                  name: notAvailableCallForwardName
                - value: No Action
                  name: busyCallForwardName
                - value: No Action
                  name: notRegisteredCallForwardName
                - value: No Action
                  name: parallelRingCallForwardName
                - value: 30
                  name: callForwardTimeout
                - value: EXTENSION
                  name: signaledNumber
                - value: true
                  name: externalNumbersEnabled
                href: /api/customers/example-id/targets/phone-extensions/example-id/call-forwards
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
    put:
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/PhoneExtensionCallForwardsPUTRequest'
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: put_24
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '404':
          description: Not found
        '204':
          description: Updated
        '400':
          description: Validation error
        '403':
          description: Insufficient permissions
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/callforward-globals:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: get_70
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiResponse'
              example:
                links:
                - href: /api/customers/K1234/extensions/100/call-forwards/globals/references/PARALLEL_RING
                  rel: parallelRingCallForward
                data:
                - value: EXTENSION
                  name: signaledNumber
                - value: true
                  name: externalNumbersEnabled
                - value: Voicemail
                  name: parallelRingCallForwardName
                href: /api/customers/example-id/targets/phone-extensions/example-id/callforward-globals
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
    put:
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/CallForwardGlobalsPUTRequest'
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: put_18
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '404':
          description: Not found
        '204':
          description: Updated
        '400':
          description: Validation error
        '403':
          description: Insufficient permissions
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/callforward-globals/{type}:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: type
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: get_71
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiResponse'
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
    put:
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/CallForwardGlobalsReferenceRequest'
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: type
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: put_19
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '404':
          description: Not found
        '204':
          description: Updated
        '400':
          description: Validation error
        '403':
          description: Insufficient permissions
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/callforward-globals/{type}/available:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      - schema:
          type: string
        required: true
        in: path
        name: type
      tags:
      - Customer Extensions
      operationId: getAvailable_1
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiCollectionResponse'
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
  ? /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/callforward-profiles/{profileNumber}/rules
  : get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      - schema:
          type: string
        required: true
        in: path
        name: profileNumber
      tags:
      - Customer Extensions
      operationId: get_74
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiCollectionResponse'
          description: Success
        '403':
          description: Insufficient permissions
    post:
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/CallForwardRulesPOSTRequest'
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      - schema:
          type: string
        required: true
        in: path
        name: profileNumber
      tags:
      - Customer Extensions
      operationId: post_18
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '403':
          description: Insufficient permissions
        '400':
          description: Validation error
        '201':
          description: Created
  ? /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/callforward-profiles/{profileNumber}/rules/{sourceId}/{type}/available
  : get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: sourceId
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      - schema:
          type: string
        required: true
        in: path
        name: profileNumber
      - schema:
          type: string
        required: true
        in: path
        name: type
      tags:
      - Customer Extensions
      operationId: getAvailable_2
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiCollectionResponse'
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/devices:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: get_60
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiCollectionResponse'
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
    post:
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/PhoneExtensionDevicesPOSTRequest'
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: post_13
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '403':
          description: Insufficient permissions
        '400':
          description: Validation error
        '201':
          description: Created
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/function-keys/available-targets:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: get_80
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiCollectionResponse'
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/function-keys/{keyNumber}:
    put:
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/FunctionKeyPUTRequest'
      parameters:
      - schema:
          format: int32
          type: integer
        required: true
        in: path
        name: keyNumber
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: put_25
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '404':
          description: Not found
        '204':
          description: Updated
        '400':
          description: Validation error
        '403':
          description: Insufficient permissions
    delete:
      parameters:
      - schema:
          format: int32
          type: integer
        required: true
        in: path
        name: keyNumber
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: delete_19
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '404':
          description: Not found
        '204':
          description: Deleted
        '403':
          description: Insufficient permissions
    get:
      parameters:
      - schema:
          format: int32
          type: integer
        required: true
        in: path
        name: keyNumber
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: get_82
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiResponse'
              example:
                links:
                - href: /api/customers/K1234/targets/100
                  rel: target
                data:
                - value: 1
                  name: keyNumber
                - value: BLF
                  name: type
                - value: John Doe
                  name: displayName
                - value: '*71*200#'
                  name: functionCode
                href: /api/customers/example-id/targets/phone-extensions/example-id/function-keys/example-id
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/inbound-trunk-numbers:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: get_68
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                type: object
              example:
                links: {}
                data:
                - value: '123456'
                  name: didExtension
          description: Success
        '403':
          description: Insufficient permissions
    post:
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/InboundTrunkNumberRequest'
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      tags:
      - Customer Extensions
      operationId: post_16
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '403':
          description: Insufficient permissions
        '400':
          description: Validation error
        '201':
          description: Created
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/function-keys/available-targets:
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      tags:
      - Customer Extensions
      operationId: get_79
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiCollectionResponse'
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
  /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}:
    put:
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/PhoneExtensionPUTRequest'
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      tags:
      - Customer Extensions
      operationId: put_17
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '404':
          description: Not found
        '204':
          description: Updated
        '400':
          description: Validation error
        '403':
          description: Insufficient permissions
    delete:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      tags:
      - Customer Extensions
      operationId: delete_15
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '404':
          description: Not found
        '204':
          description: Deleted
        '403':
          description: Insufficient permissions
    get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      tags:
      - Customer Extensions
      operationId: get_67
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                $ref: '#/components/schemas/NfonApiResponse'
              example:
                links:
                - href: /api/customers/K0001/blacklist-profiles/1
                  rel: blacklistProfile
                - href: /api/customers/K0001/customer-contracts/a1B2c3D4
                  rel: customerContract
                - href: /api/customers/K0001/targets/phone-extensions/200
                  rel: internalOutgoing
                - href: /api/customers/K0001/trunks/01
                  rel: preferredOutboundTrunk
                - href: /api/customers/K0001/sites/a1B2c3D4
                  rel: emergencySite
                - href: /api/customers/K0001/targets/phone-extensions/available-cti-info/NONE
                  rel: ctiInfo
                - href: /api/time-zones/Europe.Berlin
                  rel: timezone
                - href: /api/customers/K0001/voice-recording-profiles/1
                  rel: voiceRecordingProfile
                data:
                - value: 'true'
                  name: accessCentralPhoneBook
                - value: '5'
                  name: autodialTimeout
                - value: 'false'
                  name: intercomEnabled
                - value: '3'
                  name: numberguessingLength
                - value: 'true'
                  name: callWaitingIndication
                - value: 'false'
                  name: replicateAgent
                - value: NETWORK
                  name: clirEnabled
                - value: DE
                  name: language
                - value: 'true'
                  name: ncontrolEnabled
                - value: 'false'
                  name: ccbs
                - value: 'false'
                  name: phoneBookHide
                - value: '10'
                  name: timeoutAfterSipTransfer
                - value: Sales
                  name: costCenter
                - value: 'false'
                  name: abandonOtherSoftphones
                - value: 'ON'
                  name: clickToDialState
                - value: NORMAL
                  name: mediaGatewayEmergencyDialplanPriority
                - value: 'OFF'
                  name: recordingMode
                - value: '0'
                  name: dialPrefix
                - value: 'false'
                  name: nMeeting
                - value: 'false'
                  name: useTps
                - value: 'false'
                  name: nhospitalityRoom
                - value: NONE
                  name: ctiInfo
                - value: 'false'
                  name: isCoach
                - value: 'false'
                  name: isCoachee
                - value: 'false'
                  name: isFraudBlocked
                - value: 'false'
                  name: authorizeExternalByPin
                href: /api/customers/example-id/targets/phone-extensions/example-id
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
  ? /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensionNumber}/outbound-trunk-numbers/available-trunks
  : get:
      parameters:
      - schema:
          type: string
        required: true
        in: path
        name: extensionNumber
      - schema:
          type: string
        required: true
        in: path
        name: participantExternalIdentifier
      tags:
      - Customer Extensions
      operationId: getAvailableTrunks
      security:
      - oauth2:
        - tenant.manager
      - oauth2:
        - tenant.system-integrator
      - oauth2:
        - tenant.operator
      - oauth2:
        - tenant.admin
      responses:
        '200':
          content:
            application/vnd.collection.next+json:
              schema:
                type: object
          description: Success
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
  ? /tenants/{participantExternalIdentifier}/targets/phone-extensions/{extensio

# --- truncated at 32 KB (97 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/nfon/refs/heads/main/openapi/nfon-customer-extensions-api-openapi.yml