API References - Real Time Messaging
Last updated
Last updated
Welcome to the Awesome Chat API documentation! This API offers a robust set of endpoints for creating and managing chat platforms. Features include Room Management, Message Handling, Polls, Chat History, Message Replies, Room Role-Based Access Control (RBAC), Admin Moderation, User Management, Attachments, Emojis and Efficient Search Capabilities.
Get started by obtaining your API key and referring to detailed documentation for each endpoint. Ensure proper authentication and authorization for secure integration. Create a dynamic and feature-rich chat platform with the Awesome Chat API!
For a full list of APIs go to:
Channel ID
channel123
Number of messages to retrieve
10
Offset for pagination
0
List of message IDs
[2001,2002]
messages group by day
false
Message response
Channel ID
channel123
Message ID
1001
messages group by day
false
Message response with replies
Channel ID
channel123
Parameters for deleting messages
If true, delete all messages in the channel
list of messages ids to delete
[2001,2002]
Message replies deleted successfully
Channel ID
channel123
Message ID
1001
Parameters for deleting message replies
List of reply message IDs to delete
[2001,2002]
Message replies deleted successfully
Generate a JWT token based on provided parameters.
Parameters for generating a token
API key tied to the Sariska account
Exp claim of JWT token
Nbf claim of JWT token
Scope of the token (messaging, media, sariska, or leave it blank)
Token generated successfully
Get S3 presigned url and upload media to directly your s3 as you have configured in console
request for presigned url to upload and attach media
File name
some-s3-folder/file-name.jpeg
File extension
jpeg
Presigned URL generated successfully