Skip to Content

VendorCallsApi

All URIs are relative to https://business.apis.kesk.app/v1 

MethodHTTP requestDescription
endVendorCallPOST /vendors/{vendor_id}/calls/{session_id}/endEnd a call session
getVendorCallGET /vendors/{vendor_id}/calls/{call_id}Get call session details
initiateVendorCallPOST /vendors/{vendor_id}/callsInitiate a call to a customer
listVendorCallsGET /vendors/{vendor_id}/callsList vendor call sessions
notifyVendorCallPOST /vendors/{vendor_id}/calls/{session_id}/notifyNotify customer of incoming call

endVendorCall

MessageResponse endVendorCall(vendor_id, session_id)

End a call session

Terminates an active call session and updates its status.

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
session_idString[default to null]

Return type

MessageResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorCall

VendorCallWithUserResponse getVendorCall(vendor_id, call_id)

Get call session details

Retrieves details of a specific call session for the vendor.

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
call_idLong[default to null]

Return type

VendorCallWithUserResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

initiateVendorCall

VendorInitiateCallResponse initiateVendorCall(vendor_id, VendorInitiateCallRequest)

Initiate a call to a customer

Creates a new call session to contact a customer. The vendor staff member initiating the call will be the caller, and the specified user will be the receiver.

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
VendorInitiateCallRequestVendorInitiateCallRequest

Return type

VendorInitiateCallResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

listVendorCalls

PaginatedResponse_VendorCallWithUserResponse listVendorCalls(vendor_id, page, per_page, status, call_type, user_id)

List vendor call sessions

Retrieves a paginated list of call sessions for the specified vendor. Includes customer details for each call.

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
pageInteger[optional] [default to null]
per_pageInteger[optional] [default to null]
statusString[optional] [default to null]
call_typeString[optional] [default to null]
user_idLong[optional] [default to null]

Return type

PaginatedResponse_VendorCallWithUserResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

notifyVendorCall

MessageResponse notifyVendorCall(vendor_id, session_id)

Notify customer of incoming call

Sends a push notification to the customer about the incoming call. Should be called after initiating a call session.

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
session_idString[default to null]

Return type

MessageResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8