Create Clerk admin portal link token
Create a single-use admin portal deep link token in a connected Clerk instance.
← All Clerk endpoints · Capability overview
/v1/clerk/admin-portal-link-tokenshttps://api.vee3.io/v1/clerk/admin-portal-link-tokens
Create a single-use admin portal deep link token in a connected Clerk instance.
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_admin_portal_link_tokenParameters5 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
organization_idstringOptionalOptional organization id (org_...) to scope the admin portal link.
it_contact_idstringOptionalOptional opaque IT contact reference for the link.
scopesarrayOptionalOptional scopes for the link (for example "admin_portal:read").
seconds_until_expirationintegerOptionalLink token lifetime in seconds (default 3600, max 86400).
min 1, max 86400
Response9 fields
admin_portal_link_tokenobject8 fieldsCreated admin portal link token from the Backend API.
admin_portal_link_tokenobjectidstringAdmin portal link token id (aplt_...).
admin_portal_link_idstringOrigin admin portal link id (apl_...).
instance_idstringClerk instance id (ins_...).
tokenstringSingle-use admin portal link token when returned on creation. Treat as high-privilege — do not log.
revokedbooleanWhether the link token has been revoked.
expiredbooleanWhether the link token has expired.
expirationintegerUnix timestamp in milliseconds when the link token expires.
created_atintegerUnix timestamp in milliseconds when the link token was created.
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required