Assign and list group AI agent assignments
Wellesley Platform API (1.0)
Admin Domain Blocks
Administrative APIs for managing domain blocks. Provides endpoints to block specific domains with different severity levels (SUSPEND, LIMIT, NOOP), update existing blocks, unblock domains, and list currently blocked domains. Domain blocks prevent or limit federation with specified domains.
Group Channels
API endpoints for managing channels within groups. Channels are specialized accounts that enable organized content distribution within groups. They support hierarchical organization with main and default channels, privacy controls inherited from parent groups, and both scoped (group-specific) and global usernames for discovery. Group administrators manage channels while members can follow them.
Group Members
API endpoints for managing group membership. Provides functionality to add, update, and remove members from groups, as well as retrieve membership information. Supports both local and federated groups through ActivityPub protocol. Access control is enforced based on group privacy settings and user permissions.
Group Questions
API endpoints for managing group entry questions. Groups can require prospective members to answer questions before joining. Questions support multiple types (text, single choice, multiple choice) and are used to screen members when the group's join mode is set to QUESTIONS. Answers are validated and generate a token that can be used during the join process.
Group Rules
API endpoints for managing community rules within groups. Rules define the expected conduct and content policies that members must follow. Each rule consists of text (the rule itself), a hint (explanation or context), and an ordering value for display sequence. Rules are scoped to specific groups and can be managed by users with appropriate permissions.
Get older records (records with IDs less than this value) Alias maxId/max_id
Get newer records (records with IDs greater than this value) Alias minId/min_id
- Mock serverhttps://docs.wellesley.social/_mock/openapi/api/v1/notifications
- Simple setup, all in one. Digital Oceanhttps://dust.allroads.social/api/v1/notifications
- Simple setup, db is separate. Digital Oceanhttps://meteor.allroads.social/api/v1/notifications
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.wellesley.social/_mock/openapi/api/v1/notifications?excludeTypes=FOLLOW&lastId=%3FlastId%3D%24{data.last%28%29.id}&limit=0&offset=0&sortBy=string&sortOrder=string&status=UNREAD&types=FOLLOW&untilId=%3FuntilId%3D%24{data.first%28%29.id}' \
-H 'Authorization: YOUR_API_KEY_HERE'Notifications
FOLLOW New follower
Send to the user who got a new follower.
FOLLOW_REQUEST New follower request
Similar to FOLLOW, send to the user who got a new follower, but in cases where followers need to be explicitly approved.
GROUP_INVITE User got an invitation
Send to the user who received the ActivityPub invitation activity.
LIKE Post has been liked
Send to the post's author as soon as another user likes their post.
COMMENT Post has been commented on
Send to the post's author and all users subscribed to the post.
MENTION User has been mentioned in a post or comment
Send to the user who was mentioned in the post or comment.
REPOST Post has been reposted
Send to the author of the post that was reposted.
LIST_POST_CREATE New post or comment in list
Send to the list owner when a new post is created by a list user.
POST_UPDATE Post or comment has been updated
Send to users subscribed to the post or comment.
POLL Poll has been closed (expired)
Send to the poll's author and all voters.
EVENT_INVITE User has been invited to a private event
Send to the invitee, i.e., the user invited to the event.
EVENT_REVOKE User's invitation has been revoked
Send to the invitee, i.e., the user whose invitation was revoked.
EVENT_JOIN User joined a public event
Send to the event organizer.
EVENT_CANCEL Event has been cancelled
Send to all event attendees (for public events, to users who joined).
EVENT_UPDATE Event has been updated
Send to all event attendees (for public events, to users who joined).
Related activity id (usually a post)
User who triggered the notification
[ { "id": "nt_01hz1f0sj42k87a6s2nzpc4s92n", "userId": "us_01hz1fkfg82hf89s2nzqwer02r", "type": "FOLLOW", "status": "UNREAD", "activityId": "pt_01hz1f0jkdw3h27a2kdr8sn2kt", "fromUserId": "us_01hz1frg9sf48d7a8sn2kdr8w3h", "meta": { … }, "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "fromUser": { … }, "post": { … } } ]
- Mock serverhttps://docs.wellesley.social/_mock/openapi/api/v1/notifications/count
- Simple setup, all in one. Digital Oceanhttps://dust.allroads.social/api/v1/notifications/count
- Simple setup, db is separate. Digital Oceanhttps://meteor.allroads.social/api/v1/notifications/count
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.wellesley.social/_mock/openapi/api/v1/notifications/count?excludeTypes=FOLLOW&status=UNREAD&types=FOLLOW' \
-H 'Authorization: YOUR_API_KEY_HERE'- Mock serverhttps://docs.wellesley.social/_mock/openapi/api/v1/notifications/mark-all
- Simple setup, all in one. Digital Oceanhttps://dust.allroads.social/api/v1/notifications/mark-all
- Simple setup, db is separate. Digital Oceanhttps://meteor.allroads.social/api/v1/notifications/mark-all
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.wellesley.social/_mock/openapi/api/v1/notifications/mark-all?status=UNREAD' \
-H 'Authorization: YOUR_API_KEY_HERE'- Mock serverhttps://docs.wellesley.social/_mock/openapi/api/v1/notifications/{id}
- Simple setup, all in one. Digital Oceanhttps://dust.allroads.social/api/v1/notifications/{id}
- Simple setup, db is separate. Digital Oceanhttps://meteor.allroads.social/api/v1/notifications/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.wellesley.social/_mock/openapi/api/v1/notifications/us_01hxcvk1hjexere4pvtrj0ymqq \
-H 'Authorization: YOUR_API_KEY_HERE'Notification
FOLLOW New follower
Send to the user who got a new follower.
FOLLOW_REQUEST New follower request
Similar to FOLLOW, send to the user who got a new follower, but in cases where followers need to be explicitly approved.
GROUP_INVITE User got an invitation
Send to the user who received the ActivityPub invitation activity.
LIKE Post has been liked
Send to the post's author as soon as another user likes their post.
COMMENT Post has been commented on
Send to the post's author and all users subscribed to the post.
MENTION User has been mentioned in a post or comment
Send to the user who was mentioned in the post or comment.
REPOST Post has been reposted
Send to the author of the post that was reposted.
LIST_POST_CREATE New post or comment in list
Send to the list owner when a new post is created by a list user.
POST_UPDATE Post or comment has been updated
Send to users subscribed to the post or comment.
POLL Poll has been closed (expired)
Send to the poll's author and all voters.
EVENT_INVITE User has been invited to a private event
Send to the invitee, i.e., the user invited to the event.
EVENT_REVOKE User's invitation has been revoked
Send to the invitee, i.e., the user whose invitation was revoked.
EVENT_JOIN User joined a public event
Send to the event organizer.
EVENT_CANCEL Event has been cancelled
Send to all event attendees (for public events, to users who joined).
EVENT_UPDATE Event has been updated
Send to all event attendees (for public events, to users who joined).
Related activity id (usually a post)
User who triggered the notification
{ "id": "nt_01hz1f0sj42k87a6s2nzpc4s92n", "userId": "us_01hz1fkfg82hf89s2nzqwer02r", "type": "FOLLOW", "status": "UNREAD", "activityId": "pt_01hz1f0jkdw3h27a2kdr8sn2kt", "fromUserId": "us_01hz1frg9sf48d7a8sn2kdr8w3h", "meta": { "actionsAvailable": [ … ], "actionsTaken": [ … ], "empty": true }, "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "fromUser": { "groupUserName": "string", "id": "us_01hxcvk1hjexere4pvtrj0ymqq", "username": "john_smith", "domain": "wlsly1.net", "displayName": "John Smith", "uri": "https://wlsly1.net/users/john_smith", "avatar": { … }, "createdAt": "2022-03-10T16:15:50Z", "deleted": true, "state": "REGULAR", "relationship": { … }, "channel": true, "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupPrivacy": "PUBLIC", "groupMain": true, "groupDefault": true, "actorType": "Application" }, "post": { "id": "us_01hxcvk1hjexere4pvtrj0ymqq", "uri": "http://example.com", "text": "string", "path": [ … ], "privacy": "PUBLIC", "kind": "Note", "software": "wellesley", "repostOf": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerId": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerType": "USER", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "title": "string", "summary": "string", "tags": [ … ], "mentions": [ … ], "stats": { … }, "settings": { … }, "lang": "BG", "poll": { … }, "card": { … }, "mediaType": "TEXT_PLAIN", "translations": { … }, "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "author": { … }, "uploads": [ … ], "liked": true, "reposted": true, "quoted": true, "muted": true, "blocked": true, "visible": true, "pinned": true, "bookmarked": true, "edited": true, "deleted": true, "emojis": [ … ], "replies": [ … ], "repostedBy": [ … ], "originalPost": {}, "votes": { … }, "remote": true, "repostAny": true, "repost": true, "quote": true, "own": true, "replyTo": "us_01hxcvk1hjexere4pvtrj0ymqq", "conversationId": "us_01hxcvk1hjexere4pvtrj0ymqq" } }
- Mock serverhttps://docs.wellesley.social/_mock/openapi/api/v1/notifications/{id}/mark
- Simple setup, all in one. Digital Oceanhttps://dust.allroads.social/api/v1/notifications/{id}/mark
- Simple setup, db is separate. Digital Oceanhttps://meteor.allroads.social/api/v1/notifications/{id}/mark
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.wellesley.social/_mock/openapi/api/v1/notifications/us_01hxcvk1hjexere4pvtrj0ymqq/mark?status=UNREAD' \
-H 'Authorization: YOUR_API_KEY_HERE'Notification
FOLLOW New follower
Send to the user who got a new follower.
FOLLOW_REQUEST New follower request
Similar to FOLLOW, send to the user who got a new follower, but in cases where followers need to be explicitly approved.
GROUP_INVITE User got an invitation
Send to the user who received the ActivityPub invitation activity.
LIKE Post has been liked
Send to the post's author as soon as another user likes their post.
COMMENT Post has been commented on
Send to the post's author and all users subscribed to the post.
MENTION User has been mentioned in a post or comment
Send to the user who was mentioned in the post or comment.
REPOST Post has been reposted
Send to the author of the post that was reposted.
LIST_POST_CREATE New post or comment in list
Send to the list owner when a new post is created by a list user.
POST_UPDATE Post or comment has been updated
Send to users subscribed to the post or comment.
POLL Poll has been closed (expired)
Send to the poll's author and all voters.
EVENT_INVITE User has been invited to a private event
Send to the invitee, i.e., the user invited to the event.
EVENT_REVOKE User's invitation has been revoked
Send to the invitee, i.e., the user whose invitation was revoked.
EVENT_JOIN User joined a public event
Send to the event organizer.
EVENT_CANCEL Event has been cancelled
Send to all event attendees (for public events, to users who joined).
EVENT_UPDATE Event has been updated
Send to all event attendees (for public events, to users who joined).
Related activity id (usually a post)
User who triggered the notification
{ "id": "nt_01hz1f0sj42k87a6s2nzpc4s92n", "userId": "us_01hz1fkfg82hf89s2nzqwer02r", "type": "FOLLOW", "status": "UNREAD", "activityId": "pt_01hz1f0jkdw3h27a2kdr8sn2kt", "fromUserId": "us_01hz1frg9sf48d7a8sn2kdr8w3h", "meta": { "actionsAvailable": [ … ], "actionsTaken": [ … ], "empty": true }, "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "fromUser": { "groupUserName": "string", "id": "us_01hxcvk1hjexere4pvtrj0ymqq", "username": "john_smith", "domain": "wlsly1.net", "displayName": "John Smith", "uri": "https://wlsly1.net/users/john_smith", "avatar": { … }, "createdAt": "2022-03-10T16:15:50Z", "deleted": true, "state": "REGULAR", "relationship": { … }, "channel": true, "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupPrivacy": "PUBLIC", "groupMain": true, "groupDefault": true, "actorType": "Application" }, "post": { "id": "us_01hxcvk1hjexere4pvtrj0ymqq", "uri": "http://example.com", "text": "string", "path": [ … ], "privacy": "PUBLIC", "kind": "Note", "software": "wellesley", "repostOf": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerId": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerType": "USER", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "title": "string", "summary": "string", "tags": [ … ], "mentions": [ … ], "stats": { … }, "settings": { … }, "lang": "BG", "poll": { … }, "card": { … }, "mediaType": "TEXT_PLAIN", "translations": { … }, "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "author": { … }, "uploads": [ … ], "liked": true, "reposted": true, "quoted": true, "muted": true, "blocked": true, "visible": true, "pinned": true, "bookmarked": true, "edited": true, "deleted": true, "emojis": [ … ], "replies": [ … ], "repostedBy": [ … ], "originalPost": {}, "votes": { … }, "remote": true, "repostAny": true, "repost": true, "quote": true, "own": true, "replyTo": "us_01hxcvk1hjexere4pvtrj0ymqq", "conversationId": "us_01hxcvk1hjexere4pvtrj0ymqq" } }
Platform Data
Endpoints for managing platform-wide and group-specific data storage. Unlike application data, this provides direct data management not tied to specific applications. Supports flexible ownership models including platform-level, group-level, and user-level data with appropriate access controls.
RBAC
Endpoints for retrieving Role-Based Access Control (RBAC) configurations and managing roles, resources, permissions and role-to-user assignments. Scoped Role Definition (RBACRole):
- Represents roles within the RBAC system.
- Each role has a unique
roleId, aname, an optionaldescription, and ascope. - The
scopedefines the domain or area in which the role is valid. - The
scopecan be Global (hardcoded), currently the only one is "System" - The
scopealso can be dynamic, currently we use Group Ids, like "gr_05hxcvk1hjexere4pvtrj0hggt" - Roles come with assigned permissions (
RBACPermissions) that define what actions the role can perform on system resources. - Metadata such as
createdAtandupdatedAttimestamps track the role's lifecycle events.
Permissions** (RBACPermissions):
- Encapsulates resource-specific access controls.
- Each permission object specifies the
resource(e.g., "user", "document") and an associated list of allowedRBACAccesstypes. RBACAccessenumerates the supported actions:Read,Add,Modify,Delete.
Role Assignments to Actors (RBACActorRole):
- Maps actors (e.g., users, services) to specific roles.
- Tracks the association through
actorId(representing the unique entity being assigned) androleId(specific role ID). - Includes timestamps to record when the assignment was created or updated.