Forgejo API
POST/activitypub/user-id/{user-id}/inbox

Send an activity to a user's inbox

Submits an ActivityPub activity to a user's inbox. Supply the target user-id as an integer identifying the user who should receive the activity. A 202 response confirms that the inbox accepted the submission.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter
user-idintegerrequired
The numeric ID of the user whose inbox should receive the activity.

1 status code
202Returns an empty response confirming that the activity was accepted by the user's inbox.

Error handling

user-id must be supplied as an integer identifying the target user. Use the user's numeric ID rather than a username or other textual identifier.