This is one of many protocol behaviors described in ActivityPub.

Identifier

urn:uuid:e6d00349-6d07-4512-9a99-f698d3bc1dba

Content

The server then MUST attach this object as the object of a Create Activity.

Origin

prefix The server MUST accept a valid [ActivityStreams] object that isn't a subtype of Activity in the POST request to the outbox.

The server then MUST attach this object as the object of a Create Activity.
 
suffix For non-transient objects, the server MUST attach an id to both the wrapping Create and its wrapped Object.

https://www.w3.org/TR/activitypub/

JSON

{
  "id": "urn:uuid:e6d00349-6d07-4512-9a99-f698d3bc1dba",
  "uuid": "e6d00349-6d07-4512-9a99-f698d3bc1dba",
  "type": "Behavior",
  "content": "The server then MUST attach this object as the object of a Create Activity.\n",
  "context": [
    "https://www.w3.org/TR/activitypub/",
    {
      "name": "6.2 Create Activity",
      "id": "https://www.w3.org/TR/activitypub/#create-activity-outbox"
    },
    {
      "name": "6.2.1 Object creation without a Create Activity",
      "id": "https://www.w3.org/TR/activitypub/#object-without-create"
    }
  ],
  "origin": {
    "source": "https://www.w3.org/TR/activitypub/",
    "section": {
      "id": "https://www.w3.org/TR/activitypub/#object-without-create",
      "name": "Object creation without a Create Activity",
      "branch": [
        6,
        2,
        1
      ]
    },
    "selector": {
      "type": "TextQuoteSelector",
      "prefix": "The server MUST accept a valid [ActivityStreams] object that isn't a subtype of Activity in the POST request to the outbox.\n",
      "exact": "The server then MUST attach this object as the object of a Create Activity.\n",
      "suffix": "For non-transient objects, the server MUST attach an id to both the wrapping Create and its wrapped Object.\n"
    }
  },
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://socialweb.coop/ns/testing/context.json"
  ]
}