latestOpenAPI 3.1.02026-08-13233474.8 KB

e920ac8ed225

Access Token

Create Access Token

Your server-side script or backend application must authenticate to create an access token. Access tokens are used to authorize requests that read and write Hustle resources. To authenticate use your Hustle provided client_id and client_secret to make a request following the <a href="https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/">OAuth2 client credentials flow.</a>

post/oauth/token

Request body

grant_type'client_credentials' required
client_idstring email required
client_secretstring required

Response

Returns an OAuth access token. This token is used to authenticate requests to the Hustle API by appending it to the Authentication header as "Bearer token_goes_here".

access_tokenstring required
token_type'Bearer' required
scopestring required
expires_innumber required