Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
contentId
string
required

Saved content entity ID to share.

accessMode
enum<string>
required

public_link grants view access. public_link_contribute grants collaborative access.

Available options:
public_link,
public_link_contribute
unsavedContent
object

Optional unsaved content payload. If the content ID is not already saved, Memex can save this entity before creating the share link.

Response

Public sharing link

sharedResourceId
string
required
accessMode
enum<string>
required

public_link grants view access. public_link_contribute grants collaborative access.

Available options:
public_link,
public_link_contribute
contentId
string
required
contentType
enum<string>
required

Exact persisted content_entity.type value.

Available options:
web,
pdf,
youtube,
twitter,
instagram,
tiktok,
facebook,
linkedin,
pinterest,
reddit,
chatgpt,
claude,
annotation,
image,
transcribedMedia,
audioRecording,
selector,
chatThread,
twitterProfile,
subreddit,
youtubeChannel
createdAt
string<date-time>
required
publicToken
string
required
title
string
description
string