By Fediverse Developer Network

A Note is a standard object in Mastodon used to represent a message or post. It is a text-based content object that can be published by a user on the Mastodon social network.


PropertyData typeDescription
type*StringThe object type (Note)
id*String (URI)The URI that identifies the note
attributedToString (URI)The URI of the user who posted the note
content*StringThe text content of the note
published*DatetimeThe date and time when the note was published
sensitiveBooleanIndicates if the note content is sensitive
spoilerTextStringThe warning text for hidden content
visibilityStringThe visibility of the note (public, unlisted, private, direct)
mediaAttachmentsArrayAn array of objects representing the media attached to the note
tagArrayAn array of strings representing the tags associated with the note

* Required properties.


  "type": "Note",
  "id": "",
  "author": "John Doe",
  "content": "This is an example note in Communecter.",
  "published": "2023-07-02T14:30:00Z",
  "tags": ["community", "event"],
  "attachments": [
      "type": "Image",
      "name": "Photo",
      "url": "",
      "mediaType": "image/jpeg"
      "type": "Link",
      "name": "Website",
      "url": "",
      "mediaType": "text/html"