Chat

Get vendor details for chat

get

Retrieve vendor details used for chat.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication.

Responses
200

Successfully retrieved vendor details for chat.

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>

Get chat history for a specific user

get

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.

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