Skip to main content
Tailor one e-mail

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

name
string
required

Who within that scope - the identifier of the group, of the role's group or of the organization. The tenant is the one scope that needs none, being the only one of its kind.

type
enum<string>
required

Scope the e-mail is being tailored for.

Available options:
tenant,
organization,
role,
group,
user
Minimum string length: 1

Body

application/json
email
object
required

The message itself. It is stored as sent, so a part left out is cleared rather than kept as it was.

language
string
required

Language this wording is for. Each language of a message is written on its own, and one written in no language at all is not reachable.

Minimum string length: 1
Pattern: ^[a-z][a-z-]+$
Example:

"en"

name
string
required

Which e-mail is being written, named as it stands in the list of what can be tailored. Only an e-mail the platform knows can be written; there is no adding one of your own.

Example:

"shareCreated"

Response

The wording has been stored.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"