---
title: "Generate a subscription center token"
method: GET
path: "/v1/subscription_center/{customer_id}/token"
tags: ["Subscription Center"]
---

# Generate a subscription center token

`GET /v1/subscription_center/{customer_id}/token`

Generates a signed token and URL for a person's standalone subscription center page. The token is valid for 24 hours.

Use the returned `url` to link people to a hosted subscription center page where they can manage their subscription preferences outside of a message. This is useful when you want to provide a direct link to the subscription center—for example, in your app's account settings or in a custom email.

The `customer_id` path parameter is the person's identifier (e.g. an email address or customer ID) as it appears in Customer.io. The identifier must match an existing person in your workspace.

## Path parameters

- `customer_id` string, required

## Response `200`

Returns a signed `token` and a subscription center `url` for the person.

- object
  - `token` string — A signed token representing the person's subscription center session. The token expires after 24 hours. If you want to use a custom link tracking domain, you can point your customers to `https://<your-tracking-domain>/u/i/<your-token>/<language-code (optional)>`.
  - `url` string — A full URL to the person's standalone subscription center page. You can use this URL directly as a link.

## Other responses

- `400` — The `customer_id` is invalid or does not match a known person in your workspace.

---

[API](https://skmtc.dev/customer/apis/customer-io-journeys-api-reference.md) · [All operations](https://skmtc.dev/customer/apis/customer-io-journeys-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/customer/customer-io-journeys-api-reference/revisions/00b93971a49f/schema)
