This payload is sent for a MessageSubscription.

interface MessageDeliveryPayload {
    createdAt: string;
    id: string;
    lastModifiedAt: string;
    notificationType: "Message";
    payloadNotIncluded?: PayloadNotIncluded;
    projectKey: string;
    resource: Reference;
    resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
    resourceVersion: number;
    sequenceNumber: number;
    version: number;
}

Properties

createdAt: string

Date and time (UTC) the resource was initially created.

id: string

Unique ID of the message.

lastModifiedAt: string

Date and time (UTC) the resource was last modified.

notificationType: "Message"
payloadNotIncluded?: PayloadNotIncluded

If the payload does not fit into the size limit or its format is not accepted by the messaging service, the payloadNotIncluded field is present.

projectKey: string

key of the Project. Useful in message processing if the Destination receives events from multiple Projects.

resource: Reference

Reference to the resource that triggered the message.

resourceUserProvidedIdentifiers?: UserProvidedIdentifiers

User-defined unique identifiers of the resource.

resourceVersion: number

Version of the resource on which the change was performed.

sequenceNumber: number

Used to ensure all messages of the resource are processed in correct order. The sequenceNumber of the next message of the resource is a successor of the sequenceNumber of the current message.

version: number

Last seen version of the resource.

Generated using TypeDoc