---
title: "Create session token for user"
slug: "create-session-token-for-user"
updated: 2025-04-28T20:02:37Z
published: 2025-04-28T20:02:37Z
canonical: "help.unleash.so/create-session-token-for-user"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://help.unleash.so/llms.txt
> Use this file to discover all available pages before exploring further.
# Create session token for user
Post/tokens
Used for embedding Unleash in an external website.
Body parametersobject tokenstring RequiredMin length1
embedIdstring RequiredMin length1
object tokenstring RequiredMin length1
embedIdstring RequiredMin length1
object tokenstring RequiredMin length1
embedIdstring RequiredMin length1
Responses200
Success
object tokenstring | null
object tokenstring | null
object tokenstring | null
400
Bad Request
Expand Allobject typestring | null
titlestring | null
statusinteger (int32) | null
detailstring | null
instancestring | null
errorsobject | null property* Array of string additionalPropertiesstring
property*
Expand Allobject typestring | null
titlestring | null
statusinteger (int32) | null
detailstring | null
instancestring | null
errorsobject | null property* Array of string additionalPropertiesstring
property*
Expand Allobject typestring | null
titlestring | null
statusinteger (int32) | null
detailstring | null
instancestring | null
errorsobject | null property* Array of string additionalPropertiesstring
property*