Authentication

Public authentication for clients

Changed on

This endpoint allows clients to authenticate using their client credentials.

post/auth/public_auth

Request

  • Base URL
    https://api.app.perfectscale.io/public/v1
  • URL
    https://api.app.perfectscale.io/public/v1/auth/public_auth
  • Auth
    HTTP bearer

Request body

client_idstring required

The client identifier issued to the client during the registration process.

client_secretstring required

The client secret issued to the client during the registration process.

Response

Authentication successful

access_tokenstring

Access token to be used for subsequent requests.

expires_ininteger

The number of seconds the token will be valid.

Changes