Create Clerk session

Create a new session for a user in a connected Clerk application.

← All Clerk endpoints · Capability overview

POST/v1/clerk/sessions

https://api.vee3.io/v1/clerk/sessions

10 tokens

Create a new session for a user 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
Parameters2 fields
clerk_instance_idstringOptional

Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.

user_idstringRequired

Clerk user id (user_...) to create a session for.

Response8 fields
idstring

Clerk session id (sess_...).

user_idstring

Clerk user id (user_...) that owns this session.

statusstring

Current status of the session.

last_active_atinteger

Unix timestamp in milliseconds of the last activity on this session.

expire_atinteger

Unix timestamp in milliseconds when this session expires.

client_idstring

Clerk client id associated with this session.

created_atinteger

Unix timestamp in milliseconds when the session was created.

updated_atinteger

Unix timestamp in milliseconds when the session was last updated.

HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required