Skip to main content

Manage List members: Standard v1.1 compared to X API v2

If you have been working with the standard v1.1 POST lists/members/create and POST lists/members/destroy endpoints, the goal of this guide is to help you understand the similarities and differences between the standard v1.1 and X API v2 manage List members endpoints.
  • Similarities
    • Authentication
  • Differences
    • Endpoint URLs
    • App and Project requirements
    • HTTP methods
    • Rate limits
    • Request parameters

Similarities

Authentication Both endpoint versions support OAuth 1.0a User Context. Therefore, if you were previously using one of the standard v1.1 manage List member endpoints, you can continue using the same authentication method if you migrate to the X API v2 version.

Differences

Endpoint URLs Rate limits
Standard v1.1X API v2
/1.1/lists/members/create.json

none
/2/lists/:id/members

300 requests per 15-minute window with OAuth 1.0a User Context

300 requests per 15-minute window with OAuth 2.0 Authorization Code with PKCE
/1.1/lists/members/destroy.json

none
/2/lists/:id/members/:user_id

300 requests per 15-minute window with OAuth 1.0a User Context

300 requests per 15-minute window with OAuth 2.0 Authorization Code with PKCE
App and Project requirements The X API v2 endpoints require that you use credentials from a developer App that is associated with a Project when authenticating your requests. All X API v1.1 endpoints can use credentials from standalone Apps or Apps related to a project. Request parameters The following standard v1.1 request parameters have equivalents in X API v2:
Standard v1.1X API v2
list_idid
slugNo equivalent
screen_nameNo equivalent
owner_screen_nameNo equivalent
owner_idNo equivalent