Parameters
JSON body
Request body
application/jsonemailobjectRequiredsubjectstringRequiredSubject line.
Length: 0–1000
fromstring | objectRequiredOne of 2:
Variant 1
string
Length: 0–500
Variant 2
namestringRequiredLength: 0–200
emailstringRequiredLength: 0–320
tostring | object | string | object[]RequiredOne of 2:
Variant 1
string | object
One of 2:
Variant 1
string
Length: 0–500
Variant 2
namestringRequiredLength: 0–200
emailstringRequiredLength: 0–320
Variant 2
string | object[]
Each array item:
string | object
One of 2:
Variant 1
string
Length: 0–500
Variant 2
namestringRequiredLength: 0–200
emailstringRequiredLength: 0–320
ccstring | object | string | object[]OptionalOne of 2:
Variant 1
string | object
One of 2:
Variant 1
string
Length: 0–500
Variant 2
namestringRequiredLength: 0–200
emailstringRequiredLength: 0–320
Variant 2
string | object[]
Each array item:
string | object
One of 2:
Variant 1
string
Length: 0–500
Variant 2
namestringRequiredLength: 0–200
emailstringRequiredLength: 0–320
bccstring | object | string | object[]OptionalOne of 2:
Variant 1
string | object
One of 2:
Variant 1
string
Length: 0–500
Variant 2
namestringRequiredLength: 0–200
emailstringRequiredLength: 0–320
Variant 2
string | object[]
Each array item:
string | object
One of 2:
Variant 1
string
Length: 0–500
Variant 2
namestringRequiredLength: 0–200
emailstringRequiredLength: 0–320
replyTostring | objectOptionalOne of 2:
Variant 1
string
Length: 0–500
Variant 2
namestringRequiredLength: 0–200
emailstringRequiredLength: 0–320
prioritynumberOptionalQueue priority.
localestringOptionalLength: 0–8
sendEarliestAtstringOptionalISO datetime — do not send before.
notestringOptionalInternal note (not sent to the recipient).
htmlBodystringOptionalHTML body.
attachmentListobject | object | object[]OptionalEach array item:
object | object | object
One of 3:
Variant 1
blobIdnumberRequiredBlob id owned by the current organisation.
filenamestringOptionaltagstringOptionalVariant 2
blobTokenstringRequiredBlob token owned by the current organisation.
filenamestringOptionaltagstringOptionalVariant 3
rawTextContentstringRequiredRaw text attached as a file.
filenamestringOptionaltagstringOptional