openapi: 3.1.0 info: title: Admin Console Getting Started version: 1.0.0 servers: - description: Generated server url url: https://{tenant} variables: tenant: default: example.strivacity.com description: Your Strivacity tenant components: securitySchemes: basicAuth: type: http scheme: basic security: - basicAuth: [] paths: /oauth2/token: post: summary: Exchange credentials for a token tags: - Authenticating to the API description: Exchange credentials for a token. Use your client_id as the username and client_secret as the password operationId: tokenpost requestBody: description: get a token content: application/x-www-form-urlencoded: schema: type: object required: - grant_type - audience - scope properties: scope: type: string description: The scope or scopes required, separated by a space grant_type: type: string enum: - client_credentials description: OpenID grant type audience: type: string description: The Strivacity tenant URL e.g. https://foo.strivacity.com responses: '200': description: Success content: application/json: example: access_token: accessToken expires_in: 3599 scope: list of allowed scopes token_type: bearer x-readme: explorer-enabled: true proxy-enabled: true