Friendica provides the following endpoints defined in the official Mastodon API reference.
Authentication is the same as described in Using the APIs.
These endpoints use the Mastodon API entities.
GET /api/v1/follow_requests
POST /api/v1/follow_requests/:id/authorize
:id
is a follow request ID, not a regular account idPOST /api/v1/follow_requests/:id/reject
:id
is a follow request ID, not a regular account idPOST /api/v1/follow_requests/:id/ignore
:id
is a follow request ID, not a regular account idGET /api/v1/instance/peers