Skip to main content
GET
/
2
/
users
/
{id}
/
bookmarks
/
folders
Obtener carpetas de marcadores
curl --request GET \
  --url https://api.x.com/2/users/{id}/bookmarks/folders \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "1146654567674912769",
      "name": "<string>"
    }
  ],
  "errors": [
    {
      "title": "<string>",
      "type": "<string>",
      "detail": "<string>",
      "status": 123
    }
  ],
  "meta": {
    "next_token": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://generaltranslation.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

El ID del usuario de origen autenticado para el que deben devolverse los resultados. Identificador único de este usuario. El valor debe ser el mismo que el del usuario autenticado.

Example:

"2244994945"

Query Parameters

max_results
integer<int32>

El número máximo de resultados.

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

Este parámetro se utiliza para obtener la siguiente "página" de resultados. Un token de paginación en base36.

Minimum string length: 1

Response

La solicitud se ha realizado correctamente.

data
object[]
errors
object[]
Minimum array length: 1

Un objeto HTTP Problem Details, tal como se define en el IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).

meta
object