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": "40c1d502-8fc1-4d20-bf8d-93b5c6782dfe",
    "InviterAccountId": "c0629798-dff8-4bed-bd7c-9c19594f5efe",
    "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":"40c1d502-8fc1-4d20-bf8d-93b5c6782dfe","InviterAccountId":"c0629798-dff8-4bed-bd7c-9c19594f5efe","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>40c1d502-8fc1-4d20-bf8d-93b5c6782dfe</InviteeRoleId>
    <InviterAccountId>c0629798-dff8-4bed-bd7c-9c19594f5efe</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.