Telnyx · Capability

Telnyx API — Customer Service Record

Telnyx API — Customer Service Record. 4 operations. Lead operation: List customer service records. Self-contained Naftiko capability covering one Telnyx business surface.

Run with Naftiko TelnyxCustomer Service Record

What You Can Do

GET
Listcustomerservicerecords — List customer service records
/v1/customer-service-records
POST
Createcustomerservicerecord — Create a customer service record
/v1/customer-service-records
POST
Verifyphonenumbercoverage — Verify CSR phone number coverage
/v1/customer-service-records/phone-number-coverages
GET
Getcustomerservicerecord — Get a customer service record
/v1/customer-service-records/{customer-service-record-id}

MCP Tools

list-customer-service-records

List customer service records

read-only idempotent
create-customer-service-record

Create a customer service record

verify-csr-phone-number-coverage

Verify CSR phone number coverage

get-customer-service-record

Get a customer service record

read-only idempotent

Capability Spec

telnyx-customer-service-record.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telnyx API — Customer Service Record
  description: 'Telnyx API — Customer Service Record. 4 operations. Lead operation: List customer service records. Self-contained
    Naftiko capability covering one Telnyx business surface.'
  tags:
  - Telnyx
  - Customer Service Record
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TELNYX_API_KEY: TELNYX_API_KEY
capability:
  consumes:
  - type: http
    namespace: telnyx-customer-service-record
    baseUri: https://api.telnyx.com/v2
    description: Telnyx API — Customer Service Record business capability. Self-contained, no shared references.
    resources:
    - name: customer_service_records
      path: /customer_service_records
      operations:
      - name: listcustomerservicerecords
        method: GET
        description: List customer service records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sort
          in: query
          type: object
          description: 'Consolidated sort parameter (deepObject style). Originally: sort[value]'
      - name: createcustomerservicerecord
        method: POST
        description: Create a customer service record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: customer_service_records-phone_number_coverages
      path: /customer_service_records/phone_number_coverages
      operations:
      - name: verifyphonenumbercoverage
        method: POST
        description: Verify CSR phone number coverage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: customer_service_records-customer_service_record_id
      path: /customer_service_records/{customer_service_record_id}
      operations:
      - name: getcustomerservicerecord
        method: GET
        description: Get a customer service record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.TELNYX_API_KEY}}'
  exposes:
  - type: rest
    namespace: telnyx-customer-service-record-rest
    port: 8080
    description: REST adapter for Telnyx API — Customer Service Record. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/customer-service-records
      name: customer-service-records
      description: REST surface for customer_service_records.
      operations:
      - method: GET
        name: listcustomerservicerecords
        description: List customer service records
        call: telnyx-customer-service-record.listcustomerservicerecords
        with:
          sort: rest.sort
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcustomerservicerecord
        description: Create a customer service record
        call: telnyx-customer-service-record.createcustomerservicerecord
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customer-service-records/phone-number-coverages
      name: customer-service-records-phone-number-coverages
      description: REST surface for customer_service_records-phone_number_coverages.
      operations:
      - method: POST
        name: verifyphonenumbercoverage
        description: Verify CSR phone number coverage
        call: telnyx-customer-service-record.verifyphonenumbercoverage
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customer-service-records/{customer-service-record-id}
      name: customer-service-records-customer-service-record-id
      description: REST surface for customer_service_records-customer_service_record_id.
      operations:
      - method: GET
        name: getcustomerservicerecord
        description: Get a customer service record
        call: telnyx-customer-service-record.getcustomerservicerecord
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: telnyx-customer-service-record-mcp
    port: 9090
    transport: http
    description: MCP adapter for Telnyx API — Customer Service Record. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-customer-service-records
      description: List customer service records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-customer-service-record.listcustomerservicerecords
      with:
        sort: tools.sort
      outputParameters:
      - type: object
        mapping: $.
    - name: create-customer-service-record
      description: Create a customer service record
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: telnyx-customer-service-record.createcustomerservicerecord
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: verify-csr-phone-number-coverage
      description: Verify CSR phone number coverage
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: telnyx-customer-service-record.verifyphonenumbercoverage
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-customer-service-record
      description: Get a customer service record
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: telnyx-customer-service-record.getcustomerservicerecord
      outputParameters:
      - type: object
        mapping: $.