Introduction
The Qeei is a B2B SaaS (Software-as-a-Service) platform designed to digitize and streamline the asset valuation process. It operates as a multi-tenant system, meaning a single instance of the software serves multiple companies (tenants), with each company's data kept isolated.
The core concept is to move valuation companies away from manual, paper-based, and Excel-driven workflows to a centralized, online system that manages the entire lifecycle of a valuation request.
Access Requirements
Before using this API, you must obtain your App Key, Secret Key, and the implementation details for X-SIGNATURE from the system administrator.
All API requests must include these credentials; any request without them will be rejected.
https://qeei-backend-api-dev.dafagate.com/api/v1
Common Errors
A guide to consistent error response formats used across all endpoints.
Error 401 – Unauthorized
The request requires authentication. The user is either not logged in or does not have a valid access token.
{
"message": "Unauthorized",
"success": false
}
Error 403 – Forbidden
The request was understood, but the server refuses to authorize it. The user does not have permission to perform this action.
{
"message": "You are not allowed to perform this action",
"success": false
}
Error 404 – Not Found
The requested resource could not be found on the server. It may have been moved or deleted.
{
"message": "Resource not found",
"success": false
}
Error 405 – Method Not Allowed
The HTTP method used is not supported for this endpoint. Check the allowed request methods.
{
"message": "Method not allowed",
"success": false
}
Error 419 – Page Expired
The session or CSRF token has expired. Please refresh the page and try again.
{
"message": "Page Expired",
"success": false
}
Error 422 – Unprocessable Entity
The server understood the request, but the submitted data was invalid. Please review and correct the errors.(Errors may be return array or string)
{
"errors": [],
"message": "Validation Error",
"success": false
}
Error 500 – Internal Server Error
An unexpected error occurred on the server. Please try again later or contact support.
{
"message": "Server Error",
"success": false
}
Admin Login
Authenticates an administrator and returns an access token.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| step | integer | 1 |
| string | admin@base.com | |
| password | string | P@ssw0rd |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| step | required, integer, allowed: 1, 2 |
| required, valid email, exists admins,email | |
| password | required if step = 1, StrongPassword |
| otp | required if step = 2, 4 digits |
{
"data": {
"id": 1,
"name": "Admin",
"email": "admin@base.com",
"phone": "000000000000",
"avatar": "",
"token": "8|Wl1M42bGxQJiA092FDwYyAMvHoSq3A8ka3za7cxZf8b7f0f4",
"expires_in": null,
"token_type": "Bearer",
"roles": [
{
"id": 1,
"name": "Default Role"
},
{
"id": 2,
"name": "Super Admin Role "
}
],
"permissions": [
"users-fetch",
"users-create",
"users-read",
"users-update",
"users-delete",
"valuers-fetch",
"valuers-create",
"valuers-read",
"valuers-update",
"valuers-delete",
"requests-fetch",
"requests-create",
"requests-read",
"requests-update",
"requests-delete",
"reports-fetch",
"reports-create",
"reports-read",
"reports-update",
"reports-delete",
"team_management-fetch",
"team_management-create",
"team_management-read",
"team_management-update",
"team_management-delete",
"finance-fetch",
"finance-create",
"finance-read",
"finance-update",
"finance-delete",
"reviews-fetch",
"reviews-create",
"reviews-read",
"reviews-update",
"reviews-delete",
"users-fetch",
"users-create",
"users-read",
"users-update",
"users-delete",
"valuers-fetch",
"valuers-create",
"valuers-read",
"valuers-update",
"valuers-delete",
"requests-fetch",
"requests-create",
"requests-read",
"requests-update",
"requests-delete",
"reports-fetch",
"reports-create",
"reports-read",
"reports-update",
"reports-delete",
"team_management-fetch",
"team_management-create",
"team_management-read",
"team_management-update",
"team_management-delete",
"finance-fetch",
"finance-create",
"finance-read",
"finance-update",
"finance-delete",
"reviews-fetch",
"reviews-create",
"reviews-read",
"reviews-update",
"reviews-delete"
],
"created_at": "2026-11-05"
},
"message": "welcome Admin",
"success": true
}
Forget Password Request
Sends an OTP to the user email for password recovery.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| string | admin@base.com |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| required, valid email, exists admins,email |
{
"data": {
"change_password_token": "SJXwJKTiW6hxnFSn7i7IyScUUYpIQSCM9o5L4qmZBgcHlaNBzQKpe05QPKNrbPIw"
},
"message": "Please check your email",
"success": true
}
Verify OTP
Verifies the OTP sent to the user email for password recovery.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| string | admin@base.com | |
| otp | string | 1234 |
| change_password_token | string | SJXwJKTiW6hxnFSn7i7IyScUUYpIQSCM9o5L4qmZBgcHlaNBzQKpe05QPKNrbPIw |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| country_code | required, string, Closure |
| phone | required, regex, max 20, Closure |
| otp | required, 4 digits |
| full_phone | optional, string |
| change_password_token | required, string, Closure |
{
"data": {
"change_password_token": "SJXwJKTiW6hxnFSn7i7IyScUUYpIQSCM9o5L4qmZBgcHlaNBzQKpe05QPKNrbPIw"
},
"message": "Your Otp Verified successfully.",
"success": true
}
Reset Password
Complete password reset.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| string | doc-admin@base.com | |
| password | string | NewP@ssw0rd123 |
| new_password_confirmation | string | NewP@ssw0rd123 |
| change_password_token | string | SJXwJKTiW6hxnFSn7i7IyScUUYpIQSCM9o5L4qmZBgcHlaNBzQKpe05QPKNrbPIw |
{
"data": [],
"message": "Password reset successfully.",
"success": true
}
Resend OTP
Resend verification code.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| string | doc-admin@base.com |
{
"data": {
"otp": 1234
},
"message": "OTP resent successfully.",
"success": true
}
Admin Logout
Revokes the current access token and logs the user out.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Good by.",
"success": true
}
User Register
Registers a new mobile user and triggers an OTP verification.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | New User |
| country_code | string | 20 |
| phone | string | 01011112222 |
| string | user@example.com | |
| password | string | P@ssw0rd123 |
| password_confirmation | string | P@ssw0rd123 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | required, string, min 2, max 100, regex |
| country_code | required, string, Closure |
| country_id | required, exists settings,id |
| phone | required, regex, max 20, unique users,phone, Closure |
| full_phone | optional, string, unique users,phone |
| optional, valid email, unique users,email | |
| password | required, must match its *_confirmation field, StrongPassword |
{
"data": {
"otp": 1234
},
"message": "Registration OTP sent.",
"success": true
}
User Login
Initializes login for a mobile user by verifying credentials.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| country_code | string | 20 |
| phone | string | 01011112222 |
| password | string | P@ssw0rd123 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| country_code | required, string, Closure |
| phone | required, regex, max 20, exists users,phone, Closure |
| password | required, string |
{
"data": {
"id": 3,
"name": "New User",
"email": "user@example.com",
"phone": "01011112222",
"country_code": "20",
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-11-05",
"token": "10|97sfShKaWm0hpNEd7w2IW1jvYrRV7gmCY6twra7B151dae1f",
"expires_in": null,
"token_type": "Bearer",
"last_login_at": "2026-11-05 11:59:55"
},
"message": "welcome New User",
"success": true
}
User Verify OTP
Completes the registration or login flow for mobile users by verifying the OTP.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| country_code | string | 20 |
| phone | string | 01011112222 |
| otp | string | 1234 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| country_code | required, string, Closure |
| phone | required, regex, max 20, Closure |
| full_phone | optional, string |
| otp | required, 4 digits |
{
"data": {
"id": 3,
"name": "New User",
"email": "user@example.com",
"phone": "01011112222",
"country_code": "20",
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-11-05",
"token": "9|mDVD10Nsf0JqZibV2qbXViXwu3V0GCmRA7v7xjc197543259",
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
"message": "Account verified and created successfully.",
"success": true
}
User Forget Password
Sends an OTP to the mobile user phone for password recovery.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| country_code | string | 20 |
| phone | string | 01011112222 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| country_code | required, string, Closure |
| phone | required, regex, max 20, Closure |
{
"data": {
"token": "SJXwJKTiW6hxnFSn7i7IyScUUYpIQSCM9o5L4qmZBgcHlaNBzQKpe05QPKNrbPIw",
"otp": "1234"
},
"message": "OTP for password reset sent.",
"success": true
}
User Verify Forgot Password OTP
Verifies the OTP and token for mobile user password recovery.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| country_code | string | 20 |
| phone | string | 01011112222 |
| otp | string | 1234 |
| change_password_token | string | SJXwJKTiW6hxnFSn7i7IyScUUYpIQSCM9o5L4qmZBgcHlaNBzQKpe05QPKNrbPIw |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| country_code | required, string, Closure |
| phone | required, regex, max 20, Closure |
| otp | required, 4 digits |
| full_phone | optional, string |
| change_password_token | required, string, Closure |
{
"data": {
"change_password_token": "SJXwJKTiW6hxnFSn7i7IyScUUYpIQSCM9o5L4qmZBgcHlaNBzQKpe05QPKNrbPIw"
},
"message": "Your Otp Verified successfully.",
"success": true
}
User Reset Password
Updates the mobile user password using the provided token.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| country_code | string | 20 |
| phone | string | 01011112222 |
| change_password_token | string | SJXwJKTiW6hxnFSn7i7IyScUUYpIQSCM9o5L4qmZBgcHlaNBzQKpe05QPKNrbPIw |
| password | string | NewP@ssw0rd123 |
| password_confirmation | string | NewP@ssw0rd123 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| country_code | required, string, Closure |
| phone | required, regex, max 20, Closure |
| password | required, must match its *_confirmation field, StrongPassword, Closure |
| change_password_token | required, string, Closure |
{
"data": [],
"message": "Password reset successfully.",
"success": true
}
User Change Password
Updates the password for the authenticated mobile user.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| old_password | string | P@ssw0rd123 |
| new_password | string | NewP@ssw0rd123 |
| new_password_confirmation | string | NewP@ssw0rd123 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| old_password | required |
| new_password | required, different, StrongPassword |
| new_password_confirmation | required, same |
{
"data": [],
"message": "Password changed successfully.",
"success": true
}
User Resend OTP
Resends a new OTP to the mobile user phone.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| country_code | string | 20 |
| phone | string | 01011112222 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| country_code | required, string, Closure |
| phone | required, regex, max 20, Closure |
{
"data": {
"otp": 1234
},
"message": "OTP resent successfully.",
"success": true
}
User Profile
Retrieves the authenticated mobile user profile.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"name": "Demo User 2",
"email": "user2@example.com",
"phone": "01011113333",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
"message": "Profile retrieved successfully.",
"success": true
}
User Update Profile
Updates the authenticated mobile user profile with an optional avatar image.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Updated User Name |
| string | updated_email@example.com |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | optional, string, max 255 |
| optional, valid email, unique users,email,1 | |
| country_code | optional, string, Closure |
| country_id | optional, exists settings,id |
| phone | optional, regex, max 20, unique users,phone,1, Closure |
| avatar | optional, image, file types: jpeg,png,jpg,gif, max 2048 KB (upload) |
| delete_avatar | optional, true/false |
| postal_code | optional, string, max 20 |
| main_address | optional, string |
{
"data": {
"id": 1,
"name": "Updated User Name",
"email": "updated_email@example.com",
"phone": "01011113333",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
"message": "Profile updated successfully.",
"success": true
}
User Refresh Token
Issues a new session token for the authenticated mobile user.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"user": {
"id": 1,
"name": "Updated User Name",
"email": "updated_email@example.com",
"phone": "01011113333",
"country_id": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"last_login_at": null,
"created_at": "2026-11-05T11:59:51.000000Z",
"token": null,
"expires_in": null,
"token_type": "Bearer"
},
"token": "11|77poP4hdzahL7naXYe8JP2U7RXje6TmPhAVzvvWN411e18c6",
"token_type": "Bearer",
"expires_in": null
},
"message": "New Token",
"success": true
}
User Logout
Logs out the authenticated mobile user and revokes the token.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Good by.",
"success": true
}
Get Countries List
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 5,
"type": "country",
"name_ar": "مصر",
"name_en": "Egypt",
"setting_id": null,
"is_active": true,
"code": "EG",
"phone_code": "20",
"phone_length": 11
},
{
"id": 6,
"type": "country",
"name_ar": "دولة التوثيق",
"name_en": "Documentation country",
"setting_id": null,
"is_active": true,
"code": null,
"phone_code": null,
"phone_length": null
}
],
"message": "Data retrieved successfully.",
"success": true
}
Search Countries
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Query Parameters
| Field/Name | Type | Examples |
|---|---|---|
| keyword | string | Egypt |
{
"data": [
{
"id": 5,
"type": "country",
"name_ar": "مصر",
"name_en": "Egypt",
"setting_id": null,
"is_active": true,
"code": "EG",
"phone_code": "20",
"phone_length": 11
}
],
"message": "Data retrieved successfully.",
"success": true
}
Get Cities List
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 5,
"type": "country",
"name_ar": "مصر",
"name_en": "Egypt",
"setting_id": null,
"is_active": true,
"code": "EG",
"phone_code": "20",
"phone_length": 11,
"cities": []
},
{
"id": 6,
"type": "country",
"name_ar": "دولة التوثيق",
"name_en": "Documentation country",
"setting_id": null,
"is_active": true,
"code": null,
"phone_code": null,
"phone_length": null,
"cities": []
}
],
"message": "Data retrieved successfully.",
"success": true
}
Search Cities
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Query Parameters
| Field/Name | Type | Examples |
|---|---|---|
| keyword | string | Cairo |
{
"data": [
{
"id": 5,
"type": "country",
"name_ar": "مصر",
"name_en": "Egypt",
"setting_id": null,
"is_active": true,
"code": "EG",
"phone_code": "20",
"phone_length": 11,
"cities": []
},
{
"id": 6,
"type": "country",
"name_ar": "دولة التوثيق",
"name_en": "Documentation country",
"setting_id": null,
"is_active": true,
"code": null,
"phone_code": null,
"phone_length": null,
"cities": []
}
],
"message": "Data retrieved successfully.",
"success": true
}
Get Cities By country
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data retrieved successfully.",
"success": true
}
Get Nationalities List
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data retrieved successfully.",
"success": true
}
Create country
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name_en | string | Test Country |
| name_ar | string | أختبار دولة |
| data | array | {"code":"TC","phone_code":"999","phone_length":9} |
{
"data": {
"name_ar": "أختبار دولة",
"name_en": "Test Country",
"data": {
"code": "TC",
"phone_code": "999",
"phone_length": 9
},
"type": "country",
"setting_id": null,
"updated_at": "2026-11-05T12:00:19.000000Z",
"created_at": "05-11-2026 12:00:19",
"id": 7
},
"message": "Data inserted successfully.",
"success": true
}
Update country
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name_en | string | Test Country |
| name_ar | string | أختبار دولة |
| data | array | {"code":"TC","phone_code":"999","phone_length":9} |
| id | integer | 5 |
{
"data": {
"id": 5,
"type": "country",
"key": null,
"name_ar": "أختبار دولة",
"name_en": "Test Country",
"data": {
"code": "TC",
"phone_code": "999",
"phone_length": 9
},
"setting_id": null,
"is_active": 1,
"deleted_at": null,
"created_at": "05-11-2026 11:59:52",
"updated_at": "2026-11-05T12:00:19.000000Z"
},
"message": "Data updated successfully.",
"success": true
}
Toggle country
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 5,
"type": "country",
"name_ar": "أختبار دولة",
"name_en": "Test Country",
"setting_id": null,
"is_active": false,
"code": "TC",
"phone_code": "999",
"phone_length": 9
},
"message": "Data updated successfully.",
"success": true
}
Delete country
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data deleted successfully.",
"success": true
}
Create city
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name_en | string | Test City |
| name_ar | string | أختبار مدينة |
| parent_id | integer | 5 |
{
"data": {
"name_ar": "أختبار مدينة",
"name_en": "Test City",
"type": "city",
"setting_id": 5,
"updated_at": "2026-11-05T12:00:19.000000Z",
"created_at": "05-11-2026 12:00:19",
"id": 8
},
"message": "Data inserted successfully.",
"success": true
}
Create nationality
Locations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name_en | string | Test Nationality |
| name_ar | string | أختبار جنسية |
{
"data": {
"name_ar": "أختبار جنسية",
"name_en": "Test Nationality",
"type": "nationality",
"setting_id": null,
"updated_at": "2026-11-05T12:00:19.000000Z",
"created_at": "05-11-2026 12:00:19",
"id": 9
},
"message": "Data inserted successfully.",
"success": true
}
Create Admin
Create a new Admin.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Admin EJJVVC |
| string | admin+ejjvvc@gmail.com | |
| phone | string | 01118914264 |
| password | string | P@ss0rd |
| job_title | string | Administrator |
| avatar | NULL | |
| contract_type | string | full_time |
| password_confirmation | string | P@ss0rd |
| roles | array | [{"role_id":1},{"role_id":2}] |
| description | array | {"ar":"\u0648\u0635\u0641 \u0627\u0644\u0645\u0633\u0624\u0648\u0644","en":"Admin description"} |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | required, string, min 2, max 100, regex |
| required, valid email, regex, unique admins,email | |
| phone | required, regex, min 9, max 20, unique admins,phone |
| password | required, must match its *_confirmation field, StrongPassword |
| password_confirmation | required, same |
| avatar | optional, image, file types: jpeg,png,jpg,gif, max 2048 KB (upload) |
| is_active | optional, true/false |
| roles | required, array, min 1 |
| roles[].role_id | required, integer, exists roles,id |
| job_title | required, string, min 2, max 100 |
| contract_type | required, string, min 2, max 100, allowed: full_time, part_time |
{
"data": {
"id": 4,
"name": "Admin EJJVVC",
"email": "admin+ejjvvc@gmail.com",
"phone": "01118914264",
"avatar": null,
"job_title": "Administrator",
"contract_type": "full_time",
"is_active": false,
"roles": [
{
"id": 1,
"name": "Default Role",
"description": "Default Role Description",
"permissions_count": 0,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 1,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 2,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 3,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 4,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 5,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 6,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 7,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 8,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 9,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 10,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 11,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 12,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 13,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 14,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 15,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 16,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 17,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 18,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 19,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 20,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 21,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 22,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 23,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 24,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 25,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 26,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 27,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 28,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 29,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 30,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 31,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 32,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 33,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 34,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 35,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Default Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
},
{
"id": 2,
"name": "Super Admin Role ",
"description": "Super Admin Role Description",
"permissions_count": 0,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 36,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 37,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 38,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 39,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 40,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 41,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 42,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 43,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 44,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 45,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 46,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 47,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 48,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 49,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 50,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 51,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 52,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 53,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 54,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 55,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 56,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 57,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 58,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 59,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 60,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 61,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 62,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 63,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 64,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 65,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 66,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 67,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 68,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 69,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 70,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Super Admin Role ",
"ar": "دور المشرف الرئيسي"
},
"description": {
"en": "Super Admin Role Description",
"ar": "وصف دور المشرف الرئيسي"
}
}
}
],
"created_at": "2026-11-05",
"last_login_at": null
},
"message": "Data inserted successfully.",
"success": true
}
Get Admin List
Retrieve a list of Admin.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"name": "Admin",
"email": "admin@base.com",
"phone": "000000000000",
"avatar": null,
"job_title": null,
"contract_type": null,
"is_active": true,
"roles": [
{
"id": 1,
"name": "Default Role",
"description": "Default Role Description",
"permissions_count": 35,
"admins_count": 2,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 1,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 2,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 3,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 4,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 5,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 6,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 7,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 8,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 9,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 10,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 11,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 12,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 13,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 14,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 15,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 16,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 17,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 18,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 19,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 20,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 21,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 22,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 23,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 24,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 25,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 26,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 27,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 28,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 29,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 30,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 31,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 32,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 33,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 34,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 35,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Default Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
},
{
"id": 2,
"name": "Super Admin Role ",
"description": "Super Admin Role Description",
"permissions_count": 35,
"admins_count": 2,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 36,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 37,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 38,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 39,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 40,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 41,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 42,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 43,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 44,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 45,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 46,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 47,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 48,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 49,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 50,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 51,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 52,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 53,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 54,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 55,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 56,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 57,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 58,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 59,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 60,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 61,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 62,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 63,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 64,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 65,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 66,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 67,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 68,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 69,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 70,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Super Admin Role ",
"ar": "دور المشرف الرئيسي"
},
"description": {
"en": "Super Admin Role Description",
"ar": "وصف دور المشرف الرئيسي"
}
}
}
],
"created_at": "2026-11-05",
"last_login_at": "2026-11-05 12:00 PM"
},
{
"id": 2,
"name": "Documentation Target Admin",
"email": "documentation-target@base.com",
"phone": "01611302269",
"avatar": null,
"job_title": "Administrator",
"contract_type": "full_time",
"is_active": true,
"roles": [],
"created_at": "2026-11-05",
"last_login_at": null
},
{
"id": 3,
"name": "Documentation Admin",
"email": "doc-admin@base.com",
"phone": "01694745668",
"avatar": null,
"job_title": "Administrator",
"contract_type": "full_time",
"is_active": true,
"roles": [],
"created_at": "2026-11-05",
"last_login_at": "2026-11-05 12:00 PM"
},
{
"id": 4,
"name": "Admin EJJVVC",
"email": "admin+ejjvvc@gmail.com",
"phone": "01118914264",
"avatar": null,
"job_title": "Administrator",
"contract_type": "full_time",
"is_active": true,
"roles": [
{
"id": 1,
"name": "Default Role",
"description": "Default Role Description",
"permissions_count": 35,
"admins_count": 2,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 1,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 2,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 3,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 4,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 5,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 6,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 7,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 8,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 9,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 10,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 11,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 12,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 13,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 14,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 15,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 16,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 17,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 18,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 19,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 20,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 21,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 22,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 23,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 24,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 25,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 26,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 27,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 28,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 29,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 30,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 31,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 32,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 33,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 34,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 35,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Default Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
},
{
"id": 2,
"name": "Super Admin Role ",
"description": "Super Admin Role Description",
"permissions_count": 35,
"admins_count": 2,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 36,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 37,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 38,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 39,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 40,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 41,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 42,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 43,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 44,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 45,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 46,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 47,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 48,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 49,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 50,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 51,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 52,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 53,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 54,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 55,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 56,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 57,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 58,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 59,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 60,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 61,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 62,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 63,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 64,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 65,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 66,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 67,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 68,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 69,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 70,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Super Admin Role ",
"ar": "دور المشرف الرئيسي"
},
"description": {
"en": "Super Admin Role Description",
"ar": "وصف دور المشرف الرئيسي"
}
}
}
],
"created_at": "2026-11-05",
"last_login_at": null
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 4,
"last_page": 1
}
}
Get Admin Details
Retrieve Admin details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 4,
"name": "Admin EJJVVC",
"email": "admin+ejjvvc@gmail.com",
"phone": "01118914264",
"avatar": null,
"job_title": "Administrator",
"contract_type": "full_time",
"is_active": true,
"roles": [
{
"id": 1,
"name": "Default Role",
"description": "Default Role Description",
"permissions_count": 35,
"admins_count": 3,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 1,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 2,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 3,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 4,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 5,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 6,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 7,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 8,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 9,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 10,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 11,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 12,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 13,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 14,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 15,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 16,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 17,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 18,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 19,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 20,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 21,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 22,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 23,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 24,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 25,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 26,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 27,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 28,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 29,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 30,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 31,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 32,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 33,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 34,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 35,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Default Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
},
{
"id": 2,
"name": "Super Admin Role ",
"description": "Super Admin Role Description",
"permissions_count": 35,
"admins_count": 2,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 36,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 37,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 38,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 39,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 40,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 41,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 42,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 43,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 44,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 45,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 46,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 47,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 48,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 49,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 50,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 51,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 52,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 53,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 54,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 55,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 56,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 57,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 58,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 59,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 60,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 61,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 62,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 63,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 64,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 65,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 66,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 67,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 68,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 69,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 70,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Super Admin Role ",
"ar": "دور المشرف الرئيسي"
},
"description": {
"en": "Super Admin Role Description",
"ar": "وصف دور المشرف الرئيسي"
}
}
}
],
"created_at": "2026-11-05",
"last_login_at": null
},
"message": "Data retrieved successfully.",
"success": true
}
Update Admin
Update an existing Admin.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Admin Updated OFXDHQ |
| string | admin_upd+OfxDHQ@gmail.com | |
| phone | string | 01225201630 |
| avatar | NULL | |
| password | string | P@ss0rd |
| job_title | string | Manager |
| contract_type | string | part_time |
| roles | array | [{"role_id":1},{"role_id":2}] |
| id | integer | 4 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | optional, string, min 2, max 100, regex |
| optional, valid email, regex, Unique | |
| phone | optional, regex, min 9, max 20, unique admins,phone |
| password | optional, StrongPassword |
| avatar | optional, image, file types: jpeg,png,jpg,gif, max 2048 KB (upload) |
| is_active | optional, true/false |
| roles | optional, array, min 1 |
| roles[].role_id | optional, integer, exists roles,id |
{
"data": {
"id": 4,
"name": "Admin Updated OFXDHQ",
"email": "admin_upd+OfxDHQ@gmail.com",
"phone": "01225201630",
"avatar": null,
"job_title": "Administrator",
"contract_type": "full_time",
"is_active": true,
"roles": [
{
"id": 1,
"name": "Default Role",
"description": "Default Role Description",
"permissions_count": 0,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 1,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 2,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 3,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 4,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 5,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 6,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 7,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 8,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 9,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 10,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 11,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 12,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 13,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 14,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 15,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 16,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 17,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 18,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 19,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 20,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 21,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 22,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 23,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 24,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 25,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 26,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 27,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 28,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 29,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 30,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 31,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 32,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 33,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 34,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 35,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Default Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
},
{
"id": 2,
"name": "Super Admin Role ",
"description": "Super Admin Role Description",
"permissions_count": 0,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 36,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 37,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 38,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 39,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 40,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 41,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 42,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 43,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 44,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 45,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 46,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 47,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 48,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 49,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 50,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 51,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 52,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 53,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 54,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 55,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 56,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 57,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 58,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 59,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 60,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 61,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 62,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 63,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 64,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 65,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 66,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 67,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 68,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 69,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 70,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Super Admin Role ",
"ar": "دور المشرف الرئيسي"
},
"description": {
"en": "Super Admin Role Description",
"ar": "وصف دور المشرف الرئيسي"
}
}
}
],
"created_at": "2026-11-05",
"last_login_at": null
},
"message": "Data updated successfully.",
"success": true
}
Toggle Admin Status
Switch the Admin status between active and inactive.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 4,
"name": "Admin Updated OFXDHQ",
"email": "admin_upd+OfxDHQ@gmail.com",
"phone": "01225201630",
"avatar": null,
"job_title": "Administrator",
"contract_type": "full_time",
"is_active": false,
"roles": [
{
"id": 1,
"name": "Default Role",
"description": "Default Role Description",
"permissions_count": 0,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 1,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 2,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 3,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 4,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 5,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 6,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 7,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 8,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 9,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 10,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 11,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 12,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 13,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 14,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 15,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 16,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 17,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 18,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 19,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 20,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 21,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 22,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 23,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 24,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 25,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 26,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 27,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 28,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 29,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 30,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 31,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 32,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 33,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 34,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 35,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Default Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
},
{
"id": 2,
"name": "Super Admin Role ",
"description": "Super Admin Role Description",
"permissions_count": 0,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 36,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 37,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 38,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 39,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 40,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 41,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 42,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 43,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 44,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 45,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 46,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 47,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 48,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 49,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 50,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 51,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 52,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 53,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 54,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 55,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 56,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 57,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 58,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 59,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 60,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 61,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 62,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 63,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 64,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 65,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 66,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 67,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 68,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 69,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 70,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Super Admin Role ",
"ar": "دور المشرف الرئيسي"
},
"description": {
"en": "Super Admin Role Description",
"ar": "وصف دور المشرف الرئيسي"
}
}
}
],
"created_at": "2026-11-05",
"last_login_at": null
},
"message": "Data updated successfully.",
"success": true
}
Delete Admin
Delete a Admin.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data deleted successfully.",
"success": true
}
Get Deleted Admin
List deleted Admin.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 4,
"name": "Admin Updated OFXDHQ",
"email": "admin_upd+OfxDHQ@gmail.com",
"phone": "01225201630",
"avatar": null,
"job_title": "Administrator",
"contract_type": "full_time",
"is_active": false,
"roles": [
{
"id": 2,
"name": "Super Admin Role ",
"description": "Super Admin Role Description",
"permissions_count": 0,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 36,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 37,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 38,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 39,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 40,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 41,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 42,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 43,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 44,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 45,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 46,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 47,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 48,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 49,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 50,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 51,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 52,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 53,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 54,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 55,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 56,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 57,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 58,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 59,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 60,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 61,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 62,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 63,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 64,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 65,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 66,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 67,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 68,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 69,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 70,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Super Admin Role ",
"ar": "دور المشرف الرئيسي"
},
"description": {
"en": "Super Admin Role Description",
"ar": "وصف دور المشرف الرئيسي"
}
}
}
],
"created_at": "2026-11-05",
"last_login_at": null
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 1,
"last_page": 1
}
}
Restore Admin
Restore deleted Admin.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 4,
"name": "Admin Updated OFXDHQ",
"email": "admin_upd+OfxDHQ@gmail.com",
"phone": "01225201630",
"avatar": null,
"job_title": "Administrator",
"contract_type": "full_time",
"is_active": false,
"roles": [
{
"id": 2,
"name": "Super Admin Role ",
"description": "Super Admin Role Description",
"permissions_count": 0,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 36,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 37,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 38,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 39,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 40,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 41,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 42,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 43,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 44,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 45,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 46,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 47,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 48,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 49,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 50,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 51,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 52,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 53,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 54,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 55,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 56,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 57,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 58,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 59,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 60,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 61,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 62,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 63,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 64,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 65,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 66,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 67,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 68,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 69,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 70,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Super Admin Role ",
"ar": "دور المشرف الرئيسي"
},
"description": {
"en": "Super Admin Role Description",
"ar": "وصف دور المشرف الرئيسي"
}
}
}
],
"created_at": "2026-11-05",
"last_login_at": null
},
"message": "Data updated successfully.",
"success": true
}
Permanently Delete Admin
Force delete Admin.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data deleted successfully.",
"success": true
}
Create Role
Create a new Role.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | array | {"ar":"\u0623\u062e\u062a\u0628\u0627\u0631","en":"Test Role"} |
| permissions | array | [{"permission_id":1,"model_id":1}] |
| description | array | {"ar":"\u0648\u0635\u0641 \u0627\u0644\u062f\u0648\u0631","en":"Role description"} |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | required |
| name.ar | required, ArabicLetters |
| name.en | required, EnglishLetters |
| description | optional, array |
| description.ar | optional, string |
| description.en | optional, string |
| permissions | required, array, min 1 |
| permissions[].permission_id | required, integer, exists permissions,id |
| permissions[].model_id | required, integer, CheckPermissionInModule |
| permissions[].name | optional, string |
{
"data": {
"id": 3,
"name": "Test Role",
"description": "Role description",
"permissions_count": 0,
"admins_count": 0,
"is_active": false,
"created_at": "2026-11-05",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "أختبار"
},
"description": {
"en": "Role description",
"ar": "وصف الدور"
}
}
},
"message": "Role created successfully.",
"success": true
}
Get Role List
Retrieve a list of Role.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"name": "Default Role",
"description": "Default Role Description",
"permissions_count": 35,
"admins_count": 2,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 1,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 2,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 3,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 4,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 5,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 6,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 7,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 8,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 9,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 10,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 11,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 12,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 13,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 14,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 15,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 16,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 17,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 18,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 19,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 20,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 21,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 22,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 23,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 24,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 25,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 26,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 27,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 28,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 29,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 30,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 31,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 32,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 33,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 34,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 35,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Default Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
},
{
"id": 2,
"name": "Super Admin Role ",
"description": "Super Admin Role Description",
"permissions_count": 35,
"admins_count": 2,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 36,
"title": "Fetch Data",
"name": "users-fetch",
"permission_id": 1,
"model_id": 1
},
{
"id": 37,
"title": "Create Data",
"name": "users-create",
"permission_id": 2,
"model_id": 1
},
{
"id": 38,
"title": "Read Data",
"name": "users-read",
"permission_id": 3,
"model_id": 1
},
{
"id": 39,
"title": "Update Data",
"name": "users-update",
"permission_id": 4,
"model_id": 1
},
{
"id": 40,
"title": "Delete Data",
"name": "users-delete",
"permission_id": 5,
"model_id": 1
},
{
"id": 41,
"title": "Fetch Data",
"name": "valuers-fetch",
"permission_id": 1,
"model_id": 2
},
{
"id": 42,
"title": "Create Data",
"name": "valuers-create",
"permission_id": 2,
"model_id": 2
},
{
"id": 43,
"title": "Read Data",
"name": "valuers-read",
"permission_id": 3,
"model_id": 2
},
{
"id": 44,
"title": "Update Data",
"name": "valuers-update",
"permission_id": 4,
"model_id": 2
},
{
"id": 45,
"title": "Delete Data",
"name": "valuers-delete",
"permission_id": 5,
"model_id": 2
},
{
"id": 46,
"title": "Fetch Data",
"name": "requests-fetch",
"permission_id": 1,
"model_id": 3
},
{
"id": 47,
"title": "Create Data",
"name": "requests-create",
"permission_id": 2,
"model_id": 3
},
{
"id": 48,
"title": "Read Data",
"name": "requests-read",
"permission_id": 3,
"model_id": 3
},
{
"id": 49,
"title": "Update Data",
"name": "requests-update",
"permission_id": 4,
"model_id": 3
},
{
"id": 50,
"title": "Delete Data",
"name": "requests-delete",
"permission_id": 5,
"model_id": 3
},
{
"id": 51,
"title": "Fetch Data",
"name": "reports-fetch",
"permission_id": 1,
"model_id": 4
},
{
"id": 52,
"title": "Create Data",
"name": "reports-create",
"permission_id": 2,
"model_id": 4
},
{
"id": 53,
"title": "Read Data",
"name": "reports-read",
"permission_id": 3,
"model_id": 4
},
{
"id": 54,
"title": "Update Data",
"name": "reports-update",
"permission_id": 4,
"model_id": 4
},
{
"id": 55,
"title": "Delete Data",
"name": "reports-delete",
"permission_id": 5,
"model_id": 4
},
{
"id": 56,
"title": "Fetch Data",
"name": "team_management-fetch",
"permission_id": 1,
"model_id": 5
},
{
"id": 57,
"title": "Create Data",
"name": "team_management-create",
"permission_id": 2,
"model_id": 5
},
{
"id": 58,
"title": "Read Data",
"name": "team_management-read",
"permission_id": 3,
"model_id": 5
},
{
"id": 59,
"title": "Update Data",
"name": "team_management-update",
"permission_id": 4,
"model_id": 5
},
{
"id": 60,
"title": "Delete Data",
"name": "team_management-delete",
"permission_id": 5,
"model_id": 5
},
{
"id": 61,
"title": "Fetch Data",
"name": "finance-fetch",
"permission_id": 1,
"model_id": 6
},
{
"id": 62,
"title": "Create Data",
"name": "finance-create",
"permission_id": 2,
"model_id": 6
},
{
"id": 63,
"title": "Read Data",
"name": "finance-read",
"permission_id": 3,
"model_id": 6
},
{
"id": 64,
"title": "Update Data",
"name": "finance-update",
"permission_id": 4,
"model_id": 6
},
{
"id": 65,
"title": "Delete Data",
"name": "finance-delete",
"permission_id": 5,
"model_id": 6
},
{
"id": 66,
"title": "Fetch Data",
"name": "reviews-fetch",
"permission_id": 1,
"model_id": 7
},
{
"id": 67,
"title": "Create Data",
"name": "reviews-create",
"permission_id": 2,
"model_id": 7
},
{
"id": 68,
"title": "Read Data",
"name": "reviews-read",
"permission_id": 3,
"model_id": 7
},
{
"id": 69,
"title": "Update Data",
"name": "reviews-update",
"permission_id": 4,
"model_id": 7
},
{
"id": 70,
"title": "Delete Data",
"name": "reviews-delete",
"permission_id": 5,
"model_id": 7
}
],
"translate": {
"name": {
"en": "Super Admin Role ",
"ar": "دور المشرف الرئيسي"
},
"description": {
"en": "Super Admin Role Description",
"ar": "وصف دور المشرف الرئيسي"
}
}
},
{
"id": 3,
"name": "Test Role",
"description": "Role description",
"permissions_count": 1,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "أختبار"
},
"description": {
"en": "Role description",
"ar": "وصف الدور"
}
}
}
],
"message": "Roles retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 3,
"last_page": 1
}
}
Get Role Details
Retrieve Role details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 3,
"name": "Test Role",
"description": "Role description",
"permissions_count": 1,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "أختبار"
},
"description": {
"en": "Role description",
"ar": "وصف الدور"
}
}
},
"message": "Role retrieved successfully.",
"success": true
}
Update Role
Update an existing Role.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| id | integer | 3 |
| name | array | {"ar":"\u0623\u062e\u062a\u0628\u0627\u0631","en":"Test Role"} |
| permissions | array | [{"permission_id":1,"model_id":1}] |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | sometimes |
| name.ar | optional, ArabicLetters |
| name.en | optional, EnglishLetters |
| description | optional, array |
| description.ar | optional, string |
| description.en | optional, string |
| permissions | optional, array |
| permissions[].permission_id | optional, integer, exists permissions,id |
| permissions[].model_id | optional, integer, CheckPermissionInModule |
| permissions[].name | optional, string |
{
"data": {
"id": 3,
"name": "Test Role",
"description": "Role description",
"permissions_count": 0,
"admins_count": 0,
"is_active": true,
"created_at": "2026-11-05",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "أختبار"
},
"description": {
"en": "Role description",
"ar": "وصف الدور"
}
}
},
"message": "Role updated successfully.",
"success": true
}
Toggle Role Status
Switch the Role status between active and inactive.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 3,
"name": "Test Role",
"description": "Role description",
"permissions_count": 0,
"admins_count": 0,
"is_active": false,
"created_at": "2026-11-05",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "أختبار"
},
"description": {
"en": "Role description",
"ar": "وصف الدور"
}
}
},
"message": "Role status updated successfully.",
"success": true
}
Delete Role
Delete a Role.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Role deleted successfully.",
"success": true
}
Get Deleted Role
List deleted Role.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 3,
"name": "Test Role",
"description": "Role description",
"permissions_count": 0,
"admins_count": 0,
"is_active": false,
"created_at": "2026-11-05",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "أختبار"
},
"description": {
"en": "Role description",
"ar": "وصف الدور"
}
}
}
],
"message": "Trashed roles retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 1,
"last_page": 1
}
}
Restore Role
Restore deleted Role.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 3,
"name": "Test Role",
"description": "Role description",
"permissions_count": 0,
"admins_count": 0,
"is_active": false,
"created_at": "2026-11-05",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "أختبار"
},
"description": {
"en": "Role description",
"ar": "وصف الدور"
}
}
},
"message": "Role restored successfully.",
"success": true
}
Permanently Delete Role
Force delete Role.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Role permanently deleted.",
"success": true
}
Get User List
Retrieve a list of User.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"name": "Updated User Name",
"email": "updated_email@example.com",
"phone": "01011113333",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
{
"id": 3,
"name": "New User",
"email": "user@example.com",
"phone": "01011112222",
"country_code": "20",
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": "2026-11-05 11:59:55"
},
{
"id": 4,
"name": "Demo User",
"email": "user2@demo.com",
"phone": "01211172299",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": "2026-11-05 12:00:16"
}
],
"message": "Users retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 3,
"last_page": 1
}
}
Get User Details
Retrieve User details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 14,
"name": "Mona Manager",
"email": "mona.manager@doc.example.com",
"phone": "500000020",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
"message": "User details retrieved successfully.",
"success": true
}
Toggle User Status
Switch the User status between active and inactive.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 14,
"name": "Mona Manager",
"email": "mona.manager@doc.example.com",
"phone": "500000020",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": false,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
"message": "User status updated successfully.",
"success": true
}
Delete User
Delete a User.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "User deleted successfully.",
"success": true
}
Get Deleted User
List deleted User.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 2,
"name": "Delete User",
"email": "delete_user@example.com",
"phone": "01011119999",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
{
"id": 14,
"name": "Mona Manager",
"email": "mona.manager@doc.example.com",
"phone": "500000020",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": false,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
}
],
"message": "Trashed users retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 2,
"last_page": 1
}
}
Restore User
Restore deleted User.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 14,
"name": "Mona Manager",
"email": "mona.manager@doc.example.com",
"phone": "500000020",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": false,
"created_at": "2026-11-05",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
"message": "User restored successfully.",
"success": true
}
Permanently Delete User
Force delete User.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "User force deleted permanently.",
"success": true
}
Shared With Me
Budgets shared by others.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Budgets shared with you retrieved",
"success": true
}
List Budgets
List my budgets.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"owner_id": 1,
"name": "Trip Budget Doc",
"description": null,
"currency": "SAR",
"type": "one_time",
"status": "active",
"total_amount": 5000,
"total_expenses": 0,
"ending_balance": 5000,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:00:20.000000Z",
"userRole": "owner",
"is_trashed": false,
"deleted_at": null
},
{
"id": 2,
"owner_id": 1,
"name": "Monthly Budget Doc",
"description": null,
"currency": "SAR",
"type": "scheduled",
"status": "active",
"total_amount": 3000,
"total_expenses": 0,
"ending_balance": 3000,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:00:20.000000Z",
"userRole": "owner",
"is_trashed": false,
"deleted_at": null
}
],
"message": "Budgets retrieved successfully",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 2,
"last_page": 1
}
}
Create Budget
Initialise a new budget.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | New Project Budget |
| currency | string | USD |
| type | string | one_time |
| description | string | Documentation test budget |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | required, string, min 2, max 100, regex, Unique |
| description | optional, string |
| currency | required, string |
| type | required, enum: one_time, scheduled |
| status | optional, enum: active, finished, hidden |
| total_amount | optional, number, min 0 |
{
"data": {
"id": 3,
"owner_id": 1,
"name": "New Project Budget",
"description": "Documentation test budget",
"currency": "USD",
"type": "one_time",
"status": "active",
"total_amount": 0,
"total_expenses": 0,
"ending_balance": null,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:00:20.000000Z",
"userRole": null,
"is_trashed": false,
"deleted_at": null
},
"message": "Budget created successfully",
"success": true
}
Get Budget Details
Retrieve Budget details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"budget": {
"id": 1,
"owner_id": 1,
"name": "Trip Budget Doc",
"description": null,
"currency": "SAR",
"type": "one_time",
"status": "active",
"total_amount": 5000,
"total_expenses": 50,
"ending_balance": 4950,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z",
"userRole": "owner",
"is_trashed": false,
"deleted_at": null
}
},
"message": "Budget retrieved",
"success": true
}
Update Budget
Update an existing Budget.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| total_amount | integer | 5000 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | optional, required, string, max 100 |
| description | optional, string |
| currency | optional, required, string |
| type | optional, required, enum: one_time, scheduled |
| status | optional, enum: active, finished, hidden |
| total_amount | optional, number, min 0 |
{
"data": {
"id": 1,
"owner_id": 1,
"name": "Trip Budget Doc",
"description": null,
"currency": "SAR",
"type": "one_time",
"status": "active",
"total_amount": 5000,
"total_expenses": 50,
"ending_balance": 4950,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z",
"userRole": null,
"is_trashed": false,
"deleted_at": null
},
"message": "Budget updated successfully",
"success": true
}
hide Budget
Hide a budget.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 2,
"owner_id": 1,
"name": "Monthly Budget Doc",
"description": null,
"currency": "SAR",
"type": "scheduled",
"status": "hidden",
"total_amount": 3000,
"total_expenses": 0,
"ending_balance": 3000,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:02:15.000000Z",
"userRole": null,
"is_trashed": false,
"deleted_at": null
},
"message": "Budget hidden successfully",
"success": true
}
Delete Budget
Delete a Budget.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Budget deleted successfully.",
"success": true
}
Restore Budget
Restore deleted Budget.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"owner_id": 1,
"name": "Trip Budget Doc",
"description": null,
"currency": "SAR",
"type": "one_time",
"status": "active",
"total_amount": 5000,
"total_expenses": 600,
"ending_balance": 4400,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:04:18.000000Z",
"userRole": null,
"is_trashed": false,
"deleted_at": null
},
"message": "Budget restored successfully",
"success": true
}
Add Income
Record income.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| amount | integer | 500 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| type | optional, allowed: income, expense |
| amount | required, number, min 0.01 |
| description | optional, string, max 255 |
| category | optional, string, max 50 |
| account | optional, string, max 100 |
| date | optional, date (YYYY-MM-DD) |
| time | optional, date format H:i |
| additionalDate | optional, date (YYYY-MM-DD) |
| photo | optional, file, file types: jpeg,png,jpg,gif, max 2048 KB (upload) |
{
"data": {
"transaction": {
"id": 2,
"budget_id": "1",
"type": "income",
"amount": 500,
"description": null,
"category": null,
"account": null,
"creation_date": "2026-11-05",
"creation_time": "12:00",
"additional_date": null,
"photo": null,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:00:20.000000Z"
},
"newEndingBalance": 5500
},
"message": "Income recorded successfully",
"success": true
}
Add Expense
Record expense.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| amount | integer | 50 |
| description | string | Buying milk and eggs |
| category | string | Food |
| date | string | 2026-11-05 |
| time | string | 11:46 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| type | optional, allowed: income, expense |
| amount | required, number, min 0.01 |
| description | optional, string, max 255 |
| category | optional, string, max 50 |
| account | optional, string, max 100 |
| date | optional, date (YYYY-MM-DD) |
| time | optional, date format H:i |
| additionalDate | optional, date (YYYY-MM-DD) |
| photo | optional, file, file types: jpeg,png,jpg,gif, max 2048 KB (upload) |
{
"data": {
"transaction": {
"id": 3,
"budget_id": "1",
"type": "expense",
"amount": 50,
"description": "Buying milk and eggs",
"category": "Food",
"account": null,
"creation_date": "2026-11-05",
"creation_time": "11:46",
"additional_date": null,
"photo": null,
"created_at": "2026-11-05T12:00:21.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z"
},
"newEndingBalance": 5450
},
"message": "Expense recorded successfully",
"success": true
}
List Transactions
List budget history.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 3,
"budget_id": 1,
"type": "expense",
"amount": 50,
"description": "Buying milk and eggs",
"category": "Food",
"account": null,
"creation_date": "2026-11-05",
"creation_time": "11:46:00",
"additional_date": null,
"photo": null,
"created_at": "2026-11-05T12:00:21.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z"
},
{
"id": 1,
"budget_id": 1,
"type": "expense",
"amount": 50,
"description": "Initial Expense",
"category": "Food",
"account": null,
"creation_date": "2026-11-05",
"creation_time": null,
"additional_date": null,
"photo": null,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:00:20.000000Z"
},
{
"id": 2,
"budget_id": 1,
"type": "income",
"amount": 500,
"description": null,
"category": null,
"account": null,
"creation_date": "2026-11-05",
"creation_time": "12:00:00",
"additional_date": null,
"photo": null,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:00:20.000000Z"
}
],
"message": "Transactions retrieved",
"success": true,
"summary": {
"totalAmount": 500,
"endingBalance": 400,
"totalIncome": 500,
"totalExpenses": 100
},
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 3,
"last_page": 1
}
}
Transaction Details
Reveal transaction info.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"transaction": {
"id": 3,
"budget_id": 1,
"type": "expense",
"amount": "50.00",
"description": "Buying milk and eggs",
"category": "Food",
"account": null,
"creation_date": "2026-11-05",
"creation_time": "11:46:00",
"additional_date": null,
"photo": null,
"created_at": "2026-11-05T12:00:21.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z"
},
"createdBy": "Updated User Name"
},
"message": "Transaction details retrieved",
"success": true
}
Update Transaction
Edit transaction.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| amount | integer | 600 |
| description | string | Buying organic milk |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| amount | optional, required, number, min 0.01 |
| description | optional, string, max 255 |
| category | optional, string, max 50 |
| account | optional, string, max 100 |
| date | optional, required, date (YYYY-MM-DD) |
| photo | optional, file, file types: jpeg,png,jpg,gif, max 2048 KB (upload) |
{
"data": {
"transaction": {
"id": 3,
"budget_id": "1",
"type": "expense",
"amount": 600,
"description": "Buying organic milk",
"category": "Food",
"account": null,
"creation_date": "2026-11-05",
"creation_time": "11:46:00",
"additional_date": null,
"photo": null,
"created_at": "2026-11-05T12:00:21.000000Z",
"updated_at": "2026-11-05T12:02:16.000000Z"
},
"updatedBudgetSummary": {
"totalAmount": 5000,
"totalExpenses": 600,
"endingBalance": 4400
}
},
"message": "Transaction updated successfully",
"success": true
}
Delete Transaction
Delete transaction.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
null
Split Budget
Divide costs with others.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| splits | array | [{"userId":4,"amount":2500,"percentage":50},{"userId":1,"amount":2500,"percentage":50}] |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| splits | required, array, min 1 |
| splits[].userId | optional, exists users,id |
| splits[].amount | required, number, min 0 |
| splits[].percentage | required, number, min 0, max 100 |
{
"data": {
"splits": [
{
"id": 1,
"budget_id": 1,
"user_id": 4,
"amount": "2500.00",
"percentage": "50.00",
"created_at": "2026-11-05T12:00:21.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z",
"user": {
"id": 4,
"name": "Demo User",
"email": "user2@demo.com",
"country_id": null,
"phone": "01211172299",
"phone_verified_at": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"last_login_at": "2026-11-05T12:00:16.000000Z",
"is_active": true,
"change_password_token": null,
"change_password_expired_at": null,
"deleted_at": null,
"created_at": "2026-11-05T12:00:16.000000Z",
"updated_at": "2026-11-05T12:00:16.000000Z",
"failed_login_attempts": 0,
"locked_until": null
}
},
{
"id": 2,
"budget_id": 1,
"user_id": 1,
"amount": "2500.00",
"percentage": "50.00",
"created_at": "2026-11-05T12:00:21.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z",
"user": {
"id": 1,
"name": "Updated User Name",
"email": "updated_email@example.com",
"country_id": null,
"phone": "01011113333",
"phone_verified_at": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"last_login_at": null,
"is_active": true,
"change_password_token": null,
"change_password_expired_at": null,
"deleted_at": null,
"created_at": "2026-11-05T11:59:51.000000Z",
"updated_at": "2026-11-05T11:59:58.000000Z",
"failed_login_attempts": 0,
"locked_until": null
}
}
],
"totalAmount": 5000
},
"message": "Splits updated successfully",
"success": true
}
View Splits
View split info.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"budget": {
"id": 1,
"owner_id": 1,
"name": "Trip Budget Doc",
"description": null,
"currency": "SAR",
"type": "one_time",
"status": "active",
"total_amount": 5000,
"total_expenses": 50,
"ending_balance": 4950,
"created_at": "2026-11-05T12:00:20.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z",
"deleted_at": null,
"userRole": "owner"
},
"splits": [
{
"id": 1,
"budget_id": 1,
"user_id": 4,
"amount": "2500.00",
"percentage": "50.00",
"created_at": "2026-11-05T12:00:21.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z",
"user": {
"id": 4,
"name": "Demo User",
"email": "user2@demo.com",
"country_id": null,
"phone": "01211172299",
"phone_verified_at": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"last_login_at": "2026-11-05T12:00:16.000000Z",
"is_active": true,
"change_password_token": null,
"change_password_expired_at": null,
"deleted_at": null,
"created_at": "2026-11-05T12:00:16.000000Z",
"updated_at": "2026-11-05T12:00:16.000000Z",
"failed_login_attempts": 0,
"locked_until": null
}
},
{
"id": 2,
"budget_id": 1,
"user_id": 1,
"amount": "2500.00",
"percentage": "50.00",
"created_at": "2026-11-05T12:00:21.000000Z",
"updated_at": "2026-11-05T12:00:21.000000Z",
"user": {
"id": 1,
"name": "Updated User Name",
"email": "updated_email@example.com",
"country_id": null,
"phone": "01011113333",
"phone_verified_at": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"last_login_at": null,
"is_active": true,
"change_password_token": null,
"change_password_expired_at": null,
"deleted_at": null,
"created_at": "2026-11-05T11:59:51.000000Z",
"updated_at": "2026-11-05T11:59:58.000000Z",
"failed_login_attempts": 0,
"locked_until": null
}
}
],
"totalAmount": 5000,
"isComplete": true
},
"message": "Split details retrieved",
"success": true
}
Settle Split
Settle debt.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"settled": true
},
"message": "Split settled successfully",
"success": true
}
Create Circle
Create a circle
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Monthly Savings |
| total_amount | integer | 12000 |
| monthly_amount | integer | 1000 |
| duration_months | integer | 6 |
| currency | string | SAR |
| start_date | string | 2026-11-07 |
| end_date | string | 2027-05-07 |
| privacy | string | public |
| names_hidden | boolean | |
| payout_method | string | central_pot |
| collector_type | string | creator |
| allow_swaps | boolean | 1 |
| late_fee_per_day | integer | 0 |
| commission_percent | integer | 0 |
| payment_duration | array | [15,20] |
| receive_duration | array | [10,25] |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | required, string, max 100 |
| circle_code | optional, string, max 20, unique circles,circle_code |
| creator_id | optional, integer, exists users,id, Closure |
| total_amount | required, number, min 0 |
| monthly_amount | optional, number, min 0 |
| currency | optional, string, max 3 |
| duration_months | required, integer, min 1 |
| start_date | required, date (YYYY-MM-DD), on or after today |
| end_date | required, date (YYYY-MM-DD) |
| privacy | optional, allowed: public, private |
| names_hidden | optional, true/false |
| payout_method | optional, allowed: p2p_direct, central_pot |
| collector_type | required if payout_method = central_pot, optional, allowed: creator, assigned_later |
| allow_swaps | optional, true/false |
| late_fee_per_day | optional, number, min 0 |
| commission_percent | optional, number, min 0 |
| notes | optional, string |
| payment_duration | optional, array |
| payment_duration[] | required, integer, min 0 |
| receive_duration | optional, array |
| receive_duration[] | required, integer, min 0 |
{
"data": {
"id": 7,
"name": "Monthly Savings",
"circle_code": "YVjv8g7HH9",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "2000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-07T00:00:00.000000Z",
"end_date": "2027-05-07T00:00:00.000000Z",
"status": "published",
"privacy": "public",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "central_pot",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": null,
"payment_duration": [
15,
20
],
"receive_duration": [
10,
25
],
"collected": 0,
"remaining": 12000,
"current_cycle": null,
"contributors": 1,
"total_turns": 6,
"taken_turns": 1,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 11,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": null,
"collector_member_id": null
},
"message": "Data inserted successfully.",
"success": true
}
Get Circle List
List circles
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"name": "Documentation Circle",
"circle_code": "DOCPMBI3",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-04T00:00:00.000000Z",
"end_date": "2027-05-04T00:00:00.000000Z",
"status": "active",
"privacy": "public",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "central_pot",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": "Family savings circle: 6 members contribute 1,000 monthly and take turns receiving the pooled amount.",
"payment_duration": [
1,
10,
20
],
"receive_duration": [
25
],
"collected": "2000.00",
"remaining": 10000,
"current_cycle": "Nov, 2026",
"contributors": 4,
"total_turns": 7,
"taken_turns": 4,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": {
"member_id": 1,
"name": "Circle Owner",
"profile_image": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"collector_member_id": 1
},
{
"id": 2,
"name": "Disposable Circle 9mwF",
"circle_code": "DSPRAAIT",
"creator_id": 5,
"total_amount": "6000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-06T00:00:00.000000Z",
"end_date": "2027-05-05T00:00:00.000000Z",
"status": "active",
"privacy": "public",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "p2p_direct",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": null,
"payment_duration": null,
"receive_duration": null,
"collected": 0,
"remaining": 6000,
"current_cycle": "Nov, 2026",
"contributors": 1,
"total_turns": 0,
"taken_turns": 0,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 5,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": null,
"collector_member_id": null
},
{
"id": 3,
"name": "Invite Circle",
"circle_code": "INVCXYNJ",
"creator_id": 5,
"total_amount": "6000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-06T00:00:00.000000Z",
"end_date": "2027-05-05T00:00:00.000000Z",
"status": "active",
"privacy": "private",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "p2p_direct",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": null,
"payment_duration": null,
"receive_duration": null,
"collected": 0,
"remaining": 6000,
"current_cycle": "Nov, 2026",
"contributors": 1,
"total_turns": 0,
"taken_turns": 0,
"myRole": "member",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"id": 5,
"name": "Circle Owner"
},
"thisMonthReceiver": null,
"collector_member_id": null
},
{
"id": 4,
"name": "Start Circle Demo",
"circle_code": "SRTZ7KK3",
"creator_id": 5,
"total_amount": "6000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-06T00:00:00.000000Z",
"end_date": "2027-05-05T00:00:00.000000Z",
"status": "published",
"privacy": "public",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "central_pot",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": null,
"payment_duration": null,
"receive_duration": null,
"collected": 0,
"remaining": 6000,
"current_cycle": null,
"contributors": 1,
"total_turns": 1,
"taken_turns": 1,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 7,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": null,
"collector_member_id": null
},
{
"id": 5,
"name": "Kick Member Circle Demo",
"circle_code": "KCKLXWTL",
"creator_id": 5,
"total_amount": "6000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-06T00:00:00.000000Z",
"end_date": "2027-05-05T00:00:00.000000Z",
"status": "published",
"privacy": "public",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "central_pot",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": null,
"payment_duration": null,
"receive_duration": null,
"collected": 0,
"remaining": 6000,
"current_cycle": null,
"contributors": 2,
"total_turns": 0,
"taken_turns": 0,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 8,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": null,
"collector_member_id": null
},
{
"id": 6,
"name": "Published Documentation Circle",
"circle_code": "PUBCDBSF",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-06T00:00:00.000000Z",
"end_date": "2027-05-05T00:00:00.000000Z",
"status": "published",
"privacy": "public",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "central_pot",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": null,
"payment_duration": null,
"receive_duration": null,
"collected": 0,
"remaining": 12000,
"current_cycle": null,
"contributors": 1,
"total_turns": 6,
"taken_turns": 0,
"myRole": "admin",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 10,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": null,
"collector_member_id": null
},
{
"id": 7,
"name": "Monthly Savings",
"circle_code": "YVjv8g7HH9",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "2000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-07T00:00:00.000000Z",
"end_date": "2027-05-07T00:00:00.000000Z",
"status": "published",
"privacy": "public",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "central_pot",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": null,
"payment_duration": [
15,
20
],
"receive_duration": [
10,
25
],
"collected": 0,
"remaining": 12000,
"current_cycle": null,
"contributors": 1,
"total_turns": 6,
"taken_turns": 1,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 11,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": null,
"collector_member_id": null
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 7,
"last_page": 1
}
}
Get Circle Details
Circle details
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"name": "Documentation Circle",
"circle_code": "DOCPMBI3",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-04T00:00:00.000000Z",
"end_date": "2027-05-04T00:00:00.000000Z",
"status": "active",
"privacy": "public",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "central_pot",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": "Family savings circle: 6 members contribute 1,000 monthly and take turns receiving the pooled amount.",
"payment_duration": [
1,
10,
20
],
"receive_duration": [
25
],
"collected": "2000.00",
"remaining": 10000,
"current_cycle": "Nov, 2026",
"contributors": 4,
"total_turns": 9,
"taken_turns": 6,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": {
"member_id": 1,
"name": "Circle Owner",
"profile_image": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"collector_member_id": 1
},
"message": "Data retrieved successfully.",
"success": true
}
Update Circle
Update circle
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Updated Documentation Circle |
| privacy | string | private |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | optional, string, max 100 |
| circle_code | optional, string, max 20, Unique |
| creator_id | optional, integer, exists users,id |
| total_amount | optional, number, min 0 |
| monthly_amount | optional, number, min 0 |
| currency | optional, string, max 3 |
| duration_months | optional, integer, min 1 |
| start_date | optional, date (YYYY-MM-DD) |
| end_date | optional, date (YYYY-MM-DD), on or after start_date |
| status | optional, allowed: active, completed, frozen, published |
| privacy | optional, allowed: public, private |
| names_hidden | optional, true/false |
| payout_method | optional, allowed: p2p_direct, central_pot |
| collector_type | required if payout_method = central_pot, optional, allowed: creator, assigned_later |
| allow_swaps | optional, true/false |
| late_fee_per_day | optional, number, min 0 |
| commission_percent | optional, number, min 0 |
| notes | optional, string |
| payment_duration | optional, array |
| payment_duration[] | required, integer, min 0 |
| receive_duration | optional, array |
| receive_duration[] | required, integer, min 0 |
| collector_member_id | required if payout_method = central_pot, optional, integer, Exists |
{
"data": {
"id": 4,
"name": "Updated Documentation Circle",
"circle_code": "SRTZ7KK3",
"creator_id": 5,
"total_amount": "6000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-06T00:00:00.000000Z",
"end_date": "2027-05-05T00:00:00.000000Z",
"status": "published",
"privacy": "private",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "central_pot",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": null,
"payment_duration": null,
"receive_duration": null,
"collected": 0,
"remaining": 6000,
"current_cycle": null,
"contributors": 1,
"total_turns": 1,
"taken_turns": 1,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 7,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": null,
"collector_member_id": null
},
"message": "Data updated successfully.",
"success": true
}
Start Circle
Start circle
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 4,
"name": "Updated Documentation Circle",
"circle_code": "SRTZ7KK3",
"creator_id": 5,
"total_amount": "6000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-11-06T00:00:00.000000Z",
"end_date": "2027-05-05T00:00:00.000000Z",
"status": "active",
"privacy": "private",
"names_hidden": false,
"collector_type": "creator",
"payout_method": "central_pot",
"allow_swaps": true,
"late_fee_per_day": "0.00",
"commission_percent": "0.00",
"notes": null,
"payment_duration": null,
"receive_duration": null,
"collected": 0,
"remaining": 6000,
"current_cycle": "Nov, 2026",
"contributors": 1,
"total_turns": 1,
"taken_turns": 1,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 7,
"user_id": 5,
"name": "Circle Owner",
"is_manager": true
},
"thisMonthReceiver": null,
"collector_member_id": null
},
"message": "Circle started successfully.",
"success": true
}
Delete Circle
Delete circle
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data deleted successfully.",
"success": true
}
Join Circle
Join via code
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| circle_code | string | DOCPMBI3 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| circle_code | required, string, exists circles,circle_code |
{
"data": {
"id": 13,
"circle_id": 1,
"type": "join",
"status": "pending",
"created_at": "2026-11-05T12:00:47.000000Z",
"user": {
"id": 8,
"name": "Circle Joiner",
"email": "circle.joiner@demo.com",
"avatar": null
},
"user_id": 8
},
"message": "Join request sent successfully. Please wait for admin approval.",
"success": true
}
Get Invitations
List invitations
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"circle_id": 1,
"invited_user_id": 6,
"invited_by_id": 5,
"status": "pending",
"invited_at": "2026-11-05T12:00:41.000000Z",
"responded_at": null,
"expires_at": null,
"note": null,
"is_active": true,
"circle": {
"id": 1,
"name": "Documentation Circle",
"circle_code": "DOCPMBI3",
"currency": "SAR",
"contributors": 4,
"total_amount": "12000.00",
"circle_duration": 6,
"monthly_payment": "1000.00",
"start_date": "2026-11-04T00:00:00.000000Z"
},
"user": {
"id": 6,
"name": "Circle Invitee",
"email": "circle.invitee@demo.com",
"avatar": null,
"avatar_url": null
},
"inviter": {
"id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "media\/avatars\/circle-owner.jpg",
"avatar_url": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg",
"role": "creator"
}
}
],
"message": "Invitations retrieved successfully.",
"success": true
}
Invite Member
Invite to circle
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| phone | string | 500000006 |
| note | string | Please join my circle. |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| phone | required, string, exists users,phone |
| note | optional, string |
{
"data": {
"id": 3,
"circle_id": 3,
"invited_user_id": 10,
"invited_by_id": 5,
"status": "pending",
"invited_at": "2026-11-05T12:03:32.000000Z",
"responded_at": null,
"expires_at": null,
"note": "Please join my circle.",
"is_active": true,
"circle": {
"id": 3,
"name": "Invite Circle",
"circle_code": "INVCXYNJ",
"currency": "SAR",
"contributors": 0,
"total_amount": "6000.00",
"circle_duration": 6,
"monthly_payment": "1000.00",
"start_date": "2026-11-06T00:00:00.000000Z"
},
"user": {
"id": 10,
"name": "Invite Target",
"email": "circle.invitetarget@demo.com",
"avatar": null,
"avatar_url": null
},
"inviter": {
"id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "media\/avatars\/circle-owner.jpg",
"avatar_url": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg",
"role": null
}
},
"message": "Invitation sent successfully.",
"success": true
}
Accept Invitation
Accept invitation
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"circle_id": 1,
"invited_user_id": 6,
"invited_by_id": 5,
"email": null,
"phone": null,
"status": "accepted",
"invited_at": "2026-11-05T12:00:41.000000Z",
"responded_at": "2026-11-05T12:03:32.000000Z",
"expires_at": null,
"note": null,
"is_active": true,
"deleted_at": null,
"created_at": "2026-11-05T12:00:41.000000Z",
"updated_at": "2026-11-05T12:03:32.000000Z"
},
"message": "Invitation accepted successfully.",
"success": true
}
Decline Invitation
Decline invitation
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Invitation declined successfully.",
"success": true
}
Get Member List
List members
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"members": [
{
"id": 1,
"circle_id": 1,
"user_id": 5,
"is_manager": true,
"is_collector": true,
"joined_at": "2026-11-05T12:00:52.000000Z",
"is_admin": false,
"is_frozen": false,
"member_name": "Circle Owner",
"turns": [
{
"id": 1,
"turn_number": 1,
"month_year": "2026-11-05",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg",
"monthly": 1000,
"next_payment": "2026-12-01",
"member_phone_number": "500000001",
"agreed_to_rules": false,
"agreed_to_privacy": false,
"payment_method": null
},
{
"id": 2,
"circle_id": 1,
"user_id": 11,
"is_manager": false,
"is_collector": false,
"joined_at": "2026-11-05T12:00:40.000000Z",
"is_admin": false,
"is_frozen": false,
"member_name": "Circle Member",
"turns": [
{
"id": 2,
"turn_number": 2,
"month_year": "2026-12-05",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg",
"monthly": 1000,
"next_payment": "2026-11-01",
"member_phone_number": "500000007",
"agreed_to_rules": false,
"agreed_to_privacy": false,
"payment_method": null
},
{
"id": 3,
"circle_id": 1,
"user_id": 14,
"is_manager": false,
"is_collector": false,
"joined_at": "2026-11-05T12:00:41.000000Z",
"is_admin": false,
"is_frozen": false,
"member_name": "Mona Manager",
"turns": [
{
"id": 3,
"turn_number": 3,
"month_year": "2027-01-05",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": null,
"monthly": 1000,
"next_payment": "2026-11-01",
"member_phone_number": "500000020",
"agreed_to_rules": false,
"agreed_to_privacy": false,
"payment_method": null
},
{
"id": 4,
"circle_id": 1,
"user_id": 12,
"is_manager": false,
"is_collector": false,
"joined_at": "2026-11-05T12:00:41.000000Z",
"is_admin": false,
"is_frozen": false,
"member_name": "Circle Payer",
"turns": [
{
"id": 4,
"turn_number": 4,
"month_year": "2027-02-05",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": null,
"monthly": 1000,
"next_payment": "2026-11-01",
"member_phone_number": "500000008",
"agreed_to_rules": false,
"agreed_to_privacy": false,
"payment_method": null
}
],
"groups": [
{
"circle_id": 1,
"name": "Family Circle",
"description": "Grouping close relatives into a private sub-circle.",
"status": "approved",
"requester_member_id": 1,
"members": [
{
"id": 1,
"name": "Circle Owner",
"is_leader": true,
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
{
"id": 2,
"name": "Circle Member",
"is_leader": false,
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
}
],
"created_at": "2026-11-05T12:00:52.000000Z"
}
]
},
"message": "Members retrieved successfully.",
"success": true
}
Add Member
Add member
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| user_id | integer | 9 |
| is_manager | boolean |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| user_id | required, integer, exists users,id |
| notes | optional, string |
| is_manager | optional, true/false |
| profile_settings | required, array |
| profile_settings.payment_method | required, string, allowed: visa, cash |
| profile_settings.agreed_to_rules | required, true/false |
| profile_settings.agreed_to_privacy | required, true/false |
{
"data": {
"id": 14,
"circle_id": 1,
"user_id": 9,
"is_manager": false,
"is_collector": null,
"joined_at": "2026-11-05T12:00:53.000000Z",
"is_admin": null,
"is_frozen": null,
"member_name": "Add Target",
"turns": [
{
"id": 5,
"turn_number": 5,
"month_year": "2027-03-05",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": null,
"monthly": 1000,
"next_payment": "2026-11-01",
"member_phone_number": "500000005",
"agreed_to_rules": true,
"agreed_to_privacy": true,
"payment_method": "cash"
},
"message": "Member added successfully.",
"success": true
}
Freeze Member
Freeze member
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 2,
"circle_id": 1,
"user_id": 11,
"is_manager": false,
"is_collector": false,
"joined_at": "2026-11-05T12:00:40.000000Z",
"is_admin": false,
"is_frozen": true,
"member_name": "Circle Member",
"turns": [
{
"id": 2,
"turn_number": 2,
"month_year": "2026-12-05",
"status": "frozen",
"payout_amount": "12000.00"
},
{
"id": 6,
"turn_number": 6,
"month_year": "2027-04-05",
"status": "frozen",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg",
"monthly": 1000,
"next_payment": "2026-11-01",
"member_phone_number": "500000007",
"agreed_to_rules": false,
"agreed_to_privacy": false,
"payment_method": null
},
"message": "Member frozen successfully.",
"success": true
}
Unfreeze Member
Unfreeze member
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 2,
"circle_id": 1,
"user_id": 11,
"is_manager": false,
"is_collector": false,
"joined_at": "2026-11-05T12:00:40.000000Z",
"is_admin": false,
"is_frozen": false,
"member_name": "Circle Member",
"turns": [
{
"id": 2,
"turn_number": 2,
"month_year": "2026-12-05",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 6,
"turn_number": 6,
"month_year": "2027-04-05",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg",
"monthly": 1000,
"next_payment": "2026-11-01",
"member_phone_number": "500000007",
"agreed_to_rules": false,
"agreed_to_privacy": false,
"payment_method": null
},
"message": "Member unfrozen successfully.",
"success": true
}
Kick Member
Kick member
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Member kicked successfully.",
"success": true
}
Current Receiver
Current receiver
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"turn_id": 1,
"turn_number": 1,
"month_year": "2026-11-05T00:00:00.000000Z",
"payout_method": "central_pot",
"receiver_member_id": 1,
"receiver_user_id": 5,
"payout_amount": "12000.00"
},
"message": "Data retrieved successfully.",
"success": true
}
Payment History
Payment history
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"circle_id": 1,
"turn_id": 1,
"payer_member_id": 2,
"amount": "1000.00",
"due_date": "2026-11-12T00:00:00.000000Z",
"paid_at": null,
"status": "pending",
"proof_image_url": null,
"confirmed_by": null,
"late_fee_applied": "0.00",
"description": "Monthly contribution for cycle 1.",
"is_group_payment": false,
"details": null,
"payer_name": "Circle Member"
},
{
"id": 2,
"circle_id": 1,
"turn_id": 1,
"payer_member_id": 2,
"amount": "1000.00",
"due_date": "2026-11-19T00:00:00.000000Z",
"paid_at": null,
"status": "pending",
"proof_image_url": null,
"confirmed_by": null,
"late_fee_applied": "0.00",
"description": "Contribution flagged for review.",
"is_group_payment": false,
"details": null,
"payer_name": "Circle Member"
}
],
"message": "Payment history retrieved successfully.",
"success": true,
"pagination": {
"per_page": 15,
"current_page": 1,
"total": 2,
"last_page": 1
}
}
Confirm Payment
Confirm payment
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"circle_id": 1,
"turn_id": 1,
"payer_member_id": 2,
"amount": "1000.00",
"due_date": "2026-11-12T00:00:00.000000Z",
"paid_at": "2026-11-05T12:03:43.000000Z",
"status": "paid",
"proof_image_url": null,
"confirmed_by": 5,
"late_fee_applied": "0.00",
"description": "Monthly contribution for cycle 1.",
"is_group_payment": false,
"details": null,
"payer_name": "Circle Member"
},
"message": "Payment confirmed successfully.",
"success": true
}
Reject Payment
Reject payment
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 2,
"circle_id": 1,
"turn_id": 1,
"payer_member_id": 2,
"amount": "1000.00",
"due_date": "2026-11-19T00:00:00.000000Z",
"paid_at": null,
"status": "rejected",
"proof_image_url": null,
"confirmed_by": null,
"late_fee_applied": "0.00",
"description": "Contribution flagged for review.",
"is_group_payment": false,
"details": null,
"payer_name": "Circle Member"
},
"message": "Payment rejected.",
"success": true
}
Get Requests List
List requests
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 32,
"circle_id": 1,
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"type": "swap",
"status": "pending",
"details": {
"from_turn": 3,
"to_turn": 5,
"reason": "Travel commitments — need a later payout month."
},
"created_at": "2026-11-05T12:01:08.000000Z",
"from_turn_details": {
"turn_id": 3,
"turn_number": 3,
"month_year": "2027-01-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"to_turn_details": {
"turn_id": 5,
"turn_number": 5,
"month_year": "2027-03-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"user_id": null
},
{
"id": 33,
"circle_id": 1,
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"type": "swap",
"status": "pending",
"details": {
"from_turn": 2,
"to_turn": 4,
"reason": "Swap no longer needed — declining this one."
},
"created_at": "2026-11-05T12:01:08.000000Z",
"from_turn_details": {
"turn_id": 2,
"turn_number": 2,
"month_year": "2026-12-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"to_turn_details": {
"turn_id": 4,
"turn_number": 4,
"month_year": "2027-02-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"user_id": null
},
{
"id": 34,
"circle_id": 1,
"requester_details": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"type": "swap",
"status": "pending",
"details": {
"from_turn": 4,
"to_turn": 6,
"reason": "Changed my mind — removing this one."
},
"created_at": "2026-11-05T12:01:08.000000Z",
"from_turn_details": {
"turn_id": 4,
"turn_number": 4,
"month_year": "2027-02-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"to_turn_details": {
"turn_id": 6,
"turn_number": 6,
"month_year": "2027-04-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"user_id": null
},
{
"id": 35,
"circle_id": 1,
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"type": "extra_turn",
"status": "pending",
"details": {
"current_turn": 1,
"to_turns": [
2
],
"message": "Wedding expenses — requesting an additional payout turn."
},
"created_at": "2026-11-05T12:01:08.000000Z",
"current_turn_details": {
"turn_id": 1,
"turn_number": 1,
"month_year": "2026-11-05T00:00:00.000000Z",
"status": "completed",
"payout_amount": "12000.00"
},
"target_turns_details": [
{
"turn_id": 2,
"turn_number": 2,
"month_year": "2026-12-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"user_id": null
},
{
"id": 36,
"circle_id": 1,
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"type": "create_group",
"status": "pending",
"details": {
"group_name": "Family Circle",
"target_turn": 2,
"add_members": [
1,
2
],
"message": "Grouping close relatives into a private sub-circle."
},
"created_at": "2026-11-05T12:01:08.000000Z",
"group_name": "Family Circle",
"target_turn_details": {
"turn_number": 2
},
"group_members": [
{
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
{
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
}
],
"user_id": null
},
{
"id": 37,
"circle_id": 1,
"requester_details": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"type": "create_group",
"status": "approved",
"details": {
"group_name": "Family Circle",
"target_turn": 3,
"add_members": [
1,
2
],
"message": "Grouping close relatives into a private sub-circle."
},
"created_at": "2026-11-05T12:01:08.000000Z",
"group_name": "Family Circle",
"target_turn_details": {
"turn_number": 3
},
"group_members": [
{
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
{
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
}
],
"user_id": null
}
],
"message": "Requests retrieved successfully.",
"success": true,
"pagination": {
"per_page": 15,
"current_page": 1,
"total": 6,
"last_page": 1
}
}
Approve Request
Approve request
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| message | string | Approved. |
{
"data": {
"id": 84,
"circle_id": 1,
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"type": "swap",
"status": "approved",
"details": {
"from_turn": 3,
"to_turn": 5,
"reason": "Travel commitments — need a later payout month."
},
"admin_response_message": "Approved.",
"resolved_at": "2026-11-05T12:03:48.000000Z",
"created_at": "2026-11-05T12:03:48.000000Z",
"from_turn_details": {
"turn_id": 3,
"turn_number": 3,
"month_year": "2027-01-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"to_turn_details": {
"turn_id": 5,
"turn_number": 5,
"month_year": "2027-03-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"user_id": null
},
"message": "Request approved successfully.",
"success": true
}
Decline Request
Decline request
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| message | string | Declined. |
{
"data": {
"id": 85,
"circle_id": 1,
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"type": "swap",
"status": "declined",
"details": {
"from_turn": 2,
"to_turn": 4,
"reason": "Swap no longer needed — declining this one."
},
"admin_response_message": "Declined.",
"resolved_at": "2026-11-05T12:03:48.000000Z",
"created_at": "2026-11-05T12:03:48.000000Z",
"from_turn_details": {
"turn_id": 2,
"turn_number": 2,
"month_year": "2026-12-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"to_turn_details": {
"turn_id": 4,
"turn_number": 4,
"month_year": "2027-02-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"user_id": null
},
"message": "Request declined successfully.",
"success": true
}
Cancel Request
Cancel request
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 86,
"circle_id": 1,
"requester_details": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "https:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"type": "swap",
"status": "cancelled",
"details": {
"from_turn": 4,
"to_turn": 6,
"reason": "Changed my mind — removing this one."
},
"resolved_at": "2026-11-05T12:03:48.000000Z",
"created_at": "2026-11-05T12:03:48.000000Z",
"from_turn_details": {
"turn_id": 4,
"turn_number": 4,
"month_year": "2027-02-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"to_turn_details": {
"turn_id": 6,
"turn_number": 6,
"month_year": "2027-04-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
"user_id": null
},
"message": "Request cancelled successfully.",
"success": true
}
Get AssetFolder List
Retrieve a list of AssetFolder.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"name": "Personal & Legal Documents",
"cover_photo": "https:\/\/127.0.0.1:8000\/storage\/media\/asset-folders\/covers\/personal-legal-documents.jpg",
"documents_count": 3,
"total_price": 19250.5,
"active": true,
"created_at": "2026-11-05"
}
],
"message": "Folders retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 1,
"last_page": 1
}
}
Create AssetFolder
Create a new AssetFolder.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Insurance Policies |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | required, string, min 3, max 50, EnglishLetters |
| cover_photo | optional, image, max 5120 KB (upload) |
{
"data": {
"id": 2,
"name": "Insurance Policies",
"cover_photo": null,
"documents_count": 0,
"total_price": 0,
"active": true,
"created_at": "2026-11-05",
"documents": []
},
"message": "Folder created successfully.",
"success": true
}
Get AssetFolder Details
Retrieve AssetFolder details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"name": "Personal & Legal Documents",
"cover_photo": "https:\/\/127.0.0.1:8000\/storage\/media\/asset-folders\/covers\/personal-legal-documents.jpg",
"documents_count": 5,
"total_price": 40850.5,
"active": true,
"created_at": "2026-11-05",
"documents": [
{
"id": 1,
"asset_folder_id": 1,
"name": "Apartment Lease Agreement",
"description": "12-month residential lease for Unit 4B, Green Valley Residences. Auto-renews annually unless cancelled 60 days before expiry.",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"reminder": {
"time": "2025-12-01 09:00:00",
"is_periodic": false,
"periodic_method": null
},
"value": "18000.00",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 2,
"asset_folder_id": 1,
"name": "Comprehensive Car Insurance",
"description": "Full-coverage auto insurance for vehicle plate XYZ-1234, including roadside assistance and windscreen cover.",
"start_date": "2025-03-15",
"end_date": "2026-03-14",
"reminder": {
"time": "2026-03-14 08:30:00",
"is_periodic": true,
"periodic_method": "monthly"
},
"value": "1250.50",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-card.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-policy.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 3,
"asset_folder_id": 1,
"name": "Passport",
"description": "Primary international travel document. Renewal reminder repeats every year, starting three months before expiry.",
"start_date": "2021-06-01",
"end_date": "2031-05-31",
"reminder": {
"time": "2031-03-02 09:00:00",
"is_periodic": true,
"periodic_method": "yearly"
},
"value": null,
"currency": null,
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2021\/passport-photo-page.jpg"
],
"documents": [],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 4,
"asset_folder_id": 1,
"name": "Health Insurance Policy",
"description": "Family health insurance plan covering 4 members, including dental and optical coverage.",
"start_date": "2025-02-01",
"end_date": "2026-01-31",
"reminder": {
"time": "2026-01-10 09:00:00",
"is_periodic": true,
"periodic_method": "monthly"
},
"value": "3600.00",
"currency": "USD",
"photos": [],
"documents": [],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 5,
"asset_folder_id": 1,
"name": "Apartment Lease Agreement (Copy)",
"description": "12-month residential lease for Unit 4B, Green Valley Residences. Auto-renews annually unless cancelled 60 days before expiry.",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"reminder": {
"time": "2025-12-01 09:00:00",
"is_periodic": false,
"periodic_method": null
},
"value": "18000.00",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-11-05"
}
]
},
"message": "Folder retrieved successfully.",
"success": true
}
Update AssetFolder
Update an existing AssetFolder.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Personal Legal and Financial Documents |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | optional, string, min 3, max 100, EnglishLetters |
| cover_photo | optional, image, max 5120 KB (upload) |
| delete_cover_photo | optional, true/false |
{
"data": {
"id": 1,
"name": "Personal Legal and Financial Documents",
"cover_photo": "https:\/\/127.0.0.1:8000\/storage\/media\/asset-folders\/covers\/personal-legal-documents.jpg",
"documents_count": 5,
"total_price": 40850.5,
"active": true,
"created_at": "2026-11-05",
"documents": [
{
"id": 1,
"asset_folder_id": 1,
"name": "Apartment Lease Agreement",
"description": "12-month residential lease for Unit 4B, Green Valley Residences. Auto-renews annually unless cancelled 60 days before expiry.",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"reminder": {
"time": "2025-12-01 09:00:00",
"is_periodic": false,
"periodic_method": null
},
"value": "18000.00",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 2,
"asset_folder_id": 1,
"name": "Comprehensive Car Insurance",
"description": "Full-coverage auto insurance for vehicle plate XYZ-1234, including roadside assistance and windscreen cover.",
"start_date": "2025-03-15",
"end_date": "2026-03-14",
"reminder": {
"time": "2026-03-14 08:30:00",
"is_periodic": true,
"periodic_method": "monthly"
},
"value": "1250.50",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-card.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-policy.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 3,
"asset_folder_id": 1,
"name": "Passport",
"description": "Primary international travel document. Renewal reminder repeats every year, starting three months before expiry.",
"start_date": "2021-06-01",
"end_date": "2031-05-31",
"reminder": {
"time": "2031-03-02 09:00:00",
"is_periodic": true,
"periodic_method": "yearly"
},
"value": null,
"currency": null,
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2021\/passport-photo-page.jpg"
],
"documents": [],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 4,
"asset_folder_id": 1,
"name": "Health Insurance Policy",
"description": "Family health insurance plan covering 4 members, including dental and optical coverage.",
"start_date": "2025-02-01",
"end_date": "2026-01-31",
"reminder": {
"time": "2026-01-10 09:00:00",
"is_periodic": true,
"periodic_method": "monthly"
},
"value": "3600.00",
"currency": "USD",
"photos": [],
"documents": [],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 5,
"asset_folder_id": 1,
"name": "Apartment Lease Agreement (Copy)",
"description": "12-month residential lease for Unit 4B, Green Valley Residences. Auto-renews annually unless cancelled 60 days before expiry.",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"reminder": {
"time": "2025-12-01 09:00:00",
"is_periodic": false,
"periodic_method": null
},
"value": "18000.00",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-11-05"
}
]
},
"message": "Folder updated successfully.",
"success": true
}
Delete AssetFolder
Delete a AssetFolder.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Folder deleted successfully.",
"success": true
}
Restore AssetFolder
Restore deleted AssetFolder.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 3,
"name": "Personal & Legal Documents",
"cover_photo": "https:\/\/127.0.0.1:8000\/storage\/media\/asset-folders\/covers\/personal-legal-documents.jpg",
"documents_count": 3,
"total_price": 19250.5,
"active": true,
"created_at": "2026-11-05",
"documents": [
{
"id": 7,
"asset_folder_id": 3,
"name": "Comprehensive Car Insurance",
"description": "Full-coverage auto insurance for vehicle plate XYZ-1234, including roadside assistance and windscreen cover.",
"start_date": "2025-03-15",
"end_date": "2026-03-14",
"reminder": {
"time": "2026-03-14 08:30:00",
"is_periodic": true,
"periodic_method": "monthly"
},
"value": "1250.50",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-card.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-policy.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 8,
"asset_folder_id": 3,
"name": "Passport",
"description": "Primary international travel document. Renewal reminder repeats every year, starting three months before expiry.",
"start_date": "2021-06-01",
"end_date": "2031-05-31",
"reminder": {
"time": "2031-03-02 09:00:00",
"is_periodic": true,
"periodic_method": "yearly"
},
"value": null,
"currency": null,
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2021\/passport-photo-page.jpg"
],
"documents": [],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 9,
"asset_folder_id": 3,
"name": "Apartment Lease Agreement",
"description": "12-month residential lease for Unit 4B, Green Valley Residences. Auto-renews annually unless cancelled 60 days before expiry.",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"reminder": {
"time": "2025-12-01 09:00:00",
"is_periodic": false,
"periodic_method": null
},
"value": "18000.00",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-11-05"
}
]
},
"message": "Folder restored successfully.",
"success": true
}
Permanently Delete AssetFolder
Force delete AssetFolder.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Folder permanently deleted.",
"success": true
}
Get AssetDoc List
Retrieve a list of AssetDoc.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"asset_folder_id": 1,
"name": "Apartment Lease Agreement",
"description": "12-month residential lease for Unit 4B, Green Valley Residences. Auto-renews annually unless cancelled 60 days before expiry.",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"reminder": {
"time": "2025-12-01 09:00:00",
"is_periodic": false,
"periodic_method": null
},
"value": "18000.00",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 2,
"asset_folder_id": 1,
"name": "Comprehensive Car Insurance",
"description": "Full-coverage auto insurance for vehicle plate XYZ-1234, including roadside assistance and windscreen cover.",
"start_date": "2025-03-15",
"end_date": "2026-03-14",
"reminder": {
"time": "2026-03-14 08:30:00",
"is_periodic": true,
"periodic_method": "monthly"
},
"value": "1250.50",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-card.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-policy.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
{
"id": 3,
"asset_folder_id": 1,
"name": "Passport",
"description": "Primary international travel document. Renewal reminder repeats every year, starting three months before expiry.",
"start_date": "2021-06-01",
"end_date": "2031-05-31",
"reminder": {
"time": "2031-03-02 09:00:00",
"is_periodic": true,
"periodic_method": "yearly"
},
"value": null,
"currency": null,
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2021\/passport-photo-page.jpg"
],
"documents": [],
"active": true,
"created_at": "2026-11-05"
}
],
"message": "Documents retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 3,
"last_page": 1
}
}
Create AssetDoc
Create a new AssetDoc.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| asset_folder_id | integer | 1 |
| name | string | Health Insurance Policy |
| description | string | Family health insurance plan covering 4 members, including dental and optical coverage. |
| start_date | string | 2025-02-01 |
| end_date | string | 2026-01-31 |
| reminder | array | {"time":"2026-01-10 09:00:00","is_periodic":true,"periodic_method":"monthly"} |
| value | integer | 3600 |
| currency | string | USD |
| photos_files | array | [] |
| document_files | array | [] |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| asset_folder_id | optional, Exists |
| name | required, string, min 3, max 100, regex |
| description | optional, string |
| start_date | optional, date (YYYY-MM-DD) |
| end_date | optional, date (YYYY-MM-DD), on or after start_date |
| reminder | optional, array |
| reminder.time | required, required_with, date (YYYY-MM-DD) |
| reminder.is_periodic | required, required_with, true/false |
| reminder.periodic_method | optional, string, allowed: daily, weekly, monthly, yearly, required if reminder.is_periodic = true |
| value | optional, number, max 999999999999 |
| currency | optional, string, max 10 |
| photos_files | optional, array, max 20 |
| photos_files[] | required, image, file types: jpg,jpeg,png,webp,heic, max 10240 KB (upload) |
| document_files | optional, array |
| document_files[] | required, file, file types: pdf,xls,xlsx,csv,doc,docx,txt,ppt,pptx, max 5120 KB (upload) |
{
"data": {
"id": 4,
"asset_folder_id": 1,
"name": "Health Insurance Policy",
"description": "Family health insurance plan covering 4 members, including dental and optical coverage.",
"start_date": "2025-02-01",
"end_date": "2026-01-31",
"reminder": {
"time": "2026-01-10 09:00:00",
"is_periodic": true,
"periodic_method": "monthly"
},
"value": "3600.00",
"currency": "USD",
"photos": [],
"documents": [],
"active": true,
"created_at": "2026-11-05"
},
"message": "Document created successfully.",
"success": true
}
Move Documents
Bulk move documents.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| document_ids | array | [1] |
| target_folder_id | integer | 1 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| document_ids | required, array |
| document_ids[] | exists:asset_docs,id |
| target_folder_id | required, exists asset_folders,id |
{
"data": [],
"message": "Documents moved successfully.",
"success": true
}
Get AssetDoc Details
Retrieve AssetDoc details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 6,
"asset_folder_id": 3,
"name": "Apartment Lease Agreement",
"description": "12-month residential lease for Unit 4B, Green Valley Residences. Auto-renews annually unless cancelled 60 days before expiry.",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"reminder": {
"time": "2025-12-01 09:00:00",
"is_periodic": false,
"periodic_method": null
},
"value": "18000.00",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
"message": "Document retrieved successfully.",
"success": true
}
Update AssetDoc
Update an existing AssetDoc.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| _method | string | PUT |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Contract V2 |
| document_files | array | [] |
| deleted_photos | array | [] |
| deleted_documents | array | [] |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| asset_folder_id | optional, Exists |
| name | optional, string, min 3, max 100, regex |
| description | optional, string |
| start_date | optional, date (YYYY-MM-DD) |
| end_date | optional, date (YYYY-MM-DD), on or after start_date |
| reminder | optional, array |
| reminder.time | required, required_with, date (YYYY-MM-DD) |
| reminder.is_periodic | required, required_with, true/false |
| reminder.periodic_method | optional, string, allowed: daily, weekly, monthly, yearly, required if reminder.is_periodic = true |
| value | optional, number, min 0.01, max 999999999999 |
| currency | optional, string, max 10 |
| photos_files | optional, array, max 6 |
| photos_files[] | required, image, file types: jpg,jpeg,png,webp,heic, max 10240 KB (upload) |
| document_files | optional, array |
| document_files[] | required, file, file types: pdf,xls,xlsx,csv,doc,docx,txt,ppt,pptx, max 5120 KB (upload) |
| deleted_photos | optional, array |
| deleted_photos[] | optional, string |
| deleted_documents | optional, array |
| deleted_documents[] | optional, string |
{
"data": {
"id": 6,
"asset_folder_id": 3,
"name": "Contract V2",
"description": "12-month residential lease for Unit 4B, Green Valley Residences. Auto-renews annually unless cancelled 60 days before expiry.",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"reminder": {
"time": "2025-12-01 09:00:00",
"is_periodic": false,
"periodic_method": null
},
"value": "18000.00",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
"message": "Document updated successfully.",
"success": true
}
Delete AssetDoc
Delete a AssetDoc.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Document deleted successfully.",
"success": true
}
Restore AssetDoc
Restore deleted AssetDoc.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 10,
"asset_folder_id": 4,
"name": "Apartment Lease Agreement",
"description": "12-month residential lease for Unit 4B, Green Valley Residences. Auto-renews annually unless cancelled 60 days before expiry.",
"start_date": "2025-01-01",
"end_date": "2025-12-31",
"reminder": {
"time": "2025-12-01 09:00:00",
"is_periodic": false,
"periodic_method": null
},
"value": "18000.00",
"currency": "USD",
"photos": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"https:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-11-05"
},
"message": "Document restored successfully.",
"success": true
}
Permanently Delete AssetDoc
Force delete AssetDoc.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Document permanently deleted.",
"success": true
}
Create Faq
Create a new Faq.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| question | array | {"ar":"\u0633\u0624\u0627\u0644 \u062a\u062c\u0631\u064a\u0628\u064a 79722281","en":"Test question 79722281"} |
| answer | array | {"ar":"\u0625\u062c\u0627\u0628\u0629 \u062a\u062c\u0631\u064a\u0628\u064a\u0629","en":"Test answer"} |
| is_active | integer | 1 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| question.ar | required, ArabicLetters |
| question.en | required, EnglishLetters |
| answer.ar | optional, ArabicLetters |
| answer.en | optional, EnglishLetters |
| is_active | optional, true/false |
{
"data": {
"id": 3,
"question": "Test question 79722281",
"answer": "Test answer",
"translate": {
"question": {
"ar": "سؤال تجريبي 79722281",
"en": "Test question 79722281"
},
"answer": {
"ar": "إجابة تجريبية",
"en": "Test answer"
}
},
"is_active": true,
"created_at": "2026-11-05"
},
"message": "faq::faq.inserted",
"success": true
}
Get Faq List
Retrieve a list of Faq.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"question": "",
"answer": "",
"translate": {
"question": {
"ar": "",
"en": ""
},
"answer": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-11-05"
},
{
"id": 3,
"question": "Test question 79722281",
"answer": "Test answer",
"translate": {
"question": {
"ar": "سؤال تجريبي 79722281",
"en": "Test question 79722281"
},
"answer": {
"ar": "إجابة تجريبية",
"en": "Test answer"
}
},
"is_active": true,
"created_at": "2026-11-05"
}
],
"message": "faq::faq.retrieved",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 2,
"last_page": 1
},
"total_faqs": 2,
"active_faqs": 2,
"inactive_faqs": 0
}
Search FAQs
Search FAQs.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Query Parameters
| Field/Name | Type | Examples |
|---|---|---|
| search | string | test |
{
"data": [
{
"id": 3,
"question": "Test question 79722281",
"answer": "Test answer",
"translate": {
"question": {
"ar": "سؤال تجريبي 79722281",
"en": "Test question 79722281"
},
"answer": {
"ar": "إجابة تجريبية",
"en": "Test answer"
}
},
"is_active": true,
"created_at": "2026-11-05"
}
],
"message": "faq::faq.retrieved",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 1,
"last_page": 1
},
"total_faqs": 2,
"active_faqs": 2,
"inactive_faqs": 0
}
Get Faq Details
Retrieve Faq details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"question": "",
"answer": "",
"translate": {
"question": {
"ar": "",
"en": ""
},
"answer": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-11-05"
},
"message": "faq::faq.retrieved",
"success": true
}
Update Faq
Update an existing Faq.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| question | array | {"ar":"\u0633\u0624\u0627\u0644 \u062a\u062c\u0631\u064a\u0628\u064a 97182701","en":"Updated question 97182701"} |
| answer | array | {"ar":"\u0625\u062c\u0627\u0628\u0629 \u062a\u062c\u0631\u064a\u0628\u064a\u0629","en":"Test answer"} |
| is_active | integer | 1 |
| id | integer | 1 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| question.ar | optional, ArabicLetters |
| question.en | optional, EnglishLetters |
| answer.ar | optional, ArabicLetters |
| answer.en | optional, EnglishLetters |
| is_active | optional, true/false |
{
"data": {
"id": 1,
"question": "Updated question 97182701",
"answer": "Test answer",
"translate": {
"question": {
"ar": "سؤال تجريبي 97182701",
"en": "Updated question 97182701"
},
"answer": {
"ar": "إجابة تجريبية",
"en": "Test answer"
}
},
"is_active": true,
"created_at": "2026-11-05"
},
"message": "faq::faq.updated",
"success": true
}
Toggle Faq Status
Switch the Faq status between active and inactive.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"question": "Updated question 97182701",
"answer": "Test answer",
"translate": {
"question": {
"ar": "سؤال تجريبي 97182701",
"en": "Updated question 97182701"
},
"answer": {
"ar": "إجابة تجريبية",
"en": "Test answer"
}
},
"is_active": false,
"created_at": "2026-11-05"
},
"message": "faq::faq.updated",
"success": true
}
Delete Faq
Delete a Faq.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "faq::faq.deleted",
"success": true
}
Get Deleted Faq
List deleted Faq.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"question": "Updated question 97182701",
"answer": "Test answer",
"translate": {
"question": {
"ar": "سؤال تجريبي 97182701",
"en": "Updated question 97182701"
},
"answer": {
"ar": "إجابة تجريبية",
"en": "Test answer"
}
},
"is_active": false,
"created_at": "2026-11-05"
},
{
"id": 2,
"question": "",
"answer": "",
"translate": {
"question": {
"ar": "",
"en": ""
},
"answer": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-11-05"
},
{
"id": 4,
"question": "",
"answer": "",
"translate": {
"question": {
"ar": "",
"en": ""
},
"answer": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-11-05"
},
{
"id": 5,
"question": "",
"answer": "",
"translate": {
"question": {
"ar": "",
"en": ""
},
"answer": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-11-05"
}
],
"message": "faq::faq.retrieved",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 4,
"last_page": 1
},
"total_faqs": 1,
"active_faqs": 1,
"inactive_faqs": 0
}
Restore Faq
Restore deleted Faq.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "faq::faq.restored",
"success": true
}
Create Category
Create a new Category.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | array | {"ar":"\u062a\u0635\u0646\u064a\u0641 \u062a\u062c\u0631\u064a\u0628\u064a 97984757","en":"Test Category 97984757"} |
| description | array | {"ar":"\u0648\u0635\u0641 \u062a\u062c\u0631\u064a\u0628\u064a","en":"Test description"} |
| icon | string | icon-97984757.png |
| service_no | integer | 1 |
| valuers | integer | 10 |
| status | integer | 1 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name.ar | required, ArabicLetters |
| name.en | required, EnglishLetters |
| description.ar | optional, ArabicLetters |
| description.en | optional, EnglishLetters |
| icon | optional, string, max 255 |
| service_no | optional, integer |
| valuers | optional, integer |
| status | optional, true/false |
{
"data": {
"id": 3,
"name": "Test Category 97984757",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 97984757",
"en": "Test Category 97984757"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-97984757.png",
"status": true,
"service_no": 1,
"valuers": 10,
"created_at": "2026-11-05"
},
"message": "Data inserted successfully.",
"success": true
}
Get Category List
Retrieve a list of Category.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 1,
"name": "",
"description": "",
"translate": {
"name": {
"ar": "",
"en": ""
},
"description": {
"ar": "",
"en": ""
}
},
"icon": "test-icon.png",
"status": true,
"service_no": 1,
"valuers": 1,
"created_at": "2026-11-05"
},
{
"id": 3,
"name": "Test Category 97984757",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 97984757",
"en": "Test Category 97984757"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-97984757.png",
"status": true,
"service_no": 1,
"valuers": 10,
"created_at": "2026-11-05"
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 2,
"last_page": 1
}
}
Get Category Details
Retrieve Category details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 6,
"name": "Property",
"description": "Property",
"translate": {
"name": {
"ar": "عقارات",
"en": "Property"
},
"description": {
"ar": "عقارات",
"en": "Property"
}
},
"icon": "mobile-property-icon.png",
"status": true,
"service_no": 1,
"valuers": 1,
"created_at": "2026-11-05"
},
"message": "Data retrieved successfully.",
"success": true
}
Update Category
Update an existing Category.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | array | {"ar":"\u062a\u0635\u0646\u064a\u0641 \u062a\u062c\u0631\u064a\u0628\u064a 75319143","en":"Test Category 75319143"} |
| description | array | {"ar":"\u0648\u0635\u0641 \u062a\u062c\u0631\u064a\u0628\u064a","en":"Test description"} |
| icon | string | icon-upd-75319143.png |
| service_no | integer | 1 |
| valuers | integer | 10 |
| status | integer | 1 |
| id | integer | 6 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name.ar | required, ArabicLetters |
| name.en | required, EnglishLetters |
| description.ar | optional, ArabicLetters |
| description.en | optional, EnglishLetters |
| icon | optional, string, max 255 |
| service_no | optional, integer |
| valuers | optional, integer |
| status | optional, true/false |
{
"data": {
"id": 6,
"name": "Test Category 75319143",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 75319143",
"en": "Test Category 75319143"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-upd-75319143.png",
"status": true,
"service_no": 1,
"valuers": 10,
"created_at": "2026-11-05"
},
"message": "Data updated successfully.",
"success": true
}
Toggle Category Status
Switch the Category status between active and inactive.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 6,
"name": "Test Category 75319143",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 75319143",
"en": "Test Category 75319143"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-upd-75319143.png",
"status": false,
"service_no": 1,
"valuers": 10,
"created_at": "2026-11-05"
},
"message": "Data updated successfully.",
"success": true
}
Delete Category
Delete a Category.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data deleted successfully.",
"success": true
}
Get Deleted Category
List deleted Category.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 2,
"name": "",
"description": "",
"translate": {
"name": {
"ar": "",
"en": ""
},
"description": {
"ar": "",
"en": ""
}
},
"icon": "trashed-icon.png",
"status": true,
"service_no": 2,
"valuers": 2,
"created_at": "2026-11-05"
},
{
"id": 6,
"name": "Test Category 75319143",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 75319143",
"en": "Test Category 75319143"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-upd-75319143.png",
"status": false,
"service_no": 1,
"valuers": 10,
"created_at": "2026-11-05"
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 2,
"last_page": 1
}
}
Restore Category
Restore deleted Category.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data restored successfully.",
"success": true
}
Permanently Delete Category
Force delete Category.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data deleted successfully.",
"success": true
}
Create Static_page
Create a new Static_page.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | array | {"ar":"\u0635\u0641\u062d\u0629 \u062a\u062c\u0631\u064a\u0628\u064a\u0629 86180749","en":"Test Page 86180749"} |
| content | array | {"ar":"\u0645\u062d\u062a\u0648\u0649 \u062a\u062c\u0631\u064a\u0628\u064a","en":"Test content"} |
| type | string | police |
| is_active | integer | 1 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name.ar | required, ArabicLetters |
| name.en | required, EnglishLetters |
| content.ar | required |
| content.en | required |
| type | required, unique static_pages, enum: about_us, police, terms |
| is_active | optional, true/false |
{
"data": {
"id": 3,
"type": "police",
"name": "Test Page 86180749",
"content": "Test content",
"translate": {
"name": {
"ar": "صفحة تجريبية 86180749",
"en": "Test Page 86180749"
},
"content": {
"ar": "محتوى تجريبي",
"en": "Test content"
}
},
"is_active": true,
"created_at": "2026-11-05"
},
"message": "Data inserted successfully.",
"success": true
}
Get Static_page List
Retrieve a list of Static_page.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"type": "about_us",
"name": "",
"content": "",
"translate": {
"name": {
"ar": "",
"en": ""
},
"content": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-11-05"
},
"message": "Data retrieved successfully.",
"success": true
}
Get Static_page Details
Retrieve Static_page details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"type": "about_us",
"name": "",
"content": "",
"translate": {
"name": {
"ar": "",
"en": ""
},
"content": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-11-05"
},
"message": "Data retrieved successfully.",
"success": true
}
Update Static_page
Update an existing Static_page.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | array | {"ar":"\u0635\u0641\u062d\u0629 \u062a\u062c\u0631\u064a\u0628\u064a\u0629 37382905","en":"Updated Page 37382905"} |
| content | array | {"ar":"\u0645\u062d\u062a\u0648\u0649 \u062a\u062c\u0631\u064a\u0628\u064a","en":"Updated content"} |
| type | string | about_us |
| is_active | integer | 1 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name.ar | optional, ArabicLetters |
| name.en | optional, EnglishLetters |
| content.ar | optional |
| content.en | optional |
| type | optional, enum: about_us, police, terms, Unique |
| is_active | optional, true/false |
{
"data": {
"id": 1,
"type": "about_us",
"name": "Updated Page 37382905",
"content": "Updated content",
"translate": {
"name": {
"ar": "صفحة تجريبية 37382905",
"en": "Updated Page 37382905"
},
"content": {
"ar": "محتوى تجريبي",
"en": "Updated content"
}
},
"is_active": true,
"created_at": "2026-11-05"
},
"message": "Data updated successfully.",
"success": true
}
Toggle Static_page Status
Switch the Static_page status between active and inactive.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"type": "about_us",
"name": "Updated Page 37382905",
"content": "Updated content",
"translate": {
"name": {
"ar": "صفحة تجريبية 37382905",
"en": "Updated Page 37382905"
},
"content": {
"ar": "محتوى تجريبي",
"en": "Updated content"
}
},
"is_active": false,
"created_at": "2026-11-05"
},
"message": "Data updated successfully.",
"success": true
}
Permanently Delete Static_page
Force delete Static_page.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data deleted successfully.",
"success": true
}
Get Business-card-group List
Retrieve a list of Business-card-group.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Query Parameters
| Field/Name | Type | Examples |
|---|---|---|
| search | string | Work |
{
"data": [
{
"id": 1,
"name": "Work Contacts",
"active": true,
"created_at": "2026-11-05",
"contacts_count": 1,
"contacts": []
}
],
"message": "Groups retrieved successfully.",
"success": true
}
Create Business-card-group
Create a new Business-card-group.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Family |
| active | boolean | 1 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | required, string, max 255 |
| active | optional, true/false |
| contact_ids | optional, array |
| contact_ids[] | required, exists business_card_contacts,id |
{
"data": {
"id": 2,
"name": "Family",
"active": true,
"created_at": "2026-11-05",
"contacts_count": 0,
"contacts": []
},
"message": "Group created successfully.",
"success": true
}
Get Business-card-group Details
Retrieve Business-card-group details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 2,
"name": "Family",
"active": true,
"created_at": "2026-11-05",
"contacts_count": 1,
"contacts": [
{
"id": 2,
"group_ids": [
2
],
"name": "Ali Hassan",
"job_title": "Backend Developer",
"company": "Dev Studio",
"phone": "+966512345678",
"email": "ali.hassan@devstudio.com",
"website": "https:\/\/devstudio.com",
"front_image": null,
"back_image": null,
"notes": "Met at a conference",
"active": true,
"created_at": "2026-11-05"
}
]
},
"message": "Group retrieved successfully.",
"success": true
}
Update Business-card-group
Update an existing Business-card-group.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Updated Group Name |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name | required, string, max 255 |
| active | optional, true/false |
| contact_ids | optional, array |
| contact_ids[] | required, exists business_card_contacts,id |
{
"data": {
"id": 2,
"name": "Updated Group Name",
"active": true,
"created_at": "2026-11-05",
"contacts_count": 1,
"contacts": []
},
"message": "Group updated successfully.",
"success": true
}
Delete Business-card-group
Delete a Business-card-group.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Group deleted successfully.",
"success": true
}
Restore Business-card-group
Restore deleted Business-card-group.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"name": "Work Contacts",
"active": true,
"created_at": "2026-11-05",
"contacts_count": 1,
"contacts": []
},
"message": "Group restored successfully.",
"success": true
}
Permanently Delete Business-card-group
Force delete Business-card-group.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Group permanently deleted.",
"success": true
}
Get Business-card-contact List
Retrieve a list of Business-card-contact.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Query Parameters
| Field/Name | Type | Examples |
|---|---|---|
| search | string | Jane |
{
"data": [
{
"id": 1,
"group_ids": [
1
],
"name": "Jane Smith",
"job_title": "Software Engineer",
"company": "Tech Corp",
"phone": "+966501234567",
"email": "jane.smith@techcorp.com",
"website": "https:\/\/techcorp.com",
"front_image": null,
"back_image": null,
"notes": null,
"active": true,
"created_at": "2026-11-05"
}
],
"message": "Contacts retrieved successfully.",
"success": true,
"pagination": {
"per_page": 15,
"current_page": 1,
"total": 1,
"last_page": 1
},
"summary": {
"groups": [
{
"id": 1,
"name": "Work Contacts"
},
{
"id": 2,
"name": "Family"
}
]
}
}
Create Business-card-contact
Create a new Business-card-contact.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| group_ids | array | [2] |
| name | string | Ali Hassan |
| job_title | string | Backend Developer |
| company | string | Dev Studio |
| phone | string | +966512345678 |
| string | ali.hassan@devstudio.com | |
| website | string | https://devstudio.com |
| notes | string | Met at a conference |
| active | boolean | 1 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| group_ids | optional, array |
| group_ids[] | required, exists business_card_groups,id |
| group_id | optional, exists business_card_groups,id |
| name | required, string, max 255 |
| job_title | required, string, max 255 |
| company | required, string, max 255 |
| phone | required, string, max 20 |
| required, valid email, max 255 | |
| website | optional, valid URL, max 255 |
| front_image | optional, image, max 5120 KB (upload) |
| back_image | optional, image, max 5120 KB (upload) |
| notes | optional, string |
| active | optional, true/false |
{
"data": {
"id": 2,
"group_ids": [
2
],
"name": "Ali Hassan",
"job_title": "Backend Developer",
"company": "Dev Studio",
"phone": "+966512345678",
"email": "ali.hassan@devstudio.com",
"website": "https:\/\/devstudio.com",
"front_image": null,
"back_image": null,
"notes": "Met at a conference",
"active": true,
"created_at": "2026-11-05"
},
"message": "Contact created successfully.",
"success": true
}
Get Business-card-contact Details
Retrieve Business-card-contact details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 2,
"group_ids": [],
"name": "Ali Hassan",
"job_title": "Backend Developer",
"company": "Dev Studio",
"phone": "+966512345678",
"email": "ali.hassan@devstudio.com",
"website": "https:\/\/devstudio.com",
"front_image": null,
"back_image": null,
"notes": "Met at a conference",
"active": true,
"created_at": "2026-11-05"
},
"message": "Contact retrieved successfully.",
"success": true,
"summary": {
"groups": [
{
"id": 1,
"name": "Work Contacts"
}
]
}
}
Update Business-card-contact
Update an existing Business-card-contact.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Ali Updated |
| job_title | string | Senior Dev |
| company | string | Dev Studio |
| phone | string | +966512345678 |
| string | ali.hassan@devstudio.com |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| group_ids | optional, array |
| group_ids[] | required, exists business_card_groups,id |
| group_id | optional, exists business_card_groups,id |
| name | required, string, max 255 |
| job_title | required, string, max 255 |
| company | required, string, max 255 |
| phone | required, string, max 20 |
| required, valid email, max 255 | |
| website | optional, valid URL, max 255 |
| front_image | optional, image, max 5120 KB (upload) |
| back_image | optional, image, max 5120 KB (upload) |
| notes | optional, string |
| active | optional, true/false |
{
"data": {
"id": 2,
"group_ids": [],
"name": "Ali Updated",
"job_title": "Senior Dev",
"company": "Dev Studio",
"phone": "+966512345678",
"email": "ali.hassan@devstudio.com",
"website": "https:\/\/devstudio.com",
"front_image": null,
"back_image": null,
"notes": "Met at a conference",
"active": true,
"created_at": "2026-11-05"
},
"message": "Contact updated successfully.",
"success": true
}
Add Contact to Group
Add contact to a group without removing it from its other groups.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| group_id | integer | 1 |
{
"data": {
"id": 2,
"group_ids": [
1
],
"name": "Ali Updated",
"job_title": "Senior Dev",
"company": "Dev Studio",
"phone": "+966512345678",
"email": "ali.hassan@devstudio.com",
"website": "https:\/\/devstudio.com",
"front_image": null,
"back_image": null,
"notes": "Met at a conference",
"active": true,
"created_at": "2026-11-05"
},
"message": "Contact added to group successfully.",
"success": true
}
Delete Business-card-contact
Delete a Business-card-contact.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Contact deleted successfully.",
"success": true
}
Restore Business-card-contact
Restore deleted Business-card-contact.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"group_ids": [],
"name": "Jane Smith",
"job_title": "Software Engineer",
"company": "Tech Corp",
"phone": "+966501234567",
"email": "jane.smith@techcorp.com",
"website": "https:\/\/techcorp.com",
"front_image": null,
"back_image": null,
"notes": null,
"active": true,
"created_at": "2026-11-05"
},
"message": "Contact restored successfully.",
"success": true
}
Permanently Delete Business-card-contact
Force delete Business-card-contact.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Contact permanently deleted.",
"success": true
}
Get My-business-card List
Retrieve a list of My-business-card.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Query Parameters
| Field/Name | Type | Examples |
|---|---|---|
| name | string | John |
{
"data": [
{
"id": 1,
"name": "John Doe",
"job_title": "Product Manager",
"company": "QEEI",
"phone": "+966509876543",
"email": "john.doe@qeei.com",
"website": "https:\/\/qeei.com",
"photo": null,
"qr_code_value": "qr_code_value",
"field_name": [
"Extension",
"Fax"
],
"color": "#1A73E8",
"active": true,
"created_at": "2026-11-05"
}
],
"message": "Business cards retrieved successfully.",
"success": true
}
Create My-business-card
Create a new My-business-card.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | My New Card |
| job_title | string | CTO |
| company | string | QEEI |
| phone | string | +966509990000 |
| string | cto@qeei.com | |
| website | string | https://qeei.com |
| qr_code_value | string | sample_qr_value |
| field_name | array | ["Extension","Fax","WhatsApp"] |
| color | string | #E53935 |
| active | boolean | 1 |
{
"data": {
"id": 2,
"name": "My New Card",
"job_title": "CTO",
"company": "QEEI",
"phone": "+966509990000",
"email": "cto@qeei.com",
"website": "https:\/\/qeei.com",
"photo": null,
"qr_code_value": "sample_qr_value",
"field_name": [
"Extension",
"Fax",
"WhatsApp"
],
"color": "#E53935",
"active": true,
"created_at": "2026-11-05"
},
"message": "Business card created successfully.",
"success": true
}
Get My-business-card Details
Retrieve My-business-card details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 2,
"name": "My New Card",
"job_title": "CTO",
"company": "QEEI",
"phone": "+966509990000",
"email": "cto@qeei.com",
"website": "https:\/\/qeei.com",
"photo": null,
"qr_code_value": "sample_qr_value",
"field_name": [
"Extension",
"Fax",
"WhatsApp"
],
"color": "#E53935",
"active": true,
"created_at": "2026-11-05"
},
"message": "Business card retrieved successfully.",
"success": true
}
Update My-business-card
Update an existing My-business-card.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | string | Updated Card Name |
| job_title | string | CTO |
| company | string | QEEI |
| phone | string | +966509990000 |
| string | cto@qeei.com | |
| qr_code_value | string | sample_qr_value |
| field_name | array | ["Extension","Mobile"] |
| color | string | #43A047 |
{
"data": {
"id": 2,
"name": "Updated Card Name",
"job_title": "CTO",
"company": "QEEI",
"phone": "+966509990000",
"email": "cto@qeei.com",
"website": "https:\/\/qeei.com",
"photo": null,
"qr_code_value": "sample_qr_value",
"field_name": [
"Extension",
"Mobile"
],
"color": "#43A047",
"active": true,
"created_at": "2026-11-05"
},
"message": "Business card updated successfully.",
"success": true
}
Delete My-business-card
Delete a My-business-card.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Business card deleted successfully.",
"success": true
}
Restore My-business-card
Restore deleted My-business-card.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 1,
"name": "John Doe",
"job_title": "Product Manager",
"company": "QEEI",
"phone": "+966509876543",
"email": "john.doe@qeei.com",
"website": "https:\/\/qeei.com",
"photo": null,
"qr_code_value": "qr_code_value",
"field_name": [
"Extension",
"Fax"
],
"color": "#1A73E8",
"active": true,
"created_at": "2026-11-05"
},
"message": "Business card restored successfully.",
"success": true
}
Permanently Delete My-business-card
Force delete My-business-card.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Business card permanently deleted.",
"success": true
}
Create Manage plan
Create a new Manage plan.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | array | {"ar":"\u062e\u0637\u0629 59654538","en":"Plan 59654538"} |
| badge_label | array | {"ar":"\u0645\u0645\u064a\u0632","en":"Featured"} |
| description | array | {"ar":"\u0628\u0627\u0642\u0629 \u062a\u062c\u0631\u064a\u0628\u064a\u0629 \u0644\u0644\u0634\u0631\u0643\u0627\u062a","en":"Demo plan for companies"} |
| platform_type | string | user |
| monthly_price | integer | 100 |
| annual_price | integer | 1000 |
| annual_discount | double | 16.67 |
| currency | string | SAR |
| base_storage_gb | integer | 50 |
| max_team_members | integer | 10 |
| max_services | integer | 25 |
| basic_reports | boolean | 1 |
| bulk_requests | boolean | |
| advanced_analytics | boolean | 1 |
| api_integration | boolean | |
| priority_support | boolean | 1 |
| display_order | integer | 4 |
| is_recommended | boolean | 1 |
| color | string | #D97706 |
| is_active | integer | 1 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| name.ar | required, ArabicLetters |
| name.en | required, EnglishLetters |
| badge_label.ar | optional, ArabicLetters |
| badge_label.en | optional, EnglishLetters |
| description.ar | optional, string, max 1000 |
| description.en | optional, string, max 1000 |
| platform_type | required, allowed: user, valuer |
| monthly_price | required, number, min 0 |
| annual_price | required, number, min 0 |
| annual_discount | optional, number, between 0,100 |
| currency | optional, string, size |
| base_storage_gb | required, integer, min 0 |
| max_team_members | required, integer, min 0 |
| max_services | required, integer, min 0 |
| basic_reports | optional, true/false |
| bulk_requests | optional, true/false |
| advanced_analytics | optional, true/false |
| api_integration | optional, true/false |
| priority_support | optional, true/false |
| display_order | optional, integer, min 1, Unique |
| is_recommended | optional, true/false |
| color | optional, string, regex |
| is_active | optional, true/false |
{
"data": {
"id": 5,
"name": "Plan 59654538",
"badge_label": "Featured",
"description": "Demo plan for companies",
"platform_type": "valuer",
"monthly_price": "100.00",
"annual_price": "1000.00",
"annual_discount": "16.67",
"currency": "SAR",
"base_storage_gb": 50,
"max_team_members": 10,
"max_services": 25,
"capabilities": {
"basic_reports": true,
"bulk_requests": false,
"advanced_analytics": true,
"api_integration": false,
"priority_support": true
},
"display_order": 4,
"is_recommended": true,
"color": "#D97706",
"is_active": true,
"subscribers_count": 0,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": null,
"features": [],
"translate": {
"name": {
"ar": "خطة 59654538",
"en": "Plan 59654538"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"description": {
"ar": "باقة تجريبية للشركات",
"en": "Demo plan for companies"
}
}
},
"message": "Data inserted successfully.",
"success": true
}
Subscribe To Plan
Subscribe user to plan.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| X-Tenant | string | U/JU6/QqTwNMFQwwu++Jh5wykGa19yXnaPfLx2sXNX52lu6OJGQRq81Sg65yGcLP |
| X-Subdomain | string | default-admin-doc |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| plan_id | integer | 3 |
| billing_cycle | string | monthly |
{
"success": true,
"message": "Subscribed successfully. Your previous subscription has been cancelled.",
"data": {
"id": 17,
"subscribable_type": "Valuer",
"subscribable_id": 1,
"manage_plan_id": 3,
"status": "active",
"billing_cycle": "monthly",
"regular_price": "999.00",
"sale_price": null,
"sale_type": "fixed",
"last_payment": "2026-11-05T12:03:02.000000Z",
"starts_at": "2026-11-05T12:03:02.000000Z",
"ends_at": "2026-12-05T12:03:02.000000Z",
"remaining_days": null,
"is_active": true,
"plan": {
"id": 3,
"platform_type": "valuer",
"monthly_price": "999.00",
"annual_price": "9990.00",
"currency": "SAR",
"color": "#6C5DD3",
"is_active": true,
"base_storage_gb": 500,
"max_team_members": null,
"max_services": null,
"name": "Enterprise",
"badge_label": "Unlimited",
"description": "For large enterprises with unlimited limits and full integration."
}
}
}
Cancel Subscription
Cancel subscription.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| X-Tenant | string | U/JU6/QqTwNMFQwwu++Jh5wykGa19yXnaPfLx2sXNX52lu6OJGQRq81Sg65yGcLP |
| X-Subdomain | string | default-admin-doc |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| cancelled_reason | string | No longer needed |
{
"success": true,
"message": "Subscription cancelled successfully.",
"data": {
"id": 14,
"subscribable_type": "Valuer",
"subscribable_id": 1,
"manage_plan_id": 2,
"status": "cancelled",
"billing_cycle": "monthly",
"regular_price": "499.00",
"sale_price": null,
"sale_type": "fixed",
"last_payment": "2026-11-05T12:03:02.000000Z",
"starts_at": "2026-11-05T12:03:02.000000Z",
"ends_at": "2026-12-05T12:03:02.000000Z",
"remaining_days": null,
"is_active": false,
"cancelled_at": "2026-11-05T12:03:02.000000Z",
"cancelled_reason": "No longer needed",
"plan": {
"id": 2,
"platform_type": "valuer",
"monthly_price": "499.00",
"annual_price": "4990.00",
"currency": "SAR",
"color": "#059669",
"is_active": true,
"base_storage_gb": 100,
"max_team_members": 10,
"max_services": 50,
"name": "Business",
"badge_label": "Most popular",
"description": "For growing companies that need advanced reports and analytics."
}
}
}
Get Manage plan Details
Retrieve Manage plan details.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 5,
"name": "Plan 59654538",
"badge_label": "Featured",
"description": "Demo plan for companies",
"platform_type": "valuer",
"monthly_price": "100.00",
"annual_price": "1000.00",
"annual_discount": "16.67",
"currency": "SAR",
"base_storage_gb": 50,
"max_team_members": 10,
"max_services": 25,
"capabilities": {
"basic_reports": true,
"bulk_requests": false,
"advanced_analytics": true,
"api_integration": false,
"priority_support": true
},
"display_order": 4,
"is_recommended": true,
"color": "#D97706",
"is_active": true,
"subscribers_count": 0,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": null,
"features": [],
"translate": {
"name": {
"ar": "خطة 59654538",
"en": "Plan 59654538"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"description": {
"ar": "باقة تجريبية للشركات",
"en": "Demo plan for companies"
}
}
},
"message": "Plan retrieved successfully.",
"success": true
}
Update Manage plan
Update an existing Manage plan.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| name | array | {"ar":"\u062e\u0637\u0629 20977821","en":"Plan 20977821"} |
| badge_label | array | {"ar":"\u0645\u0645\u064a\u0632","en":"Featured"} |
| description | array | {"ar":"\u0628\u0627\u0642\u0629 \u062a\u062c\u0631\u064a\u0628\u064a\u0629 \u0644\u0644\u0634\u0631\u0643\u0627\u062a","en":"Demo plan for companies"} |
| platform_type | string | user |
| monthly_price | integer | 300 |
| annual_price | integer | 1000 |
| annual_discount | double | 16.67 |
| currency | string | SAR |
| base_storage_gb | integer | 50 |
| max_team_members | integer | 10 |
| max_services | integer | 25 |
| basic_reports | boolean | 1 |
| bulk_requests | boolean | |
| advanced_analytics | boolean | 1 |
| api_integration | boolean | |
| priority_support | boolean | 1 |
| display_order | integer | 4 |
| is_recommended | boolean | 1 |
| color | string | #D97706 |
| is_active | integer | 1 |
| id | integer | 5 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| id | required, exists manage_plans,id |
| confirm_impact | optional, true/false |
| expected_updated_at | optional, date (YYYY-MM-DD) |
| name.ar | optional, required, ArabicLetters |
| name.en | optional, required, EnglishLetters |
| badge_label.ar | optional, ArabicLetters |
| badge_label.en | optional, EnglishLetters |
| description.ar | optional, string, max 1000 |
| description.en | optional, string, max 1000 |
| platform_type | optional, required, allowed: user, valuer |
| monthly_price | optional, required, number, min 0 |
| annual_price | optional, number, min 0 |
| annual_discount | optional, number, between 0,100 |
| currency | optional, string, size |
| base_storage_gb | optional, integer, min 0 |
| max_team_members | optional, integer, min 0 |
| max_services | optional, integer, min 0 |
| basic_reports | optional, true/false |
| bulk_requests | optional, true/false |
| advanced_analytics | optional, true/false |
| api_integration | optional, true/false |
| priority_support | optional, true/false |
| display_order | optional, integer, min 1, Unique |
| is_recommended | optional, true/false |
| color | optional, string, regex |
| is_active | optional, true/false |
{
"data": {
"id": 5,
"name": "Plan 20977821",
"badge_label": "Featured",
"description": "Demo plan for companies",
"platform_type": "user",
"monthly_price": "300.00",
"annual_price": "1000.00",
"annual_discount": "16.67",
"currency": "SAR",
"base_storage_gb": 50,
"max_team_members": 10,
"max_services": 25,
"capabilities": {
"basic_reports": true,
"bulk_requests": false,
"advanced_analytics": true,
"api_integration": false,
"priority_support": true
},
"display_order": 4,
"is_recommended": true,
"color": "#D97706",
"is_active": true,
"subscribers_count": 0,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": null,
"features": [],
"translate": {
"name": {
"ar": "خطة 20977821",
"en": "Plan 20977821"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"description": {
"ar": "باقة تجريبية للشركات",
"en": "Demo plan for companies"
}
}
},
"message": "Data updated successfully.",
"success": true
}
Toggle Manage plan Status
Switch the Manage plan status between active and inactive.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 5,
"name": {
"ar": "خطة 20977821",
"en": "Plan 20977821"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"description": {
"ar": "باقة تجريبية للشركات",
"en": "Demo plan for companies"
},
"platform_type": "user",
"monthly_price": "300.00",
"annual_price": "1000.00",
"annual_discount": "16.67",
"currency": "SAR",
"base_storage_gb": 50,
"max_team_members": 10,
"max_services": 25,
"basic_reports": true,
"bulk_requests": false,
"advanced_analytics": true,
"api_integration": false,
"priority_support": true,
"display_order": 4,
"is_recommended": true,
"color": "#D97706",
"is_active": false,
"features": null,
"created_at": "2026-11-05T12:00:33.000000Z",
"renewal_date": null,
"remaining_days": null,
"is_subscribed": false,
"subscribers_count": 0
},
"message": "Subscription plan updated successfully.",
"success": true
}
Delete Manage plan
Delete a Manage plan.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [],
"message": "Data deleted successfully.",
"success": true
}
Restore Manage plan
Restore deleted Manage plan.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": {
"id": 5,
"name": {
"ar": "خطة 20977821",
"en": "Plan 20977821"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"description": {
"ar": "باقة تجريبية للشركات",
"en": "Demo plan for companies"
},
"platform_type": "user",
"monthly_price": "300.00",
"annual_price": "1000.00",
"annual_discount": "16.67",
"currency": "SAR",
"base_storage_gb": 50,
"max_team_members": 10,
"max_services": 25,
"basic_reports": true,
"bulk_requests": false,
"advanced_analytics": true,
"api_integration": false,
"priority_support": true,
"display_order": 4,
"is_recommended": true,
"color": "#D97706",
"is_active": false,
"features": null,
"created_at": "2026-11-05T12:00:33.000000Z",
"renewal_date": null,
"remaining_days": null,
"is_subscribed": false,
"subscribers_count": 0
},
"message": "Data updated successfully.",
"success": true
}
Get Deleted Manage Plan
List deleted manage plans.
Headers
| Field/Name | Type | Examples |
|---|---|---|
| Content-Type | string | application/json |
| X-API-Token | string | X-API-Token Key |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
{
"data": [
{
"id": 4,
"name": null,
"badge_label": null,
"description": null,
"platform_type": "user",
"monthly_price": "200.00",
"annual_price": "2000.00",
"annual_discount": null,
"currency": "SAR",
"base_storage_gb": null,
"max_team_members": null,
"max_services": null,
"capabilities": {
"basic_reports": false,
"bulk_requests": false,
"advanced_analytics": false,
"api_integration": false,
"priority_support": false
},
"display_order": 0,
"is_recommended": false,
"color": "#D97706",
"is_active": true,
"subscribers_count": 0,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": null,
"features": [],
"translate": {
"name": {
"ar": null,
"en": null
},
"badge_label": {
"ar": null,
"en": null
},
"description": {
"ar": null,
"en": null
}
}
},
{
"id": 5,
"name": "Plan 20977821",
"badge_label": "Featured",
"description": "Demo plan for companies",
"platform_type": "user",
"monthly_price": "300.00",
"annual_price": "1000.00",
"annual_discount": "16.67",
"currency": "SAR",
"base_storage_gb": 50,
"max_team_members": 10,
"max_services": 25,
"capabilities": {
"basic_reports": true,
"bulk_requests": false,
"advanced_analytics": true,
"api_integration": false,
"priority_support": true
},
"display_order": 4,
"is_recommended": true,
"color": "#D97706",
"is_active": false,
"subscribers_count": 0,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": null,
"features": [],
"translate": {
"name": {
"ar": "خطة 20977821",
"en": "Plan 20977821"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"description": {
"ar": "باقة تجريبية للشركات",
"en": "Demo plan for companies"
}
}
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 2,
"last_page": 1
},
"total_plans": 3,
"total_active_plans": 3,
"total_inactive_plans": 0,
"total_subscribers": 2
}