---
title: "Generate portal token for customer"
method: POST
path: "/v1/brands/{brandId}/portal/token"
tags: ["portal"]
---

# Generate portal token for customer

`POST /v1/brands/{brandId}/portal/token`

## Request

- Base URL: `https://api.dispatchtickets.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dispatchtickets.com/v1/brands/{brandId}/portal/token`
- Auth: HTTP bearer

Used in authenticated mode. The integrator passes customer email/name from their auth system, and receives a portal token to pass to the frontend portal component.

## Path parameters

- `brandId` string, required

## Request body

- GeneratePortalTokenDto

## Response `201`

Portal token generated

---

[API](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api.md) · [All operations](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/revisions/529e6717d295?raw)
