Creates an application or user session.
Create application session
1. Set your Application ID
application_id from the Dashboard => YOUR_APP => Overview section.2. Set your Authorization Key
auth_key from the Dashboard => YOUR_APP => Overview section.3. Set a timestamp
timestamp value in the Unix Timestamp.4. Set a nonce
nonce value which is a unique random number that can’t be sent twice.5. Set a signature
signature value. Use this guide to learn how to generate a signature.6. As a result, the API returns a newly created application session.
Create user session
1. Set your Application ID
application_id from the Dashboard => YOUR_APP => Overview section.2. Set your Authorization Key
auth_key from the Dashboard => YOUR_APP => Overview section.3. Set a timestamp
timestamp value in the Unix Timestamp.4. Set a nonce
nonce value which is a unique random number that can’t be sent twice.5. Set a signature
signature value. Use this guide to learn how to generate a signature.6. Set a login of the user
login value to identify a user on the server.7. Set a password of the user
password value to identify a user on the server.8. As a result, the API returns a newly created user session.
Create session with Firebase phone number
1. Set your Application ID
application_id from the Dashboard => YOUR_APP => Overview section.2. Set your Authorization Key
auth_key from the Dashboard => YOUR_APP => Overview section.3. Set a Firebase user ID token
firebase_phone[access_token].4. Set an ID of the Firebase project
firebase_phone[project_id].5. Set a nonce
nonce value which is a unique random number that can’t be sent twice.6. Set a social network provider
provider param to set a social network provider.7. Set a signature
signature value. Use this guide to learn how to generate a signature.8. Set a timestamp
timestamp value in the Unix Timestamp.9. As a result, the API returns a newly created user session.
user[login] and user[password].user[email] and user[password].provider=facebook, keys[token], and keys[secret] .provider=firebase_phone, firebase_phone[project_id], and firebase_phone[access_token].user[login] and user[password]. Learn more about custom identity provider authentication from our guide.200
401
422