getClientInfo

@GET(value = clientInfo)
abstract suspend fun getClientInfo(): Response<ClientInfoResponseDto>

Client information Allows a client to retrieve information about itself. You can use this endpoint with the client&#39;s OAuth key and secret using Basic authentication, with a client access token, or with a user access token. When using a client access token, the response also includes the expiration time for the token used. Responses:

  • 200: Success. The information for the client was retrieved and returned.

  • 401: Unauthorized. This will occur if the credentials provided are invalid.

  • 403: Access Error. This will occur if the credentials provided are valid but not associated with a suitable client.

Return

ClientInfoResponseDto