Users
Generate login link
Generate a login link for a user. The link contains a custom Firebase token that allows the user to authenticate directly.
Requirements:
- User must have been created via API (from: 'api')
- User must belong to the billing account making the request
If requirements are not met, returns a 404 error.
gigstack Connect: Generate login links for other teams' users using the team parameter.
post/users/login-link
Query parameters
teamstring
gigstack Connect: Target team ID for multi-team access.
Requires gigstack Connect enabled on your team and shared billing account.
Example: ?team=team_xyz789
Request body
Example request
{
"user_id": "abc123xyz"
}Response
Login link generated successfully
Example response
{
"data": {
"login_link": "https://app.gigstack.pro/auth/token-login?token=eyJhbGc...",
"valid_until": 1732657200000,
"method": "token"
},
"message": "Login link generated"
}