Verify Clerk M2M token
Verify an M2M token in a connected Clerk instance.
← All Clerk endpoints · Capability overview
/v1/clerk/m2m-tokens/verifyhttps://api.vee3.io/v1/clerk/m2m-tokens/verify
Verify an M2M 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.verify_m2m_tokenParameters2 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
tokenstringRequiredM2M token string to verify.
Response9 fields
m2m_tokenobject8 fieldsVerified M2M token metadata from the Backend API.
m2m_tokenobjectidstringM2M token id (mt_...).
subjectstringMachine id (mch_...) that created or owns the token.
tokenstringM2M token secret when returned on creation. Treat as high-privilege — do not log.
revokedbooleanWhether the token has been revoked.
expiredbooleanWhether the token has expired.
expirationintegerUnix timestamp in milliseconds when the token expires.
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