List bookmark folders from the authenticated X account
cURL
curl --request GET \ --url https://api.example.com/x/bookmarks/folders \ --header 'x-api-key: <x-api-key>'
curl https://xquik.com/api/v1/x/bookmarks/folders \ -H "x-api-key: xq_YOUR_KEY_HERE" | jq
Show folder object
{ "folders": [ { "id": "1234567890", "name": "Tech" }, { "id": "1234567891", "name": "Design" } ], "count": 2 }
{ "error": "unauthenticated" }
{ "error": "no_subscription" }
{ "error": "x_api_unavailable" }
Was this page helpful?