POST /2/users/:id/bookmarks

Causes the user ID of an authenticated user identified in the path parameter to Bookmark the target Tweet provided in the request body.

Endpoint URL

Authentication and rate limits

Authentication methods
supported by this endpoint

OAuth 2.0 Authorization Code with PKCE

Rate limit

User rate limit (OAuth 2.0 user Access Token): 50 requests per 15-minute window per each authenticated user

OAuth 2.0 scopes required by this endpoint


Learn more about OAuth 2.0 Authorization Code with PKCE

Path parameters

stringThe user ID of an authenticated user who you are bookmarking a Tweet on behalf of. It must match your own user ID or that of an authenticating user, meaning that you must pass the Access Token associated with the user ID when authenticating your request.

JSON body parameters

stringThe ID of the Tweet that you would like the user id to Bookmark.

Example requests

      curl -X POST -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-type: application/json" -d '{"tweet_id": "1228393702244134912"}'

Example responses

  "data": {
    "bookmarked": true

Response fields

bookmarkedbooleanIndicates whether the user bookmarks the specified Tweet as a result of this request.