API Overview
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_key
string Your API Key.
JSON
// Example Usage
const response = await fetch(
'https://api.oneinfer.ai/v1/ula/oauth-authentication?api_key={YOUR_KEY}',
{
method: 'POST'
}
);Response
{
"access_token": "{Generated access token}"
}
Error Status Codes
| Code | Status | Description |
|---|---|---|
| 200 | OK | Token generated successfully. |
| 403 | Forbidden | API key is invalid or expired. |