Skip to main content
This guide covers the key concepts you need to integrate the blocks endpoints into your application.

Authentication

Blocks endpoints require user authentication:
App-Only authentication is not supported. You must authenticate on behalf of a user.

Required scopes (OAuth 2.0)


Endpoints overview


Fields and expansions

Default response

Available fields


What happens when you block

They can't

  • See your Posts (unless logged out)
  • Follow you
  • Send you DMs
  • Add you to Lists
  • Tag you in photos

You can't

  • See their Posts
  • Follow them
  • Send them DMs
When you block someone who follows you, they are automatically unfollowed.

Pagination

For users with large block lists, results are paginated:
cURL

Error handling


Next steps

Quickstart

Make your first blocks request

Mutes

Mute users instead of blocking

API Reference

Full endpoint documentation

Sample code

Working code examples