v2
OAS 3.0.1

Kravia API - 2.0 Production

REST API

Development

Client Libraries

AuthControllerV

Generates access token

Body
application/json
  • audience
    Type:string
    required
  • client_id
    Type:string
    required
  • client_secret
    Type:string
    required
  • grant_type
    Type:string
    required
Responses
  • application/json
  • application/json
Request Example forPOST/api/v2/auth/token
curl https://api-stage.kravia.ai/api/v2/auth/token \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: YOUR_SECRET_TOKEN' \
  --data '{
  "audience": "",
  "client_id": "",
  "client_secret": "",
  "grant_type": ""
}'
{
  "successful": true,
  "errors": [
    {
      "code": null,
      "args": null
    }
  ]
}

Bookkeepings (Collapsed)

Models