generate_jwt_for_user
Generate a JWT authentication token for a user. Used for client-side SDK auth (Inbox, Preferences, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | Permission scopes for the token | |
| user_id | Yes | The user ID to scope the token to | |
| expires_in | No | Token expiry duration (e.g. "1h", "2 days") | 1h |