create_login_grant
Generate a one-time SSO login URL for a user to access AgencyAnalytics without a password, enabling embedded reports or custom login pages.
Instructions
Generate an SSO login token for a user.
Creates a one-time login URL that can be used to log a user into AgencyAnalytics without requiring their password. Useful for embedding reports or creating custom login pages.
Args: user_id: The user ID to generate a login token for
Returns: JSON object with login token, URL, and expiration info
Examples: - create_login_grant(user_id=456) - Generate SSO link for user 456
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |