Register Push Token and Read Feed
A 3-step recipe with Knock. We can help you get access.
Recipe · 3 steps
Register Push Token and Read Feed
with Knock
Works with AI assistants
Identify a user, set channel data, and read their in-app feed.
- Upsert the user so channel data and feed lookups have a valid recipient.
- Register the user's channel data for the given channel so push or in-app delivery can target them.
- Read the user's in-app feed items for the channel to confirm what they will see in the feed.
What you'll need to have ready
- apiKey: Knock secret API key (sk_...) used as a Bearer token.
- userId: The unique identifier of the user.
- email: The primary email address to set on the user.
- channelId: The channel identifier (UUID) to set data for and read the feed from.
- channelData: The channel data payload (e.g. device tokens) to register.
- feedStatus: Optional feed status filter (unread, read, unseen, seen, all).
For your developer
Arazzo workflow knock-app:register-push-token-and-read-feed, 3 operations: identifyUser → setUserChannelData → listUserInAppFeedItems. Specs on APIs.io.