Skip to main content

Get Authorization Token

POST 

/api/login

The Bearer Authentication scheme is dedicated to the authentication using a token and is described by the [RFC6750]. Even if this scheme comes from an OAuth2 specification, you can still use it as a way to exchange between a client and a server. The SSM API currently requires the HTTP authentication scheme Bearer for authentication. All requests must have a valid Token specified in the HTTP Authorization header with the Bearer scheme.

https://example.saviyntcloud.com/ECM/api/login

A POST request by passing 'username' and 'password' in json text in the body, will return a Token in the response which can be passed in a header variable for subsequent requests

Request

Body

    username string
    password string

Responses

Get Token

Response Headers

  • Cache-Control

    string

  • Content-Length

    string

  • Date

    string

  • Server

    string

Schema

    access_token string
    expires_in number
    refresh_token string
    roles string[]
    token_type string
    username string
Loading...