List the general feed
const url = 'https://feed.work.optidata.cloud/api/categories/any';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://feed.work.optidata.cloud/api/categories/any \ --header 'Authorization: Bearer <token>'The posts the caller can see across all communities and the general feed, newest first, cursor-paginated.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Cursor from a previous response’s next_cursor, to fetch the next page.
Responses
Section titled “ Responses ”A page of posts.
A cursor-paginated page of posts.
object
A post in a community or the general feed.
object
The community, or null in the general feed.
A JSON-encoded Quill delta.
Link preview metadata, for a link hero.
The kind of rich hero the post carries, or null.
A user of the company.
object
Identifier of the company.
A community (shared space) for posts.
object
Hex colour, or null.
public — everyone in the company; private — only the people and groups it is shared with.
Set when the community mirrors an Optiwork group; such communities are managed through the group, not here.
Present when the community is returned as a pinned community.
object
A tag that labels posts.
object
A poll attached to a post.
object
object
A file attached to a post.
object
object
A user of the company.
object
Identifier of the company.
A comment on a post.
object
A JSON-encoded Quill delta.
A user of the company.
object
Identifier of the company.
Examples
{ "data": [ { "id": 2289, "category_id": 864, "user_id": 38, "title": null, "content": "{\"ops\":[{\"insert\":\"Welcome to the team!\\n\"}]}", "type": "text", "meta": null, "created_at": "2026-10-19T14:38:26.000000Z", "updated_at": "2026-10-19T14:38:26.000000Z", "deleted_at": null, "hero_url": null, "hero_type": null, "pinned_at": null, "status": "published", "published_at": "2026-10-19T14:38:26.000000Z", "images_count": null, "hero_thumbnail_url": null, "hero_embeds": null, "globally_pinned_at": null, "comments_count": 1, "reacting_users_count": 2, "has_hero": false, "has_tags": true, "is_pinned": false, "is_globally_pinned": false, "reaction_summary": { "like": 2 }, "user": { "id": 38, "uuid": "9ba64b0e-69b4-4639-a01b-4ac5c5f70a24", "cuid": "7f3c2a10-5b8e-4d21-9c6a-0e4f1b2d3c4a", "username": "ana.souza@example.com", "email": "ana.souza@example.com", "name": "Ana Souza", "company_name": "Acme", "role": "user", "status": "active", "created_at": "2026-03-25T19:47:41.000000Z", "updated_at": "2026-09-16T17:25:41.000000Z", "deleted_at": null, "avatar_url": "https://media.optidata.cloud/avatars/ana.webp", "settings": { "language": "pt_BR", "language_source": "company", "theme": "light", "timezone": null, "user_id": 214 } }, "tags": [ { "id": 89, "name": "hr", "slug": "hr", "color": "success" } ], "category": { "id": 864, "cuid": "7f3c2a10-5b8e-4d21-9c6a-0e4f1b2d3c4a", "name": "Announcements", "slug": "announcements", "description": "Company-wide announcements.", "created_at": "2026-09-02T12:10:14.000000Z", "updated_at": "2026-09-02T12:10:14.000000Z", "deleted_at": null, "emoji": "📣", "cover_url": null, "color": "#863bff", "visibility": "public", "group_id": null } } ], "path": "https://feed.work.optidata.cloud/api/categories/any", "per_page": 10, "next_cursor": "eyJpZCI6MjI4OSwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ", "next_page_url": "https://feed.work.optidata.cloud/api/categories/any?post-cursor=eyJpZCI6MjI4OSwiX3BvaW50c1RvTmV4dEl0ZW1zIjp0cnVlfQ", "prev_cursor": null, "prev_page_url": null}No authentication key was sent.
Authentication failures use an error key.
object
Examples
{ "error": "JWT passport exception: Missing bearer token in request"}The authentication key is expired or not recognised. Get a fresh one and retry.
Authentication failures use an error key.
object
Examples
{ "error": "JWT passport expired: Passport expired"}