
Push Notifications and Live Activities now support custom metadata. Add fields such as a customer ID, subscription amount, or job result, then view them in ActivitySmith on iOS or the web. Metadata does not appear on the Lock Screen.
Include a metadata object with any extra information you want to attach to a Push Notification or Live Activity.
await activitysmith.notifications.send({ title: "New subscription", message: "Customer upgraded to Pro plan", metadata: { customer_id: "382", plan: "Pro", amount: 29, trial: false, },});Metadata values can be strings, numbers, or booleans, with up to 50 fields per request.
Add metadata through the API or MCP server. See the Metadata documentation for examples and supported values.
Start your 7-day free trial. No credit card required.