Diamra Developer Docs
All pages

Message events

Each event below says when it fires and lists the fields in its data. Event types explains who each event notifies, the fields that events share and the envelope around data.

message.created

Recipients: customerowner

A customer or your team sends a message in a store thread. A new endpoint starts with it picked.

FieldWhat it holds
message_id
Diamra's id for the message.
conversation_id
The thread the message belongs to.
project_id
The project the thread is about, or null when the thread isn't about a project.
design_image_id
The id of that project's design, or null when the thread isn't about a project.
sender
Who wrote it: customer, or owner for your team.
text
The message, up to its first 600 characters.
customer
The customer: id (Diamra's id for them), email, phone, first_name and name. Anything Diamra doesn't know is null.