---
title: "Obtain Access Token"
method: POST
path: "/auth/token"
tags: ["auth"]
---

# Obtain Access Token

`POST /auth/token`

## Request

- Base URL: `https://my.pressable.com/v1`
- URL: `https://my.pressable.com/v1/auth/token`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/auth/token/post.ts> (a function with typed inputs; its response is checked against the schema)

Authentication provides an access token in the response that is required for making requests to the API. Access tokens are active for 1-hour, you should request a new token before the current token expires. The access token provided in the response must be supplied in the standard HTTP Authorization header as Bearer token authentication to make requests to the API.

## Request body

- object
  - `grant_type` string
  - `client_id` string
  - `client_secret` string

## Response `200`

Successful Response

- object
  - `access_token` string
  - `token_type` string
  - `expires_in` integer
  - `scope` string
  - `created_at` integer
  - `id` integer
  - `name` string
  - `email` string
  - `gravatar` string
  - `scopes` string[]

---

[API](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1.md) - [All operations](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/revisions/267a95219f47?raw)
