Client Credentials Flow

Use for

  • Internal / Backend Services & Scripts

circle-exclamation
circle-info

Client Credentials Flow is a premium feature. Please contact usarrow-up-right for access or use Resource Owner Flow alternatively.

Following process describes how to authenticate and obtain authorization for the Loom AI API using the OAuth2 Client Credentials Flowarrow-up-right.

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

Your application's Client ID.

client_secret

Your application's Client Secret.

Response

Last updated

Was this helpful?