Events
Track event
Track an event for a contact. Automatically creates/updates the contact.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.mailglyph.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key authentication. Secret keys (sk_*) are required for all endpoints except /v1/track. Public keys (pk_*) only work with the /v1/track endpoint for client-side event tracking. Workspaces can have multiple active keys, and sender-domain operations enforce per-key domain scope when configured.
Body
application/json
Contact email
Event name
Whether contact is subscribed to marketing emails. Defaults to true for event tracking.
Optional event data and contact metadata. Choose Empty object if you do not want to send any example preset keys.
- Example object
- Empty object
Example:
{ "product": "Premium Plan", "amount": 99 }
