Skip to main content
POST
Create Bookmark Folder

Authorizations

Authorization
string
header
required

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

FlowAuthorization Code
Authorization URL
https://api.x.com/2/oauth2/authorize
Token URL
https://api.x.com/2/oauth2/token
Scopes2
bookmark.write
Create and delete your bookmarks.
users.read
View any account you can see, including protected accounts.

Path Parameters

id
string
required

Unique identifier of a User

Pattern: ^[0-9]{1,19}$
Example:

"2244994945"

Body

application/json
name
string
required

Name of the Bookmark folder (1-25 characters).

Required string length: 1 - 25

Response

The request has succeeded.

data
object
errors
object[]