Generate a Bearer token for a user. Use this to authenticate users for API access. Requires your app secret key in the secret-key header. Provide: external_user_id (your unique user identifier) and email. Returns a JWT token valid for 1 year. If the user was previously cancelled, this reactivates them.
Documentation Index
Fetch the complete documentation index at: https://docs.village.ai/llms.txt
Use this file to discover all available pages before exploring further.
App secret key (sk_xxx) for partner authentication
Request body for creating an authentication token
Unique identifier for the user in your system
1 - 255"user_123"
Email address of the user
"user@example.com"
Token grant level. 'full' enables sync, paths, and all platform features (billed per user). 'public' enables API-only access like search and enrich (no sync, no user creation).
full, public "full"