Authentication
Authenticate requests to the API
Last updated
Was this helpful?
Authenticate requests to the API
Last updated
Was this helpful?
Use the to retrieve your OAuth Client ID and Client Secret values. You can contact support if you wish Hopscotch to hold your OAuth credentials for you and grant access to your AWS role instead.
Keep your OAuth Client ID and Secret safe! Don't store credentials in source code, use a service like instead.
Hopscotch Party API uses the Client Credentials Authentication flow. Use your clientId
and clientSecret
as username
and password
of a Basic authentication request to the Token endpoint.
Use the JWT token string from the field from the response as the value for the Authorization
header to authenticate API calls.
POST
https://auth.hopscotch.trade/oauth2/token
grant_type*
String
Must be client_credentials
.
POST requests to the Token endpoint must explicitly set the header Content-Type: application/x-www-form-urlencoded
.