Chat
Retrieve vendor details used for chat.
Header parameters
AuthorizationstringRequired
Bearer token for vendor authentication.
Responses
200
Successfully retrieved vendor details for chat.
401
Unauthorized access. Token is missing or invalid.
500
Internal server error.
get
GET /backend/api/chat-vendor HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Got Vendor Details</message>
</object>
Retrieve the chat history for a specific user by userId.
Query parameters
userIdintegerRequired
ID of the user for whom the chat history is being fetched.
Header parameters
AuthorizationstringRequired
Bearer token for vendor authentication.
Responses
200
Successfully retrieved chat history.
400
Bad request. Invalid userId or missing parameters.
401
Unauthorized access. Token is missing or invalid.
500
Internal server error.
get
GET /backend/api/chat-vendor/chat-history HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Got Chat History..!</message>
</object>
Last updated