Skip to main content
This guide walks you through retrieving your bookmarked Posts using the X API.
PrerequisitesBefore you begin, you’ll need:
  • A developer account with an approved App
  • User Access Token with bookmark.read scope (OAuth 2.0 PKCE)

Get your bookmarks

1

Get your user ID

You need your authenticated user’s ID. You can find it using the /2/users/me endpoint or from the user lookup endpoint.
2

Request your bookmarks

cURL
3

Review the response


Include author information

Use expansions to get data about Post authors:
cURL

Required scopes

When using OAuth 2.0 PKCE, your access token must have these scopes:

Next steps

Manage bookmarks

Add and remove bookmarks

API Reference

Full endpoint documentation