Telnyx · Capability

Telnyx API — Rooms Client Tokens

Telnyx API — Rooms Client Tokens. 2 operations. Lead operation: Create Client Token to join a room.. Self-contained Naftiko capability covering one Telnyx business surface.

Run with Naftiko TelnyxRooms Client Tokens

What You Can Do

POST
Createroomclienttoken — Create Client Token to join a room.
/v1/rooms/{room-id}/actions/generate-join-client-token
POST
Refreshroomclienttoken — Refresh Client Token to join a room.
/v1/rooms/{room-id}/actions/refresh-client-token

MCP Tools

create-client-token-join-room

Create Client Token to join a room.

refresh-client-token-join-room

Refresh Client Token to join a room.

Capability Spec

telnyx-rooms-client-tokens.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telnyx API — Rooms Client Tokens
  description: 'Telnyx API — Rooms Client Tokens. 2 operations. Lead operation: Create Client Token to join a room.. Self-contained
    Naftiko capability covering one Telnyx business surface.'
  tags:
  - Telnyx
  - Rooms Client Tokens
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TELNYX_API_KEY: TELNYX_API_KEY
capability:
  consumes:
  - type: http
    namespace: telnyx-rooms-client-tokens
    baseUri: https://api.telnyx.com/v2
    description: Telnyx API — Rooms Client Tokens business capability. Self-contained, no shared references.
    resources:
    - name: rooms-room_id-actions-generate_join_client_token
      path: /rooms/{room_id}/actions/generate_join_client_token
      operations:
      - name: createroomclienttoken
        method: POST
        description: Create Client Token to join a room.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: room_id
          in: path
          type: string
          description: The unique identifier of a room.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rooms-room_id-actions-refresh_client_token
      path: /rooms/{room_id}/actions/refresh_client_token
      operations:
      - name: refreshroomclienttoken
        method: POST
        description: Refresh Client Token to join a room.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: room_id
          in: path
          type: string
          description: The unique identifier of a room.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.TELNYX_API_KEY}}'
  exposes:
  - type: rest
    namespace: telnyx-rooms-client-tokens-rest
    port: 8080
    description: REST adapter for Telnyx API — Rooms Client Tokens. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/rooms/{room-id}/actions/generate-join-client-token
      name: rooms-room-id-actions-generate-join-client-token
      description: REST surface for rooms-room_id-actions-generate_join_client_token.
      operations:
      - method: POST
        name: createroomclienttoken
        description: Create Client Token to join a room.
        call: telnyx-rooms-client-tokens.createroomclienttoken
        with:
          room_id: rest.room_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/rooms/{room-id}/actions/refresh-client-token
      name: rooms-room-id-actions-refresh-client-token
      description: REST surface for rooms-room_id-actions-refresh_client_token.
      operations:
      - method: POST
        name: refreshroomclienttoken
        description: Refresh Client Token to join a room.
        call: telnyx-rooms-client-tokens.refreshroomclienttoken
        with:
          room_id: rest.room_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: telnyx-rooms-client-tokens-mcp
    port: 9090
    transport: http
    description: MCP adapter for Telnyx API — Rooms Client Tokens. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-client-token-join-room
      description: Create Client Token to join a room.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: telnyx-rooms-client-tokens.createroomclienttoken
      with:
        room_id: tools.room_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: refresh-client-token-join-room
      description: Refresh Client Token to join a room.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: telnyx-rooms-client-tokens.refreshroomclienttoken
      with:
        room_id: tools.room_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.