follow_requests
View and manage follow requests.
Pending Follows
GET
https://mastodon.example/api/v1/follow_requests
Returns: Array of Account
OAuth: User token + read:follows
or follow
Version history:
0.0.0 - added
Query Parameters
limit
string
Maximum number of results to return. Defaults to 40. Paginate using the HTTP Link header.
Headers
Authorization
string
Bearer <user token>
Accept Follow
POST
https://mastodon.example/api/v1/follow_requests/:id/authorize
Returns: Relationship
OAuth: User token + write:follows
or follow
Version history:
0.0.0 - added
3.0.0 - now returns Relationship instead of nothing
Path Parameters
:id
string
ID of the account in the database
Headers
Authorization
string
Bearer <user token>
Reject Follow
POST
https://mastodon.example/api/v1/follow_requests/:id/reject
Returns: Relationship
OAuth: User token + write:follows
or follow
Version history:
0.0.0 - added
3.0.0 - now returns Relationship instead of nothing
Path Parameters
:id
string
ID of the account in the database
Headers
Authorization
string
Bearer <user token>
Last updated
Was this helpful?