Generate a session ticket for backend-to-frontend authentication.
Session tickets are used to securely authenticate a user session from your backend to the Wacht frontend.
user_id)agent_ids)The ticket expires based on the expires_in parameter (default 5 minutes).
API key authentication (Bearer token)
Type of session ticket to generate
impersonation, agent_access User ID (required for impersonation tickets)
"1234567890"
List of agent IDs (required for agent_access tickets)
["1111111111", "2222222222"]Optional context group for the ticket
"support-session"
Expiration time in seconds - default is 300
300