Last updated Jul 16, 2025

Message

The Message object type represents a message object within conversations or channels. atlassian:message should be used to ingest Message-specific fields.

Payload structure

1
2
  objects {}
  ├─ schemaVersion (string) [Required]
  ├─ id (string) [Required]
  ├─ updateSequenceNumber (long) [Required]
  ├─ displayName (string) [Required]
  ├─ description (string) [Optional]
  ├─ url (string) [Required]
  ├─ createdAt (Instant (ISO8601 / RFC3339)) [Required]
  └─ createdBy [] [Optional]
      ├─ accountId (string)
      └─ ari (string)
  └─ lastUpdatedAt (Instant (ISO8601 / RFC3339)) [Required]
  └─ lastUpdatedBy [] [Required]
      ├─accountId (string)
      └─ ari
  └─ parentKey ()[Required]
      ├─ type
      └─ value
  └─ permissions 
      └─ accessControls
         └─ principals
            └─type
  └─ associations [] [Optional]
      ├─ associationType (string)
      └─ values []
      
  atlassian:message
  ├─ hidden (boolean) [Optional]
  ├─ isPinned (boolean) [Optional]
  ├─ attachments (List<Attachment>) [Optional]
      ├─ url (string) [Required]
      ├─ thumbnailUrl (string) [Optional]
      ├─ title (string) [Optional]
      ├─ mimeType (string) [Optional]
      └─ byteSize (long) [Optional]
  └─ lastActive (string) [Optional]

Common properties

Description to go here about what common properties are.

PropertyTypeRequiredDescription
schemaVersion

string

YesThe schema version of the object.
id

string

YesThe ID of the object in the source system.
updateSequenceNumberlongYesA sequence number to compare when writing to the database. Objects are written following a last write wins strategy, therefore an object with a greater UpdateSequenceNumber is considered a more recently updated object.
displayNamestringYesThe display name of the object.
descriptionstringNoThe description of the object.
urlstringYesThe URL from the provider which the object is accessible from.
createdAtstringYes

The date the object was created.

Format: Instant (ISO8601 / RFC3339)

createdByuserNo

The user that created the object.

See User to learn more.

lastUpdatedAtstringYes

The date the object was last updated.

Format: Instant (ISO8601 / RFC3339)

lastUpdatedByuserNo

The user that last updated the object.

See User to learn more.

ownerslist<User>NoList of users that own the object.
thumbnailthumbnailNo

The thumbnail of the object.

See Thumbnail to learn more.

parentKeyentityKeyYes

The ID of the parent object. If null, it is a standalone object.

See Entity key to learn more.

containerKeyentityKeyYes

The container identifier that this object belongs to.

See Entity key to learn more.

permissionslist<Permissions>Yes

The permissions configuration of the object.

See Permissions to learn more.

associationsassociationNo

List of objects associated with the object. Generally used to link an external object to a Atlassian object.

See Association to learn more.

Message properties

Description here about these properties being specific to message.

PropertyTypeRequiredDescription
hidden

boolean

No

Whether the message is hidden from view.

isPinned

boolean

No

Whether the message is pinned in the conversation.

attachmentsList<Attachment>No

List of file attachments included with the message.

attachments.urlstringYes

The URL to access the attached file.

attachments.thumbnailUrlstringNo

The URL for the thumbnail of the attachment.

attachments.titlestringNo

The title or name of the attachment.

attachments.mimeTypestringNo

The MIME type of the attached file.

attachments.byteSizelongNo

The size of the attachment in bytes.

lastActivestringNo

The timestamp of the last activity on the message.

Format: Instant (ISO8601 / RFC3339)

Example payload

1
2
{
  "objects" : [ {
    "id" : "message-1",
    "updateSequenceNumber" : 1,
    "description" : "Hello everyone !",
    "url" : "https://example-conversation.com/p1722400000000000",
    "lastUpdatedAt" : "2024-07-09T14:27:37.000Z",
    "lastActive" : "2024-07-09T15:27:37.000Z",
    "permissions" : [ {
      "action" : "read",
      "accessControls" : [ {
        "principals" : [ {
          "type" : "EVERYONE"
        } ]
      } ]
    } ],
    "containerKey" : {
      "type" : "atlassian:conversation",
      "value" : {
        "entityId" : "CFG3W7TKJ"
      }
    },
    "atlassian:message" : {
      "attachments" : [ {
        "url" : "https://example-conversation.com/attachements/CFG3W7TKJ",
        "mimeType" : "image/png",
        "byteSize" : 140288
      } ]
    }
  } ],
  "operationType" : "NORMAL"
}

Rate this page: