Core Fields
Action Types
The TypeScript SDK type surface defines these action values. iOS and Android expose action type as a string on each returned tray item.Tray Item Categories
The TypeScript SDK type surface defines these category values. iOS and Android expose the category as a string on each returned tray item.Routing Guidance
- Use
targetTypeandtargetIdfor the primary destination. - Use
referenceTypeandreferenceIdwhen your UI needs to highlight a related post, comment, event, or other referenced object. - Use
rootIdandlatestCommentIdwhen they are present and your comment UI needs to open a thread context. - For
actionType == "event"items, resolve the event id fromactionReferenceIdand route to the event detail page. WhentrayItemCategory == "event_created", the hydratedeventobject (includingevent.targetCommunity) is available on the item for rendering the community avatar, event-type chip (In-person/Virtualfromevent.type), and event start date/time (fromevent.startTime). - Prefer the returned
textortemplatedTextfor display copy instead of rebuilding notification copy in the client.
Related Documentation
Notification Items
Query tray items and inspect returned fields
Tray Status
Observe and update tray-level seen status