Authentication
POST
https://api.oneinfer.ai/v1/ula/oauth-authentication?api_key=:apiKeyGenerate your access token in exchange for your API Key.
Request parameters
Query parameters
api_keystring Your API Key.
Example Usage
const response = await fetch(
'https://api.oneinfer.ai/v1/ula/oauth-authentication?api_key={YOUR_KEY}',
{
method: 'POST'
}
);Response
JSON
{
"access_token": "{Generated access token}"
}Error status codes
| Code | Status | Description |
|---|---|---|
200 | OK | Token generated successfully. |
403 | Forbidden | API key is invalid or expired. |