---
title: "Request an OpenWeb API token"
method: POST
path: "/v1/publisher/auth"
tags: ["token"]
---

# Request an OpenWeb API token

`POST /v1/publisher/auth`

Generates a JWT token to be used for OpenWeb API

## Request body

- object
  - `spot_id` string, required — Unique OpenWeb identifier for your property If you do not know your OpenWeb spot ID, please contact your OpenWeb representative.
  - `apikey` string, required — Unique OpenWeb token Follow these steps to retrieve the API key: 1. From your OpenWeb Admin Panel, click **Settings**. 2. Under **Authentication Tokens**, click **Get Export v4 API key** to reveal the API Key. 3. Copy the **Export v4 API key** value.

## Response `200`

OK

- object
  - `token` string — JWT token required for API authentication. **NOTE**: JWT tokens have a 24-hour validity period. And this endpoint enforces a rate limit of 1 request per second per IP address.

---

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