---
title: "Create an access_token"
method: POST
path: "/login"
tags: ["Authentication"]
---

# Create an access_token

`POST /login`

Access to the API is by Bearer Tokens, this request generates an `access_token` that can be used in the authorization header of each request. You generate the token by passing your client credentials through the login endpoint.

## Request body

- object
  - `app_id` string, required — Unique ID assigned by Acquired.com to your application.
  - `app_key` string, required — Secret key used as part of the authentication process.

## Response `200`

OK

- object
  - `token_type` string — Details the token type returned.
  - `expires_in` integer — Time in seconds until the `access_token` expires.
  - `access_token` string — Unique token that can be used to authenticate and log into the API.

## Other responses

- `400`
- `401`

---

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