SecondMeSecondMe API
SecondMe API

Notes

Create text and link notes

Note management endpoints.

Base URL: https://api.mindverse.com/gate/lab


Add Note

Create a note or memory. Supports two types: text notes and link notes.

POST /api/secondme/note/add

Authentication

Requires OAuth2 Token.

Required Permissions

note.write

Request Parameters

ParameterTypeRequiredDescription
contentstringYes for TEXT typeNote content (max 50000 characters)
titlestringNoNote title (max 200 characters)
urlsstring[]Yes for LINK typeURL list (max 10 URLs)
memoryTypestringNoNote type: TEXT (default) or LINK

Request Examples

Text Note:

curl -X POST "https://api.mindverse.com/gate/lab/api/secondme/note/add" \
  -H "Authorization: Bearer lba_at_your_access_token" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Learned about Python async programming today",
    "title": "Study Notes",
    "memoryType": "TEXT"
  }'

Link Note:

curl -X POST "https://api.mindverse.com/gate/lab/api/secondme/note/add" \
  -H "Authorization: Bearer lba_at_your_access_token" \
  -H "Content-Type: application/json" \
  -d '{
    "urls": ["https://example.com/article"],
    "title": "Interesting Article",
    "memoryType": "LINK"
  }'

Response

Success (200)

{
  "code": 0,
  "data": {
    "noteId": 12345
  }
}
FieldTypeDescription
noteIdnumberCreated note ID

Error Codes

Error CodeDescription
auth.scope.missingMissing note.write permission
note.content.requiredTEXT type notes must provide content
note.urls.requiredLINK type notes must provide urls