Get Users

This endpoint allows you gets all the registered Users

circle-info

Must have the authorization to use this API

Reponse would return all users

GET https://example.com/wp-json/rimplenet/v1

{
    "status_code": 200,
    "status": true,
    "message": "User retrieved successfully",
    "data": {
        "others": {
            "totalPages": 9,
            "currentPage": 1
        },
        "users": [
            
            {
                "id": 1,
                "username": "Jane",
                "user_email": "jane@example.com",
                "user_created_at": "2022-05-15 00:42:33",
                "display_name": "JaneD",
                "first_name": "",
                "last_name": "",
                "roles": [
                    "administrator"
                ],
                "account_no": "00000",
                "bank_name": null,
                "bvn": "Test",
                "example_account_status": null
            },
            
           
            {
                "id": 2,
                "username": "john",
                "user_email": "janedoe@gmail.com",
                "user_created_at": "2022-07-24 16:43:54",
                "display_name": "JohnD",
                "first_name": "John",
                "last_name": "Doe",
                "roles": [
                    "subscriber"
                ],
                "account_no": null,
                "bank_name": null,
                "bvn": null,
                "example_account_status": null
            }
        ]
    },
    "error": []
}

circle-info

To view request params, click on the arrow (>) at the right hand side of the endpoint url to expand or collapse

Sample Response

Get single user

This endpoint fetches a single user.

circle-info

Must have authorization to use this API

GET

circle-info

To view request params, click on the arrow (>) at the right hand side of the endpoint url to expand or collapse

Last updated