Loomie™ 3D Avatar Platform
  • Welcome
  • REST API Tutorials
    • API Credentials
    • Create Avatar & Render
    • Create Avatar & Render (fast)
    • Create Avatar & Download GLTF
    • Create Stickers & Animations
  • Voice2Animation SDK Tutorials
    • Unity Tutorial
    • Loom.ai Facial Rig Specification
  • Loomie SDK Tutorials
    • Deploying the Docker Image
    • Example App Walkthrough
      • Example App Full Source
  • REST API
    • Authentication
      • Authorization Code Flow
      • Authorization Code Flow with PKCE
      • Client Credentials Flow
      • Implicit Flow
      • Refresh Token Flow
      • Resource Owner Flow
    • Authorization
    • Avatars
      • List
      • Create
      • Resolve Status
      • Delete
      • Attachments
        • List
        • Resolve
      • Renderings
        • List
        • Create
        • Resolve
        • Resolve Status
    • Schema
      • Animation
      • Attachment Type
      • Dimensions
      • Quota
      • Scope
      • Status
      • Sticker
Powered by GitBook
On this page

Was this helpful?

  1. REST API
  2. Authentication

Client Credentials Flow

PreviousAuthorization Code Flow with PKCENextImplicit Flow

Last updated 4 years ago

Was this helpful?

Use for

  • Internal / Backend Services & Scripts

Do not use this flow for applications that are not able to securely store your application's client secret.

Client Credentials Flow is a premium feature. Please for access or use alternatively.

Following process describes how to authenticate and obtain authorization for the Loom AI API using the .

Request

curl --request POST \
  --url 'https://auth.loomai.com/oauth/token' \
  --header 'content-type: application/x-www-form-urlencoded' \
  --data grant_type=client_credentials \
  --data audience=https://api.loomai.com/ \
  --data client_id={CLIENT_ID} \
  --data client_secret={CLIENT_SECRET}

Parameter

Description

grant_type

Set to client_credentials.

audience

Set to https://api.loomai.com/.

client_id

client_secret

Response

{
  "access_token": "eyJz93a...k4laUWw",
  "token_type": "Bearer",
  "expiry": 3600
}

Your application's .

Your application's .

contact us
Resource Owner Flow
OAuth2 Client Credentials Flow
Client ID
Client Secret