Send
Reset
Show Docs
GET
POST
PUT
PATCH
DELETE
Query String Parameters: (optional)
Accept:
json
json
Request Headers:
Request Body:
GET
Functionality: Get Messages by Conversation ID;
Query Params:
i) conversation_id - Type:String ; Required
ii) message_id - Type:String ; Optional
iii) sender_id - Type:String ; Optional
Accept: NA;
Headers: i) authorization - Type: String;
Return: Messages;
DELETE
Functionality: Delete Messages;
Query Params:
i) message_id - Type:String ; Required
Accept: NA;
Headers: i) authorization - Type: String;
Return: Messages;
PUT
Functionality: Create Messages;
Query Params:
i) message_id - Type:String ; Required
ii) conversation_id - Type:String ; Required
iii) sender_id - Type:String ; Required
iv) content - Type:String ; Required
v) type - Type:String ; Required
vi) status - Type:String ; Required
Accept: NA;
Headers: i) authorization - Type: String;
Return: Messages;
POST
Functionality: Create Messages;
Query Params:
i) conversation_id - Type:String ; Required
ii) sender_id - Type:String ; Required
ii) content - Type:String ; Required
iv) type - Type:String ; Required
v) status - Type:String ; Required
Accept: NA;
Headers: i) authorization - Type: String;
Return: Messages;
PATCH
Functionality: Update Message Status;
Query Params:
i) message_id - Type:String ; Required
ii) status - Type:String ; Required
Accept: NA;
Headers: i) authorization - Type: String;
Return: Message Status;