Homepage

activity_create

Last edit: Nov 10, 2026

Creates an activity and returns it. The activity gets a generated UUID, which
is also added to its payload as uuid. It is not added to any feed; use
activity_publish for that.

activity_create(
  payload: ActivityStreamsPayload!
): ActivityStreamsActivity

Arguments

payload (ActivityStreamsPayload)

Activity data as a JSON object, typically in the Activity Streams format (type, actor, object, target)

Type

ActivityStreamsActivity

Activity published to activity feeds (legacy activity streams)

Questions?

We are always happy to help with any questions you may have.

contact us