Skip to main content
POST
/
api
/
v1
/
memories
Create Memory
curl --request POST \
  --url https://draftliftai.com/api/v1/memories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Brand Voice Guidelines",
  "body": "Our brand voice is professional yet approachable. We use active voice and avoid jargon.",
  "tags": [
    "brand",
    "voice",
    "style"
  ]
}
'
{
  "id": 1,
  "title": "Brand Voice Guidelines",
  "body": "Our brand voice is professional yet approachable. We use active voice and avoid jargon.",
  "tags": [
    "brand",
    "voice",
    "style"
  ],
  "status": "active",
  "created_at": "2026-03-01T12:00:00Z",
  "updated_at": "2026-03-01T12:00:00Z"
}

Authorizations

Authorization
string
header
required

API key (dl_live_...) or Supabase JWT token

Body

application/json
title
string
required
body
string
default:""
tags
string[]
status
string | null
source
string | null
category_id
integer | null
platforms
string[] | null

Response

Successful Response

title
string
required
status
string
required
source
string
required
id
integer
required
user_id
integer
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
body
string
default:""
tags
string[]
category_id
integer | null
category
MemoryCategoryResponse · object
suggested_category
SuggestedCategoryResponse · object

Auto-categorization suggestion returned on memory creation.

platforms
string[]