GET
/
2
/
users
/
{id}
/
bookmarks
/
folders
curl --request GET \
  --url https://api.twitter.com/2/users/{id}/bookmarks/folders \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "1146654567674912769",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

The ID of the authenticated source User for whom to return results.

Example:

"2244994945"

Query Parameters

max_results
integer

The maximum number of results.

Required range: 1 <= x <= 100
pagination_token
string

This parameter is used to get the next 'page' of results.

Minimum length: 1

Response

200
application/json

The request has succeeded.

The response is of type object.