Skip to main content
POST
Before your app starts shouting signals to Mailofly, you can register a new event definition! This teaches Mailofly what name the signal will use (like user.signed_up) and what properties to expect in its backpack (like first_name or plan).

Body

string
required
The unique name for this signal! Usually written with dot notation, like "user.signup" or "item.purchased".
object
A map of expected backpack items and their types (string, number, or boolean). For example:

Response

string
Always says "event".
string
The unique ID badge assigned to this new signal definition.