---
title: "Obtain Authentication Token"
method: POST
path: "/v1/authentication"
tags: ["v1", "Authentication"]
---

# Obtain Authentication Token

`POST /v1/authentication`

Generate authentication token from your Sezzle merchant API keys for use in the header of all other API requests.

## Request body

- AuthenticationRequest
  - `public_key` string, required — Find your API keys at https://dashboard.sezzle.com/merchant/settings/apikeys
  - `private_key` string, required — Find your API keys at https://dashboard.sezzle.com/merchant/settings/apikeys

## Response `201`

Successful operation

- AuthenticationResponse
  - `token` string — - For use in the header of other requests: - Authorization: Bearer {response.token}
  - `expiration_date` string, date-time — You must replace the token you obtain from the Authentication endpoint every 120 minutes. However, we do not restrict you to a single token, and you can obtain a new one at any time.
  - `merchant_uuid` string — The merchant UUID for the account

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — The specified resource was not found
- `422` — Unable to process the request entity

---

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