Get Direct Login URL
Generate a secure one-time login URL for a ChatSyncs user via the API, creating the user if they don’t exist. Use when a developer asks how to build single sign-on into ChatSyncs from their own platform.
create_on_fail=1, package_id, and
expired_date).
What happens for each kind of email
Get Direct Login URL vs. New Users Only
Query Parameters
Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.
"API-KEY"
The user's email.
"user@example.com"
The user's name.
The user's phone number.
The package ID to assign. Required when creating a new user. Where to find it.
Package expiry date, e.g. 2026-05-05. Required when creating a new user.
User status — active (1) or inactive (0).
Set to 1 to create a new user if none is found, or 0 to return a 'User not found' error.

