Skip to main content
GET
/
account
/
bookmarks
/
{postId}
Get Bookmark
curl --request GET \
  --url https://api.dontdie.com/account/bookmarks/{postId} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-dd-client-id: <api-key>'
{
  "userId": "1234-5678-9012-3456",
  "postId": "1234-5678-9012-3456",
  "createdAt": "2021-01-01T00:00:00Z"
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format: Bearer

x-dd-client-id
string
header
required

Your API client ID for the request

Path Parameters

postId
string<uuid>
required

The ID of the post

Response

OK

userId
string<uuid>

The ID of the user

Example:

"1234-5678-9012-3456"

postId
string<uuid>

The ID of the post

Example:

"1234-5678-9012-3456"

createdAt
string<date-time>

The date the bookmark was created

Example:

"2021-01-01T00:00:00Z"