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
/v1/clerk/sign-in-tokenshttps://api.vee3.io/v1/clerk/sign-in-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_tokenParameters3 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
user_idstringRequiredClerk user id (user_...) to retrieve or modify.
expires_in_secondsintegerOptionalToken lifetime in seconds (minimum 1). Defaults to 2592000 (30 days).
min 1
Response8 fields
sign_in_tokenobject7 fieldsCreated Clerk sign-in token object from the Backend API.
sign_in_tokenobjectidstringSign-in token id.
user_idstringClerk user id (user_...) the token is for.
statusstringToken status (pending, accepted, or revoked).
tokenstringSign-in token secret. Treat as high-privilege — do not log.
urlstringOptional sign-in URL that includes the token.
created_atintegerUnix timestamp in milliseconds when the token was created.
updated_atintegerUnix 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