cURL
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" }
Gets the bookmark for a given post
Enter your Bearer token in the format: Bearer
Your API client ID for the request
The ID of the post
OK
The ID of the user
"1234-5678-9012-3456"
The date the bookmark was created
"2021-01-01T00:00:00Z"
Was this page helpful?