Skip to main content
POST
https://memoryapi-production.up.railway.app
/
upload
import requests

response = requests.post(
    "https://memoryapi-production.up.railway.app/upload",
    headers={"X-API-Key": "xinobi", "Content-Type": "application/json"},
    json={
        "unique_id": "your-bucket-id",
        "text": "Had coffee with Sarah, discussed the new project",
        "tags": ["meeting", "project"]
    }
)
{
  "uploads": {
    "text": {
      "code": "0000",
      "msg": "success",
      "data": [
        { "id": "651750884146184192", "content": "Had coffee with Sarah..." }
      ]
    }
  }
}
Upload text memories or video URLs using JSON.

Parameters

unique_id
string
required
Bucket ID to upload to
text
string
Text memory or description
url
string
Video URL (direct link to mp4, etc.)
tags
array
Array of tags
latitude
string
GPS latitude
longitude
string
GPS longitude
timestamp
string
ISO timestamp for the memory

Examples

import requests

response = requests.post(
    "https://memoryapi-production.up.railway.app/upload",
    headers={"X-API-Key": "xinobi", "Content-Type": "application/json"},
    json={
        "unique_id": "your-bucket-id",
        "text": "Had coffee with Sarah, discussed the new project",
        "tags": ["meeting", "project"]
    }
)
{
  "uploads": {
    "text": {
      "code": "0000",
      "msg": "success",
      "data": [
        { "id": "651750884146184192", "content": "Had coffee with Sarah..." }
      ]
    }
  }
}