Account Details
The Account Details endpoint allows you to retrieve information about your Zeruh account, including your account balance and the number of email verifications you have remaining.
Endpoint
https://api.zeruh.com/v1/account
Method: GET
| POST
Query Auth Example
Retrieve your account details using the API key as a query parameter.
CREDENTIALSQUERY
Parameter
REQUEST
GET https://api.zeruh.com/v1/account
RESPONSE
Click Try It! to start a request and see the response here!
Example Request
Here's a simple example using the query parameter method:
curl -X GET "https://api.zeruh.com/v1/account?api_key=YOUR_API_KEY"
Example Response
When successful, the API returns your account information in the following format:
{
"success": true,
"message": "We have fetched your account information.",
"data": {
"user_id": 100,
"full_name": "Arthur Morgan",
"user_email": "[email protected]",
"permanent_credits": 50000,
"recurring_credits": 48540
}
}
Response Fields
Field | Type | Description |
---|---|---|
success | boolean | Indicates if the request was successful |
message | string | Human-readable message about the response |
data.user_id | integer | Your unique user identifier |
data.full_name | string | Your full name as registered |
data.user_email | string | Your registered email address |
data.permanent_credits | integer | Total permanent credits in your account |
data.recurring_credits | integer | Available recurring credits for verification |