> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt
> Use this file to discover all available pages before exploring further.

# Get organization API keys

> Returns the OrganizationCredentials document (Anthropic / Sinch / Twilio / OpenAI / Google) for the organization, plus the resolved current AI/SMS provider. SuperAdmin can read any org by passing { id }; non-superadmins always get their own org.



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/organizations/api-keys
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/organizations/api-keys:
    post:
      tags:
        - Organizations
      summary: Get organization API keys
      description: >-
        Returns the OrganizationCredentials document (Anthropic / Sinch / Twilio
        / OpenAI / Google) for the organization, plus the resolved current
        AI/SMS provider. SuperAdmin can read any org by passing { id };
        non-superadmins always get their own org.
      operationId: post_organizations_api_keys
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetApiKeysRequest'
      responses:
        '200':
          description: API keys returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeysResponse'
        '400':
          description: Invalid token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    GetApiKeysRequest:
      type: object
      properties:
        id:
          type: string
          description: >-
            Organization ID whose third-party API credentials should be
            returned.
      additionalProperties: true
      example:
        id: 5f7b1c2e8a1d4e0012c3b400
    ApiKeysResponse:
      type: object
      properties:
        _id:
          type: string
        anthropicApiKey:
          type: string
        sinchServicePlanId:
          type: string
        sinchApiToken:
          type: string
        sinchMmsApiKey:
          type: string
        sinchMmsServiceId:
          type: string
      additionalProperties: true
      example:
        _id: 5f7b1c2e8a1d4e0012c3b410
        anthropicApiKey: sk-ant-api03-EXAMPLE-key-redacted
        sinchServicePlanId: srv-plan-example-123
        sinchApiToken: sinch-token-example-redacted
        sinchMmsApiKey: sinch-mms-key-example
        sinchMmsServiceId: sinch-mms-service-example
    OrganizationErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: string
      additionalProperties: true
      example:
        error: Organization not found
        details: No organization exists with the provided id
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````