Skip to main content

Toggle following a user

Toggle following a user.

Path Parameters
    username string required

    The username of the user to be followed/un-followed.

Responses

Request has been handled successfully.


Schema
    success boolean
    data object
    followed boolean

    Whether the user is now followed or not.

POST /v1/users/:username/toggleFollow

Authorization

name: o_t_htype: apiKeyin: header

Request

Base URL
https://auth.quran.com
ApiKeyAuth
username — path required
Body
{}
curl / cURL
curl -L -X POST 'https://auth.quran.com/v1/users/:username/toggleFollow' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'o_t_h: <API_KEY_VALUE>' \
--data-raw '{}'