Migrate

Comparing X API’s mutes endpoints

Mutes lookup

The v2 mutes lookup endpoint will replace the standard v1.1 GET mutes/users/ids and GET mutes/users/list endpoints.

The following tables compare the standard v1.1 and X API v2 mute endpoints:
 

Description Standard v1.1 X API v2
HTTP methods supported GET GET
Host domain https://api.x.com https://api.x.com
Endpoint path

/1.1/mutes/users/ids.json

/1.1/mutes/users/list.json

/2/users/:id/muting
Authentication OAuth 1.0a User Context

OAuth 1.0a User Context

OAuth 2.0 Authorization Code with PKCE

Default request rate limits 15 requests per 15 min (per user) 15 requests per 15 min (per user)
Data formats Standard v1.1 format

X API v2 format (determined by fields and expansions request parameters, not backward-compatible with v1.1 formats)

To learn more about how to migrate from the Standard v1.1 format to the X API v2 format, please visit our data formats migration guide.

Requires use of credentials from a developer App that is associated with a Project   ✔️

 

Manage mutes

The v2 manage mutes endpoints will replace the standard v1.1 POST mutes/users/create and POST mutes/users/destroy endpoints.

The following tables compare the standard v1.1 and X API v2 mute endpoints:

Mute a user

Description Standard v1.1 X API v2
HTTP methods supported POST POST
Host domain https://api.x.com https://api.x.com
Endpoint path /1.1/mutes/users/create.json /2/users/:id/muting
Authentication OAuth 1.0a User Context

OAuth 1.0a User Context

OAuth 2.0 Authorization Code with PKCE

Default request rate limits 50 requests per 15 min 50 requests per 15 min
Requires use of credentials from a developer App that is associated with a Project   ✔️

 

Unmute a user

The following tables compare the standard v1.1 and X API v2 unmute endpoints:

Description Standard v1.1 X API v2
HTTP methods supported POST DELETE
Host domain https://api.x.com https://api.x.com
Endpoint path /1.1/mutes/users/destroy.json /2/users/:source_user_id/muting/:target_user_id
Authentication OAuth 1.0a User Context

OAuth 1.0a User Context

OAuth 2.0 Authorization Code with PKCE

Default request rate limits 50 requests per 15 min 50 requests per 15 min
Requires use of credentials from a developer App that is associated with a Project   ✔️