Skip to main content
POST
/
bookmark
cURL
curl --request POST \
  --url https://our-secret-api-url.com/bookmark \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '
{
  "postId": "123",
  "folderId": 1
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-KEY
string
required

API key required for authentication

Body

application/json
postId
string
required
Example:

"123"

folderId
number
required
Example:

1

Response

Bookmark added or removed successfully

success
boolean
message
string