User API
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.
GET
Get Direct Login URL
Generates a unique, secure one-time login URL for a ChatSyncs end-user account — useful for
single sign-on from your own platform into ChatSyncs. This is “get-or-create”: if the email
already exists under your agent, it just returns a login link for that account; if it doesn’t
exist yet, it creates it first (when you pass
create_on_fail=1, package_id, and
expired_date).
Example Request
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.
Example:
"API-KEY"
The package ID to assign. Required when creating a new user. Where to find it.
Example:
1

