Create a message
Create and send a message as a OneMove push notification, an email, or both
Authorizations
API Key authentication. Use "Bearer YOUR_API_KEY".
Body
The body of the message shown to the recipient.
1 - 500The recipient of the message. Must be a building, or a customer with an active tenancy in the account.
- Building
- Option 2
The title of the message shown to the recipient.
1 - 100The category of the message, shown on the building noticeboard in OneMove.
announcement, event, offer, alert, null The delivery channels for the message. push sends a OneMove notification. email sends to the resident or customer email. Defaults to ["push"] when omitted.
1How the message is delivered. push sends a OneMove notification. email sends to the resident or customer email address.
email, push Response
Returns the created message.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
loyalty.message The body of the message shown to the recipient.
The category of the message. null when the message is not categorised.
announcement, event, offer, alert, null The delivery channels used for the message.
1How the message is delivered. push sends a OneMove notification. email sends to the resident or customer email address.
email, push A summary of the OneMove push delivery attempts for the message.
A summary of the email delivery attempts for the message. null when email was not one of the requested channels.
The reason the message could not be delivered, if it failed.
no_email, no_onemove_user, no_device_tokens, send_error, null The recipient of the message.
- Building
- Option 2
The date and time the message was sent.
The status of the message.
failed, pending, sent The title of the message shown to the recipient.
The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.