Skip to main content
POST
Add Lists Member

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
Scopes3
list.write
Create and manage Lists on your behalf.
tweet.read
View all posts you can see, including those from protected accounts.
users.read
View any account you can see, including protected accounts.

Path Parameters

id
string
required

Unique identifier of a List

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

"1146654567674912769"

Body

application/json
user_id
string
required
Pattern: ^[0-9]{1,19}$

Response

The request has succeeded.

data
object
errors
object[]