Create Clerk sign-in token

Create a magic-link style sign-in token for a user in a connected Clerk application.

← All Clerk endpoints · Capability overview

POST/v1/clerk/sign-in-tokens

https://api.vee3.io/v1/clerk/sign-in-tokens

15 tokens

Create a magic-link style sign-in token 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_sign_in_token
Parameters3 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 retrieve or modify.

expires_in_secondsintegerOptional

Token lifetime in seconds (minimum 1). Defaults to 2592000 (30 days).

min 1

Response8 fields
sign_in_tokenobject
7 fields

Created Clerk sign-in token object from the Backend API.

idstring

Sign-in token id.

user_idstring

Clerk user id (user_...) the token is for.

statusstring

Token status (pending, accepted, or revoked).

tokenstring

Sign-in token secret. Treat as high-privilege — do not log.

urlstring

Optional sign-in URL that includes the token.

created_atinteger

Unix timestamp in milliseconds when the token was created.

updated_atinteger

Unix timestamp in milliseconds when the token was last updated.

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