post https://spectrocoin.com/api/public/oauth/token
This endpoint allows users to retrieve an access token using their OAuth client id
and client secret
. While it is recommended to authenticate by directly specifying the client id
and client secret
in the API call itself, this endpoint is designed primarily to test the token retrieval process or as an alternative if the preferred authentication method does not work.
Important Notes:
- Protect your API keys; avoid exposing them in publicly accessible areas like client-side code or repositories.
- All API calls must be made over
HTTPS
; calls over plainHTTP
will not succeed. - Once obtained, the access token must be included in the Authorization header of subsequent API requests in the format:
Bearer <access_token>
.