User
User profile and account management
Authorizations
X-API-KeystringRequired
API key for authentication. Get your key from the dashboard.
Responses
200
User profile
application/json
successbooleanOptionalExample:
true401
Authentication required or invalid
application/json
get/user/profile
GET /api/v2/user/profile HTTP/1.1
Host: bulkmail.shop
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"id": 1,
"name": "John Doe",
"email": "john@example.com",
"balance": 150.5,
"created_at": "2026-01-01T00:00:00.000Z"
}
}Authorizations
X-API-KeystringRequired
API key for authentication. Get your key from the dashboard.
Body
namestringOptional
emailstring · emailOptional
Responses
200
Profile updated
application/json
successbooleanOptionalExample:
truemessagestringOptionalExample:
Profile updated successfully401
Authentication required or invalid
application/json
422
Validation failed
application/json
put/user/profile
PUT /api/v2/user/profile HTTP/1.1
Host: bulkmail.shop
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"name": "text",
"email": "name@gmail.com"
}{
"success": true,
"message": "Profile updated successfully"
}Authorizations
X-API-KeystringRequired
API key for authentication. Get your key from the dashboard.
Body
current_passwordstringRequired
new_passwordstring · min: 8Required
new_password_confirmationstringRequired
Responses
200
Password changed
No content
401
Authentication required or invalid
application/json
422
Validation failed
application/json
post/user/password
POST /api/v2/user/password HTTP/1.1
Host: bulkmail.shop
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"current_password": "text",
"new_password": "text",
"new_password_confirmation": "text"
}No content
Authorizations
X-API-KeystringRequired
API key for authentication. Get your key from the dashboard.
Responses
200
Dashboard data
application/json
successbooleanOptionalExample:
true401
Authentication required or invalid
application/json
get/user/dashboard
GET /api/v2/user/dashboard HTTP/1.1
Host: bulkmail.shop
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"balance": 1,
"total_orders": 1,
"total_spent": 1,
"pending_orders": 1,
"recent_orders": [
{
"id": 1,
"order_number": "ORD-20240101-001",
"product_name": "text",
"quantity": 1,
"unit_price": 1,
"total_amount": 1,
"status": "pending",
"created_at": "2026-01-01T00:00:00.000Z"
}
],
"recent_transactions": [
{
"id": 1,
"type": "deposit",
"amount": 1,
"balance_after": 1,
"description": "text",
"created_at": "2026-01-01T00:00:00.000Z"
}
]
}
}Last updated