Custom data
Attach arbitrary metadata to contacts for use in templates and segments.
Custom data is a flat key-value object stored on each contact. Use it to personalize templates or build segments for campaigns.
typescript
await plunk.contacts.update({
email: "user@example.com",
data: {
firstName: "Ada",
company: "Acme Inc",
mrr: 49,
},
});Reference custom data fields inside a template with double curly braces, e.g. {{firstName}}.