curl --request POST \
--url https://production.knotapi.com/mcp/tokens/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"external_user_id": "123abc",
"expires_in": 3600
}
'{
"token": "sn_prod_wyLZTDc3_HzXo5lcRkkbZpnmFfg5DU63nHnUsyPQbi0",
"expires_at": "2026-10-21T15:30:00Z"
}Supernova
Create MCP Token
Create a short-lived token to connect your agent to the Supernova MCP for a given user.
POST
/
mcp
/
tokens
/
create
curl --request POST \
--url https://production.knotapi.com/mcp/tokens/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"external_user_id": "123abc",
"expires_in": 3600
}
'{
"token": "sn_prod_wyLZTDc3_HzXo5lcRkkbZpnmFfg5DU63nHnUsyPQbi0",
"expires_at": "2026-10-21T15:30:00Z"
}Authorizations
Body
application/json
The user to scope the token to, and optionally its lifetime and phone number.
Was this page helpful?