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.
Following process describes how to authenticate and obtain authorization for the Loom AI API using the OAuth2 Resource Owner Flow.
curl --request POST \--url 'https://auth.loomai.com/oauth/token' \--header 'content-type: application/x-www-form-urlencoded' \--data grant_type=http://auth0.com/oauth/grant-type/password-realm \--data realm=Username-Password-Authentication \--data audience=https://api.loomai.com/ \--data client_id={CLIENT_ID} \--data client_secret={CLIENT_SECRET} \--data username={USERNAME} \--data password={PASSWORD}
Parameter | Description |
| Set to |
| Set to |
| Your application's Client ID. |
| Your application's Client Secret. |
| Your Loom AI account username / email address. |
| Your Loom AI account password. |
{"access_token": "eyJz93a...k4laUWw","token_type": "Bearer","expiry": 3600}