Messages
A [Message](/concepts/messages) is a notification delivered on a particular channel to a user.
Messages
#A Message is a notification delivered on a particular channel to a user.
Get message
#Retrieves a specific message by its ID.
Endpoint
Rate limit
Tier 4Path parameters
The unique identifier for the message.
Returns
Represents a single message that was generated by a workflow for a given channel.
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
Get message content
#Returns the fully rendered contents of a message, where the response depends on which channel the message was sent through.
Endpoint
Rate limit
Tier 4Path parameters
The ID of the message to fetch contents of.
Returns
The content of a message.
The typename of the schema.
Content data specific to the channel type.
Timestamp when the message content was created.
The unique identifier for the message content.
List messages
#Returns a paginated list of messages for the current environment.
Endpoint
Rate limit
Tier 4Query parameters
The cursor to fetch entries after.
The cursor to fetch entries before.
The number of items per page (defaults to 50).
Limits the results to items with the corresponding tenant.
Limits the results to items with the corresponding channel ID.
Limits the results to messages with the given delivery status.
Limits the results to messages with the given engagement status.
Limits the results to only the message IDs given (max 50). Note: when using this option, the results will be subject to any other filters applied to the query.
Limits the results to messages related to any of the provided categories.
Limits the results to messages triggered by the given workflow key.
Limits the results to messages associated with the top-level workflow run ID returned by the workflow trigger request.
Limits the results to messages for a specific recipient's workflow run.
Limits the results to only messages that were generated with the given data. See trigger data filtering for more information.
Limits the results to messages inserted after or on the given date.
Limits the results to messages inserted before or on the given date.
Limits the results to messages inserted after the given date.
Limits the results to messages inserted before the given date.
Returns
A paginated list of messages.
A list of messages.
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
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).
List events
#Returns a paginated list of events for the specified message.
Endpoint
Rate limit
Tier 3Path parameters
The ID of the message to fetch events for.
Query parameters
The cursor to fetch entries after.
The cursor to fetch entries before.
The number of items per page (defaults to 50).
Returns
Returns a paginated list of delivery and engagement events for the specified message.
A list of message events.
The typename of the schema.
The data associated with the message event. Only present for some event types.
The unique identifier for the message event.
Timestamp when the event was created.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
The type of event that occurred.
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).
List delivery logs
#Returns a paginated list of delivery logs for the specified message.
Endpoint
Rate limit
Tier 3Path parameters
The ID of the message to fetch delivery logs for.
Query parameters
The cursor to fetch entries after.
The cursor to fetch entries before.
The number of items per page (defaults to 50).
Returns
A message delivery log response.
Returns a paginated list of delivery logs from the downstream provider for the specified message. For Knock in-app channels, the delivery logs will always be an empty list.
The typename of the schema.
The ID of the environment in which the message delivery occurred.
The unique identifier for the message delivery log.
Timestamp when the message delivery log was created.
A message delivery log request.
The body content that was sent with the request.
The headers that were sent with the request.
The host to which the request was sent.
The HTTP method used for the request.
The path of the URL that was requested.
The query string of the URL that was requested.
A message delivery log response.
The body content that was received with the response.
The headers that were received with the response.
The HTTP status code of the response.
The name of the service that processed the delivery.
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).
List activities
#Returns a paginated list of activities for the specified message.
Endpoint
Rate limit
Tier 4Path parameters
The ID of the message to fetch activities for.
Query parameters
The trigger data to filter activities by.
The cursor to fetch entries after.
The cursor to fetch entries before.
The number of items per page (defaults to 50).
Returns
Returns a paginated list of activities associated with a given message. For messages produced after a batch step, this will contain one or more activities. Non-batched messages will always return a single activity.
A list of activities.
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.
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).
Mark message as seen
#Marks a message as seen. This indicates that the user has viewed the message in their feed or inbox. Read more about message engagement statuses here.
Endpoint
Rate limit
Tier 2Path parameters
The unique identifier for the message.
Returns
Represents a single message that was generated by a workflow for a given channel.
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
Mark message as unseen
#Marks a message as unseen. This reverses the seen state. Read more about message engagement statuses here.
Endpoint
Rate limit
Tier 2Path parameters
The unique identifier for the message.
Returns
Represents a single message that was generated by a workflow for a given channel.
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
Mark message as read
#Marks a message as read. This indicates that the user has read the message content. Read more about message engagement statuses here.
Endpoint
Rate limit
Tier 2Path parameters
The unique identifier for the message.
Returns
Represents a single message that was generated by a workflow for a given channel.
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
Mark message as unread
#Marks a message as unread. This reverses the read state. Read more about message engagement statuses here.
Endpoint
Rate limit
Tier 2Path parameters
The unique identifier for the message.
Returns
Represents a single message that was generated by a workflow for a given channel.
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
Mark message as interacted
#Marks a message as interacted with by the user. This can include any user action on the message, with optional metadata about the specific interaction. Cannot include more than 5 key-value pairs, must not contain nested data. Read more about message engagement statuses here.
Endpoint
Rate limit
Tier 2Path parameters
The unique identifier for the message.
Request body
Metadata about the interaction.
Returns
Represents a single message that was generated by a workflow for a given channel.
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
Archive message
#Archives a message for the user. Archived messages are hidden from the default message list in the feed but can still be accessed and unarchived later.
Endpoint
Rate limit
Tier 2Path parameters
The unique identifier for the message.
Returns
Represents a single message that was generated by a workflow for a given channel.
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
Unarchive message
#Removes a message from the archived state, making it visible in the default message list in the feed again.
Endpoint
Rate limit
Tier 2Path parameters
The unique identifier for the message.
Returns
Represents a single message that was generated by a workflow for a given channel.
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
Batch operations
#Operations that can be performed on a batch of messages.
Batch get message contents
#Get the contents of multiple messages in a single request.
Endpoint
Rate limit
Tier 4Query parameters
The IDs of the messages to fetch contents of.
Returns
A list of MessageContents
Mark messages as seen
#Marks the given messages as seen. This indicates that the user has viewed the message in their feed or inbox. Read more about message engagement statuses here.
Endpoint
Rate limit
Tier 3Request body
The message IDs to update the status of.
Returns
The list of messages that were updated.
Mark messages as unseen
#Marks the given messages as unseen. This reverses the seen state. Read more about message engagement statuses here.
Endpoint
Rate limit
Tier 3Request body
The message IDs to update the status of.
Returns
The list of messages that were updated.
Mark messages as read
#Mark messages as unread
#Marks the given messages as unread. This reverses the read state. Read more about message engagement statuses here.
Endpoint
Rate limit
Tier 3Request body
The message IDs to update the status of.
Returns
The list of messages that were updated.
Mark messages as interacted
#Marks the given messages as interacted with by the user. This can include any user action on the message, with optional metadata about the specific interaction. Cannot include more than 5 key-value pairs, must not contain nested data. Read more about message engagement statuses here.
Endpoint
Rate limit
Tier 3Request body
The message IDs to batch mark as interacted with.
Metadata about the interaction.
Returns
The list of messages that were updated.
Mark messages as archived
#Marks the given messages as archived. Archived messages are hidden from the default message list in the feed but can still be accessed and unarchived later.
Endpoint
Rate limit
Tier 3Request body
The message IDs to update the status of.
Returns
The list of messages that were updated.
Mark messages as unarchived
#Marks the given messages as unarchived. This reverses the archived state. Archived messages are hidden from the default message list in the feed but can still be accessed and unarchived later.
Endpoint
Rate limit
Tier 3Request body
The message IDs to update the status of.
Returns
The list of messages that were updated.
Message
#Represents a single message that was generated by a workflow for a given channel.
Attributes
The typename of the schema.
One or more actors that are associated with this message. Note: this is a list that can contain up to 10 actors if the message is produced from a batch.
Timestamp when the message was archived.
A configured channel, which is a way to route messages to a provider.
The timestamp of when the channel was created.
The unique identifier for the channel.
Unique identifier for the channel within a project (immutable once created).
The human-readable name of the channel.
The ID of the provider that this channel uses to deliver messages.
The type of channel, determining what kind of messages it can send.
The timestamp of when the channel was last updated.
Deprecated, use channel.id instead.
Timestamp when the message was clicked.
Data associated with the message’s workflow run. Includes the workflow trigger request’s data payload merged with any additional data returned by a fetch function. For messages produced after a batch step, includes the payload data from the most-recent trigger request (the final activity in the batch).
A list of engagement statuses.
The unique identifier for the message.
Timestamp when the resource was created.
Timestamp when the message was interacted with.
Timestamp when a link in the message was clicked.
The metadata associated with the message.
Timestamp when the message was read.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
Timestamp when the message was scheduled to be sent.
Timestamp when the message was seen.
The workflow or guide that triggered the message.
The categories associated with the message.
The key of the workflow or guide that triggered the message.
The step reference for the step in the workflow that generated the message.
Whether this message was generated from a workflow, broadcast, or guide.
The ID of the version of the workflow or guide that triggered the message.
The unique identifier for the workflow recipient run that generated this message. Only present for workflow/broadcast messages.
The unique identifier for the workflow run that generated this message. Only present for workflow/broadcast messages.
The message delivery status.
The ID of the tenant associated with the message. Only present when a tenant is provided on a workflow trigger request.
The timestamp when the resource was last updated.
The key of the workflow that generated the message.
Activity
#An activity associated with a workflow trigger request. Messages produced after a batch step can be associated with one or more activities. Non-batched messages will always be associated with a single activity.
Attributes
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.
MessageDeliveryLog
#A message delivery log contains a request from Knock to a downstream provider and the response that was returned.
Attributes
The typename of the schema.
The ID of the environment in which the message delivery occurred.
The unique identifier for the message delivery log.
Timestamp when the message delivery log was created.
A message delivery log request.
The body content that was sent with the request.
The headers that were sent with the request.
The host to which the request was sent.
The HTTP method used for the request.
The path of the URL that was requested.
The query string of the URL that was requested.
A message delivery log response.
The body content that was received with the response.
The headers that were received with the response.
The HTTP status code of the response.
The name of the service that processed the delivery.
MessageEvent
#A message event. Occurs when a message delivery or engagement status changes.
Attributes
The typename of the schema.
The data associated with the message event. Only present for some event types.
The unique identifier for the message event.
Timestamp when the event was created.
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
The type of event that occurred.