cURL
curl --request POST \ --url https://api.x.com/2/users/{id}/bookmarks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tweet_id": "1346889436626259968" }'
{ "data": { "bookmarked": true }, "errors": [ { "detail": "<string>", "status": 123, "title": "<string>", "type": "<string>" } ] }
Adds a post to the authenticated user’s bookmarks.
Show child attributes
1