POST api/conversation/conversations

Request Information

URI Parameters

None.

Body Parameters

ConversationRequest
NameDescriptionTypeAdditional information
UserId

integer

None.

TopCounter

integer

None.

OfficeId

integer

None.

NewMessages

integer

None.

PhoneNumber

string

None.

IgUserId

string

None.

LastIgMessageId

integer

None.

LastSmsMessageId

integer

None.

LastWaMessageId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "topCounter": 2,
  "officeId": 3,
  "newMessages": 4,
  "phoneNumber": "sample string 5",
  "igUserId": "sample string 6",
  "lastIgMessageId": 1,
  "lastSmsMessageId": 1,
  "lastWaMessageId": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ConversationResponse
NameDescriptionTypeAdditional information
Source

string

None.

Type

string

None.

Id

integer

None.

SenderId

string

None.

RecipientId

string

None.

MessageText

string

None.

AttachmentType

string

None.

AttachmentUrl

string

None.

AttachmentWidth

integer

None.

AttachmentHeigth

integer

None.

CreatedOn

date

None.

MId

string

None.

IsRead

boolean

None.

ProfilePic

string

None.

Header

string

None.

Footer

string

None.

HeaderType

string

None.

CreatedBy

integer

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "source": "sample string 1",
  "type": "sample string 2",
  "id": 3,
  "senderId": "sample string 4",
  "recipientId": "sample string 5",
  "messageText": "sample string 6",
  "attachmentType": "sample string 7",
  "attachmentUrl": "sample string 8",
  "attachmentWidth": 1,
  "attachmentHeigth": 1,
  "createdOn": "2026-01-01T19:00:33.1872555-05:00",
  "mId": "sample string 9",
  "isRead": true,
  "profilePic": "sample string 10",
  "header": "sample string 11",
  "footer": "sample string 12",
  "headerType": "sample string 13",
  "createdBy": 1,
  "userName": "sample string 14"
}