---
title: "Request an access token"
method: POST
path: "/oauth/token"
tags: ["OAuth"]
---

# Request an access token

`POST /oauth/token`

Requests an OAuth access token which is required for executing API requests. The token is valid for a maximum of 2 hours, after which a new token must be requested. A `client_id` and `client_secret` pair can be generated in the Reload Mailing app under `settings -> Reloadify API`.

## Request body

- object
  - `grant_type` string, required
  - `client_id` string, required
  - `client_secret` string, required

## Response `200`

Access token issued

- object
  - `access_token` string
  - `token_type` string
  - `expires_in` integer — The duration in number of seconds
  - `created_at` integer — The number of seconds since the Epoch (January 1, 1970 00:00 UTC) when the token was issued

## Other responses

- `400` — Bad request
- `401` — Not authorized
- `500` — Unexpected error

---

[API](https://skmtc.dev/reloadify/apis/reloadify-api.md) · [All operations](https://skmtc.dev/reloadify/apis/reloadify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/reloadify/reloadify-api/revisions/a5697c4fb1c3/schema)
