Skip to main content

API key

Your API key authenticates requests to the Uthana GraphQL API. Keep it private and rotate it if you suspect it has leaked.

Get your API key

  1. Create an account at uthana.com.
  2. Choose an API-enabled plan on the pricing page.
  3. Open your account settings at uthana.com/app/account.
  4. Generate a new API key.
  5. (Optional) paste it into the API key field (in the top-right corner of the page) to use it with the Uthana API docs (desktop version only).

Use your API key

Uthana uses Basic auth with your API key as the username and an empty password.

API_KEY="{{apiKey}}"

curl "https://uthana.com/graphql" \
  -u $API_KEY: \
  -H "Content-Type: application/json" \
  -d '{"query": "{ __typename }"}'

Security tips

  • Treat your API key like a password.
  • Store it in a secret manager or environment variable.
  • Rotate the key if it appears in logs or shared code.