API Overview

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.
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

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

Response

202 - application/json