Get Blocked Users

This API endpoint is used to retrieve a list of blocked users for a given user ID.

Endpoint #

The Voomerr Get Blocked Users endpoint is POST https://admin.voomerr.com/api/get_blocked_users.php

Request Parameters #

Parameter Type Required Description
user_id string Yes The ID of the user whose blocked users to fetch

Request Example #

json
{
"user_id": "1234"
}

Response Parameters #

Parameter Type Description
id string The unique ID of the blocked user
name string The name of the blocked user
email string The email address of the blocked user
avatar string The URL of the avatar image of the blocked user
created_at string The date and time when the user was blocked in YYYY-MM-DD HH:MM:SS format

Response Example #

perl
{
"status": "success",
"message": "Blocked users retrieved successfully",
"data": [
{
"id": "5678",
"name": "John Doe",
"email": "johndoe@example.com",
"avatar": "https://example.com/avatar.png",
"created_at": "2022-02-25 14:23:45"
},
{
"id": "9012",
"name": "Jane Smith",
"email": "janesmith@example.com",
"avatar": "https://example.com/avatar.png",
"created_at": "2022-02-27 10:11:12"
}
]
}

Powered by BetterDocs