GET api/Messages/GetConversation/{SessionToken}/{PhoneNumber}
Gets a conversation view of a number associated with the user's conversation
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SessionToken |
The session token for the current user session |
string |
Required |
PhoneNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
A status code and list of phone numbers
APIReturnOfRequestStatusAndIEnumerableOfMessageInformationName | Description | Type | Additional information |
---|---|---|---|
StatusEnum | RequestStatus |
None. |
|
Status | string |
None. |
|
Result | Collection of MessageInformation |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusEnum": 0, "Status": "Success", "Result": [ { "FromNumber": "sample string 1", "ToNumber": "sample string 2", "Date": "2025-08-29T11:52:18.3058498+01:00", "Message": "sample string 3", "Sent": true }, { "FromNumber": "sample string 1", "ToNumber": "sample string 2", "Date": "2025-08-29T11:52:18.3058498+01:00", "Message": "sample string 3", "Sent": true } ] }
application/xml, text/xml
Sample:
<APIReturnOfRequestStatusArrayOfMessageInformationuO2q6ph3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSConnector"> <Result> <MessageInformation> <Date>2025-08-29T11:52:18.3058498+01:00</Date> <FromNumber>sample string 1</FromNumber> <Message>sample string 3</Message> <Sent>true</Sent> <ToNumber>sample string 2</ToNumber> </MessageInformation> <MessageInformation> <Date>2025-08-29T11:52:18.3058498+01:00</Date> <FromNumber>sample string 1</FromNumber> <Message>sample string 3</Message> <Sent>true</Sent> <ToNumber>sample string 2</ToNumber> </MessageInformation> </Result> <StatusEnum>Success</StatusEnum> </APIReturnOfRequestStatusArrayOfMessageInformationuO2q6ph3>