@xfloor-memory-sdk
  1. Core FloorMemory
@xfloor-memory-sdk
  • Get Started
    • Overview
    • Quick Start
    • Authentication and Identification
    • Core Concepts (5-Minute Read)
    • What to Use First (API Map)
  • SDK
    • Overview
    • SDK Installation & Setup
    • Python SDK
    • JavaScript SDK
    • Typescript SDK
    • Java SDK
    • FAQ & Troubleshooting
    • Copy-Paste Debug Checklists
  • Core FloorMemory
    • Query (Primary API)
      POST
    • Create Event (Post Content)
      POST
    • Recent Events
      GET
    • Basic information of a floor
      GET
  • Floor Management
    • Edit floor
      POST
    • Make floor Private
      POST
    • Make floor public
      POST
    • Rename floor
      POST
  • Registration
    • Sign Up
      POST
    • Sign In with email ID
      POST
    • Sign In with Mobile number
      POST
    • Validation
      POST
    • Change Password
      POST
    • Reset Password
      POST
    • Change email ID
      POST
    • Change Mobile number
      POST
    • Send Validation code
      POST
    • External User Registration
      POST
  • SDKs
  • Schemas
    • PostAdd
    • QueryResponse
    • Media
    • UserDetails
    • SignUpResponse
    • BlockDetails
    • FloorInfo
    • Threads
    • EventResponse
    • 400ErrorCode
    • Remaining
  1. Core FloorMemory

Recent Events

GET
/api/memory/recent/events
This API retrieves the latest posts (events) from a specified floor.
The behaviour of the API changes based on whether a user ID is provided:
If user_id is provided
→ The API returns recent posts relevant to that user, scoped within the given floor.
This includes posts from:
Floors the user follows
Floors created by the user
Pod floors associated with the user (if applicable)
If user_id is NOT provided
→ The API returns the most recent posts available in the specified floor, without user-specific filtering.
This makes the API suitable for:
Personalized activity feeds
Floor-level public timelines
Pod-based content aggregation
Developer-built pods and custom clients

Key Concepts#

A floor represents a content space (independent floor, followed floor, or pod floor)
A pod floor may aggregate content across multiple related floors
Posts are returned in reverse chronological order (latest first)
Each post belongs to a specific block within the floor

Request Method#

GET

Request Parameters (Query Params)#

Parameter NameTypeRequiredDescription
floor_idStringYesFloor identifier from which events should be fetched. Can be a pod floor ID, followed floor ID, or an independent floor ID
user_idStringNoIf provided, returns posts relevant to the user within the given floor
app_idStringNoIdentifier for external developers or pod-based applications consuming this API

Behavior Summary#

ScenarioResult
floor_id onlyLatest posts from the specified floor
floor_id + user_idUser-relevant posts within that floor
Pod floor IDAggregated posts across pod-linked floors
Independent floor IDPosts only from that floor

Response Format#

application/json

Response Structure#

Top-Level Fields#

FieldTypeDescription
post_countStringTotal number of posts returned
itemsArrayList of recent post objects

Post Object (items[])#

FieldTypeDescription
event_idStringUnique identifier of the post/event
block_typeStringType of block where the post was created (e.g., blog, forum, audio, etc.)
block_idStringIdentifier of the block within the floor
floor_uidStringFloor identifier where the post belongs
titleStringTitle of the post (may be empty)
textStringText or HTML content of the post
mediaArrayMedia objects (audio, image, etc.), if any
created_at_msStringPost creation time in milliseconds (epoch)

Author Object#

FieldTypeDescription
nameStringDisplay name of the author
floor_uidStringAuthor’s floor/user handle
avatarObjectAuthor profile image details

Media Object#

FieldTypeDescription
typeStringMedia type (e.g., AUDIO, IMAGE)
urlStringPublic URL of the media file

Sample Success Response#

(structure abbreviated for clarity)
{
  "post_count": "18",
  "items": [
    {
      "event_id": "1766557274836",
      "block_type": "0",
      "title": "voice-note-1766557272764.wav",
      "text": "You",
      "created_at_ms": "1766557275000",
      "author": {
        "name": "MEGHANA G",
        "floor_uid": "meghanag",
        "avatar": {
          "type": "IMAGE",
          "url": "https://..."
        }
      },
      "media": [
        {
          "type": "AUDIO",
          "url": "https://..."
        }
      ]
    }
  ]
}

Notes#

Posts may contain plain text or HTML
Media is optional and may be absent
Ordering is latest first
The API is read-only and does not require authentication by default
Access control (public/private floors) is enforced internally

Typical Use Cases#

Floor activity feed
Pod-level dashboards
User-personalized timelines
Public floor landing pages
External developer pods using app_id

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Responses

🟢200Success
application/json
Body

🟠400BadRequest
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://appfloor.in/api/memory/recent/events?user_id&floor_id&app_id' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "post_count": "string",
    "items": [
        {
            "event_id": "string",
            "block_type": "string",
            "author": {
                "name": "string",
                "floor_id": "string",
                "avatar": {
                    "url": "string",
                    "type": "string"
                },
                "floor_uid": "string"
            },
            "media": [
                {
                    "url": "string",
                    "type": "string"
                }
            ],
            "floor_uid": "string",
            "title": "string",
            "text": "string",
            "created_at_ms": "string",
            "block_id": "string"
        }
    ]
}
Modified at 2026-01-28 05:21:52
Previous
Create Event (Post Content)
Next
Basic information of a floor
Built with