This method is used when you want to list the detailed records (messages) of one of the conversations in the system. The “UniqueId” value of the conversation to be included in the “PhoneNumber” parameter must be given.
Authorization header should be entered as “token_type” value returned as a result of token request, space character, “Access_token” value.

As a result of the request, you can see that the detailed information of the conversation is returned in json format.

private static IRestResponse GetConversationDetailsByMobile()
{
RestClient client = new RestClient("https://api.flexxii.com/");
RestRequest request = new RestRequest("api/Inbox/GetConversationDetailsByMobile", Method.GET);
request.AddHeader("Content-Type", "application/json; charset=utf-8");
request.AddParameter("PhoneNumber", conversationDetailsId);
request.AddHeader("Authorization", content_type + " " + access_token);
IRestResponse response = client.Execute(request);
return response;
}
Was this helpful?
0 / 0