Skip to main content
WEBHOOK
activity
/
item_merged
{
  "id": "1CLJt2v7ZSE5XoM8YbDMRg",
  "occurred_at": "2025-02-17T16:00:00.000Z",
  "type": "activity/item_merged",
  "destination": {
    "id": "1CLJt2v3LvpZ5e34jasMSV",
    "type": "item",
    "collection": {
      "id": "1CLJt2ubZ7zAZFBxUxeBHo",
      "type": "collection",
      "ref": "people"
    }
  },
  "source": {
    "id": "1CLJt2v5KzRWMMwvHwW4Nh",
    "type": "item",
    "collection": {
      "id": "1CLJt2ubZ7zAZFBxUxeBHo",
      "type": "collection",
      "ref": "people"
    }
  },
  "initiator": {
    "id": "1CLJt2v17V1yuCdrUwA4PW",
    "type": "item",
    "collection": {
      "id": "1CLJt2ubZ7zAZFBxUxeBHo",
      "type": "collection",
      "ref": "people"
    }
  }
}

Authorizations

Authorization
string
header
required

Your Moonbase API key.

Headers

webhook-id
string
required

The unique ID of the service event that triggered the notification. This value starts with msg_ and is identical for all retries of a given notification.

webhook-timestamp
integer
required

The timestamp when the notification request was sent, as seconds since the Unix epoch. Use this value to verify that the notification was sent recently.

webhook-signature
string
required

A generated signature that you can use to verify the authenticity of the notification.

Body

application/json

The activity details.

Represents an event that occurs when an Item is merged into another item.

id
string
required

Unique identifier for the object.

occurred_at
string<date-time>
required

The time at which the event occurred, as an ISO 8601 timestamp in UTC.

type
string
required

The type of activity. Always activity/item_merged.

Allowed value: "activity/item_merged"
destination
ItemPointer · object
required

A pointer to the Item that the data was merged into.

source
ItemPointer · object
required

A pointer to the source Item.

initiator
ItemPointer · object
required

The person that performed the merge.

Response

200

Successful response.