LogoLogo
  • Overview
  • Quick Start
  • Authentication
  • Rate limits
  • Errors
  • Image Editing API
    • Image I/O
    • Image Operations
      • Restorations
      • Resizing
      • Outpainting
      • Generative Editing
      • Color Adjustments
      • Background
      • Padding
      • Privacy
    • API Reference
    • Async API Reference
    • Batch API Reference
    • Upload API Reference
  • image generation api
    • Image Generation I/O
    • Image Generation Options
    • API Reference
  • AI Background API
    • AI Background I/O
    • AI Background Options
      • Object
      • Scene
      • Product Shadow
    • API Reference
  • Image to Video API
    • Image to Video I/O
    • Image to Video Options
    • Async API Reference
  • Storage Connectors
    • Overview
    • AWS S3
    • Google Cloud Storage
    • Web Folder
    • API Reference
  • Guides
    • E-commerce
    • Real Estate
    • Printing
  • Redoc
  • Blog
Powered by GitBook
On this page
  • API key usage
  • Permission scopes
Edit on GitHub

Authentication

PreviousQuick StartNextRate limits

Last updated 1 year ago

The Claid API uses API keys via Bearer Auth for API authentication with the following format: Authorization: Bearer {YOUR_API_KEY}.

To get your API key, and click Create API key button from the Overview or API keys pages.

Once API key is generated, you can either copy it or download it as a txt file.

Make sure to save the API key in a safe place, as it has certain privileges and is only visible on the Claid dashboard once, at the time of creation.

API key usage

GET {API_ENDPOINT} HTTP/1.1
Host: api.claid.ai
Authorization: Bearer {YOUR_API_KEY}
curl -X GET --location "https://{API_ENDPOINT}" --http1.1 \
    -H "Host: api.claid.ai" \
    -H "Authorization: Bearer {YOUR_API_KEY}"

Permission scopes

It’s always better to create API keys with minimal permissions scopes necessary for your use case.

Authentication to the API is performed via :

Each API key can have permissions to perform , or both types of operations with Admin permission scope.

Scopes can be assigned to API key from the at the creation time or later, via API keys → Edit key page.

Bearer Authentication
Storage
Image editing
Claid dashboard
sign in to your Claid account
Create API key from the Claid dashboard