Skip to main content
POST
Create Bookmark

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Unique identifier of a User

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

"2244994945"

Body

application/json

At least one of tweet_id, tweet_ids is required.

tweet_id
string
required

The ID of the Post to add to the user's Bookmarks. Mutually exclusive with tweet_ids.

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

Optional ID of the Bookmark folder to add the Post(s) to. When omitted, Posts are added to the user's top-level Bookmarks only. A bulk request uses this one folder for every ID.

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

Post IDs to add to the user's Bookmarks. At most 25. Mutually exclusive with tweet_id.

Required array length: 1 - 25 elements
Pattern: ^[0-9]{1,19}$

Response

The request has succeeded.

data
object