Telstra · Capability

Telstra Messaging API — Authentication

Telstra Messaging API — OAuth 2.0 client credentials token issuance against /oauth/token with the NSMS scope. Bearer token returned is used by every other Telstra Messaging capability.

Telstra Messaging API — Authentication is a Naftiko capability published by Telstra, one of 5 capabilities the APIs.io network indexes for this provider. It bundles 1 operation.

The capability includes 1 state-changing operation. Lead operation: Telstra Generate OAuth Token. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Telstra, Authentication, and OAuth.

Run with Naftiko TelstraAuthenticationOAuth

MCP Tools

telstra-generate-oauth-token

Telstra Generate OAuth Token

Capability Spec

messaging-auth.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Telstra Messaging API — Authentication
  description: 'Telstra Messaging API — OAuth 2.0 client credentials token issuance against /oauth/token with
    the NSMS scope. Bearer token returned is used by every other Telstra Messaging capability.'
  tags:
  - Telstra
  - Authentication
  - OAuth
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    TELSTRA_CLIENT_ID: TELSTRA_CLIENT_ID
    TELSTRA_CLIENT_SECRET: TELSTRA_CLIENT_SECRET
capability:
  consumes:
  - type: http
    namespace: messaging-auth
    baseUri: https://tapi.telstra.com/v2
    description: Telstra OAuth token endpoint.
    resources:
    - name: oauth-token
      path: /oauth/token
      operations:
      - name: generatetoken
        method: POST
        description: Telstra Generate OAuth Token
        outputRawFormat: json
        outputParameters:
        - name: access_token
          type: string
          value: $.access_token
        - name: expires_in
          type: string
          value: $.expires_in
        inputParameters:
        - name: client_id
          in: form
          type: string
          value: '{{env.TELSTRA_CLIENT_ID}}'
          required: true
        - name: client_secret
          in: form
          type: string
          value: '{{env.TELSTRA_CLIENT_SECRET}}'
          required: true
        - name: grant_type
          in: form
          type: string
          value: client_credentials
          required: true
        - name: scope
          in: form
          type: string
          value: NSMS
          required: false
  exposes:
  - type: mcp
    namespace: messaging-auth-mcp
    port: 9093
    transport: http
    description: MCP adapter exposing the OAuth token operation for downstream Telstra capabilities.
    tools:
    - name: telstra-generate-oauth-token
      description: Telstra Generate OAuth Token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: messaging-auth.generatetoken
      outputParameters:
      - type: object
        mapping: $.