Explore Platform Chat API's as Application Admin or as Application User.
These APIs allow to directly connect to the Applozic Cloud Messaging Backend Server.
application key got in admin dashboard for which admin want to call API.
Authorization Code. Authentication is done using BASIC authentication. Authorization Code is a combination of the base64 value of email & password of application admin. Basic Base64Encode of "email:password".
On behalf of which Application Admin want to call the API
For Application Admin sends following authentication headers with each API call to explore platform API's. A request should contain these headers:
Note: Pass Of-User-Id header only where it is required, it is specified in the API details.
Example- If the email of the admin(Logged in Applozic Dashboard) is firstname.lastname@example.org and password is adminLoggedInApplozicDashboard then the header will be:
All request from Device must contain following headers:
Your Application Key
Authentication is done using BASIC authentication.Basic Base64Encode of "userId:deviceKey"
DeviceKey is received when application user does registration using register/client API. Use Device-Key to create Authorization Code and send Device-Key also in the request header.
Example- If the userId is robert and deviceKey is 09c5d869-6d38-4d6b-9ebf-9de16cdab176, then the authorization code will be:
Note: Additional header Access-Token is also required if the user password is set in Applozic.
Note: Headers are required in each API call except user registration .ie register/client API.