Skip to content

SDKs

Agora provides generated clients in four languages, all built from the same OpenAPI contract.

Interactive API reference → docs.agoraai.tech/api

Available SDKs

  • Python


    pip install agora-public-api · Requires Python 3.8+

    Python docs

  • TypeScript / JavaScript


    npm install @agora-ai/public-api

    TypeScript docs

  • Java


    Maven: ai.agora:agora-public-api · Requires Java 11+

    Java docs

  • Go


    go get github.com/AGORA-AI-Software/sdk/sdks/go · Requires Go 1.21+

    Go docs

How authentication works

All SDKs use a two-credential model:

API Key  ──(POST /auth/api-key/token)──►  Bearer token (short-lived JWT)
                                    POST /leads/upload  ✓
  1. Your API key is a long-lived secret — only ever sent to the token exchange endpoint.
  2. The exchange returns a short-lived bearer token (JWT) used for all subsequent calls.
  3. The bearer token expires; re-exchange when needed.

Keep your API key secret

Never log, commit, or embed your API key in client-side code. Store it in environment variables or a secrets manager.

Environments

Environment Base URL
Production https://core.agoraai.tech/api/v1
Development https://core-dev.agoraai.tech/api/v1

Found a bug or have a feature request?

Open an issue in the sdk repo — that's where SDK bugs, feature requests, and OpenAPI contract changes are tracked.

For docs corrections, open an issue here.