---
title: "Create Access Token"
method: POST
path: "/oauth/token"
tags: ["Access Token"]
---

# Create Access Token

`POST /oauth/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>

## Request body

- object
  - `grant_type` 'client_credentials', required
  - `client_id` string, email, required
  - `client_secret` string, required

## Response `200`

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".

- object
  - `access_token` string, required
  - `token_type` 'Bearer', required
  - `scope` string, required
  - `expires_in` number, required

---

[API](https://skmtc.net/hustle/apis/hustle-public-api.md) · [All operations](https://skmtc.net/hustle/apis/hustle-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hustle/hustle-public-api/revisions/e920ac8ed225/schema)
