Create Clerk session token from template
Create a session token from a JWT template for a session in a connected Clerk application.
← All Clerk endpoints · Capability overview
/v1/clerk/sessions/{session_id}/tokens/{template_name}https://api.vee3.io/v1/clerk/sessions/{session_id}/tokens/{template_name}
Create a session token from a JWT template for a session in a connected Clerk application.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
clerk.create_session_token_from_templateParameters3 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
session_idstringRequiredClerk session id (sess_...) to retrieve or modify.
template_namestringRequiredName of the JWT template to use when generating the session token.
Response1 field
jwtstringSigned JWT generated from the template. Treat as a secret — do not log.
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required