Authentication

POSThttps://api.oneinfer.ai/v1/ula/oauth-authentication?api_key=:apiKey

Generate your access token in exchange for your API Key.

Request parameters

Query parameters

api_key
string 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

CodeStatusDescription
200OKToken generated successfully.
403ForbiddenAPI key is invalid or expired.

Response

202 - application/json