List feed items
Returns a paginated list of feed items for a user in reverse chronological order, including metadata about the feed. If the user has not yet been identified within Knock, an empty feed will be returned. You can customize the response using [response filters](/integrations/in-app/knock#customizing-api-response-content) to exclude or only include specific properties on your resources. **Notes:** * When making this call from a client-side environment, use your publishable key along with a user token. * This endpoint’s rate limit is always scoped per-user and per-environment. This is true even for requests made without a signed user token. * Any [attachments](/integrations/email/attachments) present in trigger data are automatically excluded from both the `data` and `activities` fields of `UserInAppFeedResponse`.
List feed items
Returns a paginated list of feed items for a user in reverse chronological order, including metadata about the feed. If the user has not yet been identified within Knock, an empty feed will be returned.
You can customize the response using response filters to exclude or only include specific properties on your resources.
Notes:
- When making this call from a client-side environment, use your publishable key along with a user token.
- This endpoint’s rate limit is always scoped per-user and per-environment. This is true even for requests made without a signed user token.
- Any attachments present in trigger data are automatically excluded from both the
dataandactivitiesfields ofUserInAppFeedResponse.
Endpoint
Rate limit
Tier 2Path parameters
The unique identifier of the user.
The unique identifier for the channel.
Query parameters
The status of the feed items.
The workflow key associated with the message in the feed.
The tenant associated with the feed items.
Whether the feed items have a tenant.
The workflow categories of the feed items.
The archived status of the feed items.
The trigger data of the feed items (as a JSON string).
The locale to render the feed items in. Must be in the IETF 5646 format (e.g. en-US). When not provided, will default to the locale that the feed items were rendered in. Only available for enterprise plan customers using custom translations.
The cursor to fetch entries after.
The cursor to fetch entries before.
The number of items per page (defaults to 50).
Returns
A paginated list of feed items.
The list of feed items in the user's feed.
The typename of the schema.
List of activities associated with this feed item.
The typename of the schema.
The workflow trigger data payload associated with the activity.
Unique identifier for the activity.
Timestamp when the activity was created.
A recipient of a notification, which is either a user or an object.
Timestamp when the activity was last updated.
Timestamp when the feed item was archived.
Content blocks that make up the feed item.
Timestamp when the feed item was clicked.
Additional data associated with the feed item.
Unique identifier for the feed.
Timestamp when the resource was created.
Timestamp when the feed item was interacted with.
Timestamp when a link within the feed item was clicked.
Timestamp when the feed item was marked as read.
Timestamp when the feed item was marked as seen.
Source information for the feed item.
The typename of the schema.
Categories this workflow belongs to.
The key of the workflow.
The workflow version ID.
Tenant ID that the feed item belongs to.
Total number of activities related to this feed item.
Total number of actors related to this feed item.
The timestamp when the resource was last updated.
The metadata for the user's feed.
The typename of the schema.
The total number of feed items in the user's feed.
The number of unread feed items in the user's feed.
The number of unseen feed items in the user's feed.
Pagination information for a list of resources.
The typename of the schema.
The cursor to fetch entries after.
The cursor to fetch entries before.
The number of items per page (defaults to 50).
Additional variables for the feed item.