AT&T · Capability

AT&T SMS API — Authentication

AT&T SMS API — Authentication. 1 operations. Lead operation: AT&T Get OAuth Access Token. Self-contained Naftiko capability covering one At And T business surface.

Run with Naftiko At And TAuthentication

What You Can Do

POST
Getaccesstoken — AT&T Get OAuth Access Token
/v1/oauth/v4/token

MCP Tools

at-t-get-oauth-access-token

AT&T Get OAuth Access Token

read-only

Capability Spec

sms-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AT&T SMS API — Authentication
  description: 'AT&T SMS API — Authentication. 1 operations. Lead operation: AT&T Get OAuth Access Token. Self-contained Naftiko
    capability covering one At And T business surface.'
  tags:
  - At And T
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AT_AND_T_API_KEY: AT_AND_T_API_KEY
capability:
  consumes:
  - type: http
    namespace: sms-authentication
    baseUri: https://api.att.com
    description: AT&T SMS API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: oauth-v4-token
      path: /oauth/v4/token
      operations:
      - name: getaccesstoken
        method: POST
        description: AT&T Get OAuth Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.AT_AND_T_API_KEY}}'
  exposes:
  - type: rest
    namespace: sms-authentication-rest
    port: 8080
    description: REST adapter for AT&T SMS API — Authentication. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/oauth/v4/token
      name: oauth-v4-token
      description: REST surface for oauth-v4-token.
      operations:
      - method: POST
        name: getaccesstoken
        description: AT&T Get OAuth Access Token
        call: sms-authentication.getaccesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sms-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for AT&T SMS API — Authentication. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: at-t-get-oauth-access-token
      description: AT&T Get OAuth Access Token
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: sms-authentication.getaccesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.