Table of Contents
The Get Profile API is used to retrieve the profile information of a user.
Endpoint #
The Voomerr Get Profile endpoint is GET https://admin.voomerr.com/api/get_new_profile.php
Request Parameters #
Parameter | Type | Required | Description |
---|---|---|---|
user_id | string | Yes | The ID of the user whose profile is to be retrieved. |
other_user_id | string | Yes | The ID of the user whose profile details are to be retrieved. |
currency | string | Yes | The currency in which the prices are to be retrieved. |
Response Parameters #
Field | Type | Description |
---|---|---|
success | bool | Indicates whether the API call was successful or not. |
message | string | A message that provides additional information about the API call. |
profile_details | object | An object containing the profile details of the specified user. |
The ‘profile_details’ object contains the following fields: #
Field | Type | Description |
---|---|---|
user_id | string | The ID of the user whose profile is being retrieved. |
name | string | The name of the user. |
string | The email address of the user. | |
phone_number | string | The phone number of the user. |
profile_image | string | The URL of the user’s profile image. |
description | string | A description of the user’s profile. |
rating | float | The user’s rating. |
Example Request #
javascript
https://admin.voomerr.com/api/get_new_profile.php?user_id=12345&other_user_id=67890¤cy=USD
Example Response #
json
{
"success": true,
"message": "Profile details retrieved successfully.",
"profile_details": {
"user_id": "67890",
"name": "John Doe",
"email": "john.doe@example.com",
"phone_number": "555-1234",
"profile_image": "https://example.com/profile_image.jpg",
"description": "I'm a freelance writer with over 10 years of experience.",
"rating": 4.5
}
}