I’m working on an an automation framework and I’m trying to use the activitypub protocol to send a message to a user’s mailbox.
I am following this guide
which is quite old. I’ve set up my webfinger and my user account page and that is now discoverable by the fediverse
However I cannot figure out how to send a PM to a specific mailbox. The payload and url provided in that guide just return 400.
Can anyone assist?
If you know of a better community to ask, please let me know.
I managed to get it to work for Mastodon. Unfortunately lemmy doesn’t provide any documentation on its activitypub implementation, so I’m currently reading the code.
I managed to figure it out. I was missing “type”:“Person” in my origin server user json
Anyone know the format of the payload to send to an inbox? Either the shared
/inbox/
or a direct user’s inbox likehttps://overctrl.dbzer0.com/u/overseer/inbox
The mastodon payload just returns
Response Body: data did not match any variant of untagged enum PersonInboxActivitiesWithAnnouncable