POST messaging/messagethread/compose

Request Information

URI Parameters

None.

Body Parameters

ComposeApiDto
NameDescriptionTypeAdditional information
Files

Collection of Base64FileDto

None.

ToEmail

string

Required

Subject

string

Required

Content

string

Required

SecureMessageSelfDestructDays

integer

None.

Verify

TwoStepVerificationInviteDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Files": [
    {
      "Name": "sample string 1",
      "Data": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Data": "sample string 2"
    }
  ],
  "ToEmail": "sample string 1",
  "Subject": "sample string 2",
  "Content": "sample string 3",
  "SecureMessageSelfDestructDays": 1,
  "Verify": {
    "Email": "sample string 1",
    "ConfirmEmail": "sample string 2",
    "InviteeRoleId": "b79b5166-2efb-4e98-87f8-d95e05b1f6b5",
    "InviterAccountId": "ac1631ff-8647-49b1-9f63-8ede54163d36",
    "AddToInvitersAccount": true
  }
}

text/html

Sample:
{"Files":[{"Name":"sample string 1","Data":"sample string 2"},{"Name":"sample string 1","Data":"sample string 2"}],"ToEmail":"sample string 1","Subject":"sample string 2","Content":"sample string 3","SecureMessageSelfDestructDays":1,"Verify":{"Email":"sample string 1","ConfirmEmail":"sample string 2","InviteeRoleId":"b79b5166-2efb-4e98-87f8-d95e05b1f6b5","InviterAccountId":"ac1631ff-8647-49b1-9f63-8ede54163d36","AddToInvitersAccount":true}}

application/xml, text/xml

Sample:
<ComposeApiDto>
  <Files>
    <Name>sample string 1</Name>
    <Data>sample string 2</Data>
  </Files>
  <Files>
    <Name>sample string 1</Name>
    <Data>sample string 2</Data>
  </Files>
  <ToEmail>sample string 1</ToEmail>
  <Subject>sample string 2</Subject>
  <Content>sample string 3</Content>
  <SecureMessageSelfDestructDays>1</SecureMessageSelfDestructDays>
  <Verify>
    <Email>sample string 1</Email>
    <ConfirmEmail>sample string 2</ConfirmEmail>
    <InviteeRoleId>b79b5166-2efb-4e98-87f8-d95e05b1f6b5</InviteeRoleId>
    <InviterAccountId>ac1631ff-8647-49b1-9f63-8ede54163d36</InviterAccountId>
    <AddToInvitersAccount>true</AddToInvitersAccount>
  </Verify>
</ComposeApiDto>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.