Skip to content

Bookmark Blog Post

POST
/api/v1/posts/{id}/bookmark

Authorizations

SessionAuth

Session ID for authenticated requests

Type
API Key (header: X-Session-ID)

Parameters

Path Parameters

id*
Type
string
Required

Responses

Bookmarked

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Bookmark a blog post.

Auth: session.

Parameters

NameInTypeRequiredDescription
idpathstringYesPost id

Request Body

Optional.

json
{}

Response 200

json
{
	"data": { "post_id": "post_2", "bookmarked": true },
	"user_context": { "authenticated": true },
	"meta": {}
}

Response Errors

  • 401 missing session
  • 404 post not found

Notes

  • Use this for saved or favorite content flows.
  • Works well with user dashboards and reading lists.