---
title: "Generate User Token Name Suggestions"
method: POST
path: "/programs/{programCode}/accounts/generate/usertokenlist"
tags: ["TokenManagement"]
---

# Generate User Token Name Suggestions

`POST /programs/{programCode}/accounts/generate/usertokenlist`

Generates a list of suggested user token names based on the customer's name and external resource.

## Path parameters

- `programCode` string, required

## Headers

- `X-GD-RequestId` string, required

## Request body

- GenerateTokenNameRequest — Represents a request to generate token name suggestions. Contains user details and context for generating token names. Inherits standard request metadata from Gd.Bos.DataTransfer.Request.RequestBase.
  - `firstname` string, nullable — The first name of the user for whom token names are being generated.
  - `lastname` string, nullable — The last name of the user for whom token names are being generated.
  - `externalresource` string, nullable — An external resource identifier or context used for token name generation.

## Response `200`

OK

- GenerateTokenNameResponse — Represents the response returned after generating token name suggestions. Contains a list of suggested token names for use in account or payment operations. Inherits standard response metadata from Gd.Bos.DataTransfer.Response.ResponseBase.
  - `suggestedtokenlist` string[], nullable — The list of suggested token names generated for the operation.
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/versions/666553766b78/schema)
