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": "7|yXo6XalWeRa7P4Nl03vGRddl5vuxWjUU6XZAj21S394bd465",
"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-09-03"
},
"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
Updates the user password using the provided OTP and temporary 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 |
|---|---|---|
| string | admin@base.com | |
| change_password_token | string | SJXwJKTiW6hxnFSn7i7IyScUUYpIQSCM9o5L4qmZBgcHlaNBzQKpe05QPKNrbPIw |
| password | string | NewP@ssw0rd123 |
| new_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
}
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": 2,
"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-09-03",
"token": "9|HO8rjMLcz2jorAyqX67Xh3WDCsLrcx3bpRulGacS243b7911",
"expires_in": null,
"token_type": "Bearer",
"last_login_at": "2026-09-03 14:33:33"
},
"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": 2,
"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-09-03",
"token": "8|P3qlAqnyvh0NhtgjrvwY5LTaAIJNIzoT8Whnod9ub755424e",
"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-09-03",
"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-09-03",
"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-09-03T14:33:29.000000Z",
"token": null,
"expires_in": null,
"token_type": "Bearer"
},
"token": "10|XduzaRYHzUAcEhenOFoDmJWWKY2I8uaaSd201nd0c2868f73",
"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": 1,
"type": "country",
"name_ar": "مصر",
"name_en": "Egypt",
"setting_id": null,
"is_active": true,
"code": "EG",
"phone_code": "20",
"phone_length": 11
},
{
"id": 2,
"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": 1,
"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": 1,
"type": "country",
"name_ar": "مصر",
"name_en": "Egypt",
"setting_id": null,
"is_active": true,
"code": "EG",
"phone_code": "20",
"phone_length": 11,
"cities": []
},
{
"id": 2,
"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": 1,
"type": "country",
"name_ar": "مصر",
"name_en": "Egypt",
"setting_id": null,
"is_active": true,
"code": "EG",
"phone_code": "20",
"phone_length": 11,
"cities": []
},
{
"id": 2,
"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-09-03T14:33:44.000000Z",
"created_at": "03-09-2026 14:33:44",
"id": 3
},
"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 | 1 |
{
"data": {
"id": 1,
"type": "country",
"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": "03-09-2026 14:33:30",
"updated_at": "2026-09-03T14:33:44.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": 1,
"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 | 1 |
{
"data": {
"name_ar": "أختبار مدينة",
"name_en": "Test City",
"type": "city",
"setting_id": 1,
"updated_at": "2026-09-03T14:33:45.000000Z",
"created_at": "03-09-2026 14:33:45",
"id": 4
},
"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-09-03T14:33:45.000000Z",
"created_at": "03-09-2026 14:33:45",
"id": 5
},
"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 2FYTGF |
| string | admin+2FytGf@gmail.com | |
| phone | string | 01118751165 |
| 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": 2,
"name": "Admin 2FYTGF",
"email": "admin+2FytGf@gmail.com",
"phone": "01118751165",
"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-09-03",
"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-09-03",
"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": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
}
],
"created_at": "2026-09-03",
"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-09-03",
"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-09-03",
"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": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
}
],
"created_at": "2026-09-03",
"last_login_at": "2026-09-03 02:33 PM"
},
{
"id": 2,
"name": "Admin 2FYTGF",
"email": "admin+2FytGf@gmail.com",
"phone": "01118751165",
"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-09-03",
"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-09-03",
"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": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
}
],
"created_at": "2026-09-03",
"last_login_at": null
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 2,
"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": 2,
"name": "Admin 2FYTGF",
"email": "admin+2FytGf@gmail.com",
"phone": "01118751165",
"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-09-03",
"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-09-03",
"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": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
}
],
"created_at": "2026-09-03",
"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 8SKSPW |
| string | admin_upd+8sKSPw@gmail.com | |
| phone | string | 01229807170 |
| 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 | 2 |
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": 2,
"name": "Admin Updated 8SKSPW",
"email": "admin_upd+8sKSPw@gmail.com",
"phone": "01229807170",
"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-09-03",
"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-09-03",
"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": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
}
],
"created_at": "2026-09-03",
"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": 2,
"name": "Admin Updated 8SKSPW",
"email": "admin_upd+8sKSPw@gmail.com",
"phone": "01229807170",
"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-09-03",
"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-09-03",
"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": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
}
],
"created_at": "2026-09-03",
"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": 2,
"name": "Admin Updated 8SKSPW",
"email": "admin_upd+8sKSPw@gmail.com",
"phone": "01229807170",
"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-09-03",
"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": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
}
],
"created_at": "2026-09-03",
"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": 2,
"name": "Admin Updated 8SKSPW",
"email": "admin_upd+8sKSPw@gmail.com",
"phone": "01229807170",
"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-09-03",
"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": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
}
],
"created_at": "2026-09-03",
"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-09-03",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default 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-09-03",
"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-09-03",
"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": "Default Role Description",
"ar": "وصف الدور التقليدى"
}
}
},
{
"id": 3,
"name": "Test Role",
"description": "Role description",
"permissions_count": 1,
"admins_count": 0,
"is_active": true,
"created_at": "2026-09-03",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default 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-09-03",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default 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-09-03",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default 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-09-03",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default 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-09-03",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default 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-09-03",
"permissions": [
{
"id": 71,
"title": "Fetch Data",
"name": "users_fetch",
"permission_id": 1,
"model_id": 1
}
],
"translate": {
"name": {
"en": "Test Role",
"ar": "دور تقليدى"
},
"description": {
"en": "Default 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-09-03",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
{
"id": 2,
"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-09-03",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": "2026-09-03 14:33:33"
}
],
"message": "Users retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 2,
"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": 13,
"name": "Mona Manager",
"email": "mona.manager@doc.example.com",
"phone": "500000020",
"country_code": "999",
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-09-03",
"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": 13,
"name": "Mona Manager",
"email": "mona.manager@doc.example.com",
"phone": "500000020",
"country_code": "999",
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": false,
"created_at": "2026-09-03",
"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": 3,
"name": "Trashed User",
"email": "trashed_doc@example.com",
"phone": "0509998887",
"country_code": null,
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": true,
"created_at": "2026-09-03",
"token": null,
"expires_in": null,
"token_type": "Bearer",
"last_login_at": null
},
{
"id": 13,
"name": "Mona Manager",
"email": "mona.manager@doc.example.com",
"phone": "500000020",
"country_code": "999",
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": false,
"created_at": "2026-09-03",
"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": 13,
"name": "Mona Manager",
"email": "mona.manager@doc.example.com",
"phone": "500000020",
"country_code": "999",
"avatar": null,
"postal_code": null,
"main_address": null,
"is_active": false,
"created_at": "2026-09-03",
"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-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:33:47.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-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:33:47.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, EnglishLetters, 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-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:33:47.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-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:33:49.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-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:33:49.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-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:36:36.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": 50,
"ending_balance": 4950,
"created_at": "2026-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:39:03.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-09-03",
"creation_time": "14:33",
"additional_date": null,
"photo": null,
"created_at": "2026-09-03T14:33:48.000000Z",
"updated_at": "2026-09-03T14:33:48.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-09-03 |
| 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-09-03",
"creation_time": "11:46",
"additional_date": null,
"photo": null,
"created_at": "2026-09-03T14:33:48.000000Z",
"updated_at": "2026-09-03T14:33:48.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": 2,
"budget_id": 1,
"type": "income",
"amount": 500,
"description": null,
"category": null,
"account": null,
"creation_date": "2026-09-03",
"creation_time": "14:33:00",
"additional_date": null,
"photo": null,
"created_at": "2026-09-03T14:33:48.000000Z",
"updated_at": "2026-09-03T14:33:48.000000Z"
},
{
"id": 3,
"budget_id": 1,
"type": "expense",
"amount": 50,
"description": "Buying milk and eggs",
"category": "Food",
"account": null,
"creation_date": "2026-09-03",
"creation_time": "11:46:00",
"additional_date": null,
"photo": null,
"created_at": "2026-09-03T14:33:48.000000Z",
"updated_at": "2026-09-03T14:33:48.000000Z"
},
{
"id": 1,
"budget_id": 1,
"type": "expense",
"amount": 50,
"description": "Initial Expense",
"category": "Food",
"account": null,
"creation_date": "2026-09-03",
"creation_time": null,
"additional_date": null,
"photo": null,
"created_at": "2026-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:33:47.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": 2,
"budget_id": 1,
"type": "income",
"amount": "500.00",
"description": null,
"category": null,
"account": null,
"creation_date": "2026-09-03",
"creation_time": "14:33:00",
"additional_date": null,
"photo": null,
"created_at": "2026-09-03T14:33:48.000000Z",
"updated_at": "2026-09-03T14:33:48.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": 2,
"budget_id": "1",
"type": "income",
"amount": 600,
"description": "Buying organic milk",
"category": null,
"account": null,
"creation_date": "2026-09-03",
"creation_time": "14:33:00",
"additional_date": null,
"photo": null,
"created_at": "2026-09-03T14:33:48.000000Z",
"updated_at": "2026-09-03T14:36:37.000000Z"
},
"updatedBudgetSummary": {
"totalAmount": 5100,
"totalExpenses": 50,
"endingBalance": 5050
}
},
"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-09-03T14:33:49.000000Z",
"updated_at": "2026-09-03T14:33:49.000000Z",
"user": {
"id": 4,
"name": "John Doe",
"email": "user2@demo.com",
"country_id": null,
"phone": "01211172289",
"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-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:33:47.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-09-03T14:33:49.000000Z",
"updated_at": "2026-09-03T14:33:49.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-09-03T14:33:29.000000Z",
"updated_at": "2026-09-03T14:33:35.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-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:33:49.000000Z",
"deleted_at": null,
"userRole": "owner"
},
"splits": [
{
"id": 1,
"budget_id": 1,
"user_id": 4,
"amount": "2500.00",
"percentage": "50.00",
"created_at": "2026-09-03T14:33:49.000000Z",
"updated_at": "2026-09-03T14:33:49.000000Z",
"user": {
"id": 4,
"name": "John Doe",
"email": "user2@demo.com",
"country_id": null,
"phone": "01211172289",
"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-09-03T14:33:47.000000Z",
"updated_at": "2026-09-03T14:33:47.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-09-03T14:33:49.000000Z",
"updated_at": "2026-09-03T14:33:49.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-09-03T14:33:29.000000Z",
"updated_at": "2026-09-03T14:33:35.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-09-05 |
| end_date | string | 2027-03-05 |
| 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": 4,
"name": "Monthly Savings",
"circle_code": "jiN8Vw5MFn",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "2000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-09-05T00:00:00.000000Z",
"end_date": "2027-03-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": [
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": 7,
"user_id": 5,
"name": "Circle Owner",
"role": "manager"
},
"thisMonthReceiver": {
"member_id": 7,
"name": "Circle Owner",
"profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"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": "DOCIKEEQ",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-09-04T00:00:00.000000Z",
"end_date": "2027-03-03T00: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": "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": null,
"contributors": 4,
"total_turns": 6,
"taken_turns": 4,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"role": "manager"
},
"thisMonthReceiver": {
"member_id": 1,
"name": "Circle Owner",
"profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"collector_member_id": null
},
{
"id": 2,
"name": "Disposable Circle eyVb",
"circle_code": "DSPYBRDY",
"creator_id": 5,
"total_amount": "6000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-09-04T00:00:00.000000Z",
"end_date": "2027-03-03T00: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": "Sep, 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",
"role": "manager"
},
"thisMonthReceiver": null,
"collector_member_id": null
},
{
"id": 3,
"name": "Invite Circle",
"circle_code": "INV3QUOU",
"creator_id": 5,
"total_amount": "6000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-09-04T00:00:00.000000Z",
"end_date": "2027-03-03T00: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": "Sep, 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": "Monthly Savings",
"circle_code": "jiN8Vw5MFn",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "2000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-09-05T00:00:00.000000Z",
"end_date": "2027-03-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": [
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": 7,
"user_id": 5,
"name": "Circle Owner",
"role": "manager"
},
"thisMonthReceiver": {
"member_id": 7,
"name": "Circle Owner",
"profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"collector_member_id": null
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 4,
"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": "DOCIKEEQ",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-09-04T00:00:00.000000Z",
"end_date": "2027-03-03T00: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": "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": null,
"contributors": 4,
"total_turns": 6,
"taken_turns": 4,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"role": "manager"
},
"thisMonthReceiver": {
"member_id": 1,
"name": "Circle Owner",
"profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"collector_member_id": null
},
"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": 1,
"name": "Updated Documentation Circle",
"circle_code": "DOCIKEEQ",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-09-04T00:00:00.000000Z",
"end_date": "2027-03-03T00: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": "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": null,
"contributors": 4,
"total_turns": 6,
"taken_turns": 4,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"role": "manager"
},
"thisMonthReceiver": {
"member_id": 1,
"name": "Circle Owner",
"profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"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": 1,
"name": "Updated Documentation Circle",
"circle_code": "DOCIKEEQ",
"creator_id": 5,
"total_amount": "12000.00",
"monthly_amount": "1000.00",
"currency": "SAR",
"duration_months": 6,
"start_date": "2026-09-04T00:00:00.000000Z",
"end_date": "2027-03-03T00: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": "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": "Sep, 2026",
"contributors": 4,
"total_turns": 6,
"taken_turns": 4,
"myRole": "manager",
"createdBy": {
"id": 5,
"name": "Circle Owner"
},
"managedBy": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"role": "manager"
},
"thisMonthReceiver": {
"member_id": 1,
"name": "Circle Owner",
"profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"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 | DOCIKEEQ |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| circle_code | required, string, exists circles,circle_code |
{
"data": {
"id": 11,
"circle_id": 1,
"requester_name": "Circle Joiner",
"type": "join",
"status": "pending",
"details": {
"user_id": 8
},
"created_at": "2026-09-03T14:34:36.000000Z",
"user_id": 8,
"requester_avatar": null
},
"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-09-03T14:34:30.000000Z",
"responded_at": null,
"expires_at": null,
"note": null,
"is_active": true,
"circle": {
"id": 1,
"name": "Documentation Circle",
"circle_code": "DOCIKEEQ",
"currency": "SAR",
"contributors": 4,
"total_amount": "12000.00",
"circle_duration": 6,
"monthly_payment": "1000.00",
"start_date": "2026-09-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": "http:\/\/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": 5,
"circle_id": 3,
"invited_user_id": 10,
"invited_by_id": 5,
"status": "pending",
"invited_at": "2026-09-03T14:38:02.000000Z",
"responded_at": null,
"expires_at": null,
"note": "Please join my circle.",
"is_active": true,
"circle": {
"id": 3,
"name": "Invite Circle",
"circle_code": "INV3QUOU",
"currency": "SAR",
"contributors": 0,
"total_amount": "6000.00",
"circle_duration": 6,
"monthly_payment": "1000.00",
"start_date": "2026-09-04T00: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": "http:\/\/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": 3,
"circle_id": 14,
"invited_user_id": 6,
"invited_by_id": 5,
"email": null,
"phone": null,
"status": "accepted",
"invited_at": "2026-09-03T14:38:01.000000Z",
"responded_at": "2026-09-03T14:38:02.000000Z",
"expires_at": null,
"note": null,
"is_active": true,
"deleted_at": null,
"created_at": "2026-09-03T14:38:01.000000Z",
"updated_at": "2026-09-03T14:38:02.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": [
{
"id": 1,
"circle_id": 1,
"user_id": 5,
"role": "manager",
"is_manager": true,
"is_collector": false,
"is_admin": false,
"is_frozen": false,
"member_name": "Circle Owner",
"seats": [],
"turns": [
{
"id": 1,
"turn_number": 1,
"month_year": "2026-09-03",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg",
"monthly": 1000,
"next_payment": "2026-10-01",
"member_id": 1,
"member_role": "manager",
"member_phone_number": "999500000001"
},
{
"id": 2,
"circle_id": 1,
"user_id": 11,
"role": "member",
"is_manager": false,
"is_collector": false,
"is_admin": false,
"is_frozen": false,
"member_name": "Circle Member",
"seats": [],
"turns": [
{
"id": 2,
"turn_number": 2,
"month_year": "2026-10-03",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg",
"monthly": 1000,
"next_payment": "2026-09-01",
"member_id": 2,
"member_role": "member",
"member_phone_number": "999500000007"
},
{
"id": 3,
"circle_id": 1,
"user_id": 13,
"role": "member",
"is_manager": false,
"is_collector": false,
"is_admin": false,
"is_frozen": false,
"member_name": "Mona Manager",
"seats": [],
"turns": [
{
"id": 3,
"turn_number": 3,
"month_year": "2026-11-03",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": null,
"monthly": 1000,
"next_payment": "2026-09-01",
"member_id": 3,
"member_role": "member",
"member_phone_number": "999500000020"
},
{
"id": 4,
"circle_id": 1,
"user_id": 12,
"role": "member",
"is_manager": false,
"is_collector": false,
"is_admin": false,
"is_frozen": false,
"member_name": "Circle Payer",
"seats": [],
"turns": [
{
"id": 4,
"turn_number": 4,
"month_year": "2026-12-03",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": null,
"monthly": 1000,
"next_payment": "2026-09-01",
"member_id": 4,
"member_role": "member",
"member_phone_number": "999500000008"
}
],
"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 |
|---|---|---|
| phone_number | string | 500000005 |
| is_manager | boolean |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| phone_number | required, string, exists users,phone |
| notes | optional, string |
| is_manager | optional, true/false |
{
"data": {
"id": 10,
"circle_id": "1",
"user_id": 9,
"role": "member",
"is_manager": false,
"is_collector": null,
"is_admin": null,
"is_frozen": null,
"member_name": "Add Target",
"seats": [
1
],
"turns": [
{
"id": 5,
"turn_number": 5,
"month_year": "2027-01-03",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": null,
"monthly": 1000,
"next_payment": "2026-09-01",
"member_id": 10,
"member_role": "member",
"member_phone_number": "999500000005"
},
"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": 19,
"circle_id": 14,
"user_id": 11,
"role": "manager",
"is_manager": true,
"is_collector": false,
"is_admin": false,
"is_frozen": true,
"member_name": "Circle Member",
"seats": [],
"turns": [
{
"id": 14,
"turn_number": 2,
"month_year": "2026-10-03",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg",
"monthly": 1000,
"next_payment": "2026-09-01",
"member_id": 19,
"member_role": "manager",
"member_phone_number": "999500000007"
},
"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": 19,
"circle_id": 14,
"user_id": 11,
"role": "manager",
"is_manager": true,
"is_collector": false,
"is_admin": false,
"is_frozen": false,
"member_name": "Circle Member",
"seats": [],
"turns": [
{
"id": 14,
"turn_number": 2,
"month_year": "2026-10-03",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"assigned_to_turn": true,
"member_profile_image": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg",
"monthly": 1000,
"next_payment": "2026-09-01",
"member_id": 19,
"member_role": "manager",
"member_phone_number": "999500000007"
},
"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
}
Get Seat List
List seats
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,
"member_id": null,
"seat_number": 2,
"month_year": "2026-10-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 3,
"circle_id": 1,
"member_id": null,
"seat_number": 3,
"month_year": "2026-11-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 4,
"circle_id": 1,
"member_id": null,
"seat_number": 4,
"month_year": "2026-12-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 5,
"circle_id": 1,
"member_id": null,
"seat_number": 5,
"month_year": "2027-01-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 6,
"circle_id": 1,
"member_id": null,
"seat_number": 6,
"month_year": "2027-02-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 7,
"circle_id": 4,
"member_id": 7,
"seat_number": 1,
"month_year": "2026-09-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 8,
"circle_id": 4,
"member_id": null,
"seat_number": 2,
"month_year": "2026-10-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 9,
"circle_id": 4,
"member_id": null,
"seat_number": 3,
"month_year": "2026-11-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 10,
"circle_id": 4,
"member_id": null,
"seat_number": 4,
"month_year": "2026-12-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 11,
"circle_id": 4,
"member_id": null,
"seat_number": 5,
"month_year": "2027-01-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 12,
"circle_id": 4,
"member_id": null,
"seat_number": 6,
"month_year": "2027-02-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"message": "Seats timeline retrieved successfully.",
"success": true,
"pagination": {
"per_page": 15,
"current_page": 1,
"total": 11,
"last_page": 1
}
}
Available Seats
Available seats
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,
"member_id": null,
"seat_number": 2,
"month_year": "2026-10-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 3,
"circle_id": 1,
"member_id": null,
"seat_number": 3,
"month_year": "2026-11-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 4,
"circle_id": 1,
"member_id": null,
"seat_number": 4,
"month_year": "2026-12-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 5,
"circle_id": 1,
"member_id": null,
"seat_number": 5,
"month_year": "2027-01-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 6,
"circle_id": 1,
"member_id": null,
"seat_number": 6,
"month_year": "2027-02-03T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 7,
"circle_id": 4,
"member_id": 7,
"seat_number": 1,
"month_year": "2026-09-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 8,
"circle_id": 4,
"member_id": null,
"seat_number": 2,
"month_year": "2026-10-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 9,
"circle_id": 4,
"member_id": null,
"seat_number": 3,
"month_year": "2026-11-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 10,
"circle_id": 4,
"member_id": null,
"seat_number": 4,
"month_year": "2026-12-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 11,
"circle_id": 4,
"member_id": null,
"seat_number": 5,
"month_year": "2027-01-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
},
{
"id": 12,
"circle_id": 4,
"member_id": null,
"seat_number": 6,
"month_year": "2027-02-05T00:00:00.000000Z",
"status": "upcoming",
"payout_amount": "12000.00"
}
],
"message": "Available seats retrieved successfully.",
"success": true,
"pagination": {
"per_page": 15,
"current_page": 1,
"total": 11,
"last_page": 1
}
}
Assign Seat
Assign seat
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 |
|---|---|---|
| member_id | integer | 18 |
| seat_numbers | array | [1] |
{
"data": [
{
"id": 13,
"circle_id": 14,
"member_id": 18,
"seat_number": 1,
"month_year": "2026-09-03T00:00:00.000000Z",
"status": "current",
"payout_amount": "12000.00"
}
],
"message": "Seat assigned successfully.",
"success": true
}
Swap Request
Swap 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": [],
"message": "Swap request handled 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": {
"seat_id": 2,
"seat_number": 2,
"month_year": "2026-10-03T00:00:00.000000Z",
"payout_method": "central_pot",
"receiver_member_id": 1,
"receiver_user_id": 5,
"payout_amount": "12000.00"
},
"message": "Current receiver 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": 3,
"circle_id": 1,
"seat_id": 2,
"payer_member_id": 2,
"amount": "1000.00",
"due_date": "2026-09-10T00: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."
},
{
"id": 4,
"circle_id": 1,
"seat_id": 2,
"payer_member_id": 2,
"amount": "1000.00",
"due_date": "2026-09-17T00: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."
}
],
"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": 5,
"circle_id": 14,
"seat_id": 13,
"payer_member_id": 19,
"amount": "1000.00",
"due_date": "2026-09-10T00:00:00.000000Z",
"paid_at": "2026-09-03T14:38:15.000000Z",
"status": "paid",
"proof_image_url": null,
"confirmed_by": 5,
"late_fee_applied": "0.00",
"description": "Monthly contribution for cycle 1."
},
"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": 6,
"circle_id": 14,
"seat_id": 13,
"payer_member_id": 19,
"amount": "1000.00",
"due_date": "2026-09-17T00: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."
},
"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": 11,
"circle_id": 1,
"requester_name": "Circle Joiner",
"type": "join",
"status": "pending",
"details": {
"user_id": 8
},
"created_at": "2026-09-03T14:34:36.000000Z",
"user_id": 8,
"requester_avatar": null
},
{
"id": 27,
"circle_id": 1,
"requester_member_id": 2,
"requester_name": "Circle Member",
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "media\/avatars\/member-selim.jpg",
"avatar_url": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"requester_avatar": "http:\/\/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-09-03T14:34:56.000000Z",
"user_id": null
},
{
"id": 28,
"circle_id": 1,
"requester_member_id": 2,
"requester_name": "Circle Member",
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "media\/avatars\/member-selim.jpg",
"avatar_url": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"requester_avatar": "http:\/\/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-09-03T14:34:56.000000Z",
"user_id": null
},
{
"id": 29,
"circle_id": 1,
"requester_member_id": 1,
"requester_name": "Circle Owner",
"requester_details": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "media\/avatars\/circle-owner.jpg",
"avatar_url": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"requester_avatar": "http:\/\/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-09-03T14:34:56.000000Z",
"user_id": null
},
{
"id": 30,
"circle_id": 1,
"requester_member_id": 2,
"requester_name": "Circle Member",
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "media\/avatars\/member-selim.jpg",
"avatar_url": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"requester_avatar": "http:\/\/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-09-03T14:34:56.000000Z",
"user_id": null
},
{
"id": 31,
"circle_id": 1,
"requester_member_id": 2,
"requester_name": "Circle Member",
"requester_details": {
"member_id": 2,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "media\/avatars\/member-selim.jpg",
"avatar_url": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"requester_avatar": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg",
"type": "create_group",
"status": "pending",
"details": {
"group_name": "Family Circle",
"target_turn": 5,
"add_members": [
5,
11
],
"message": "Grouping close relatives into a private sub-circle."
},
"created_at": "2026-09-03T14:34:56.000000Z",
"group_name": "Family Circle",
"group_members": [
{
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "media\/avatars\/circle-owner.jpg",
"avatar_url": "http:\/\/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": "media\/avatars\/member-selim.jpg",
"avatar_url": "http:\/\/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
}
}
Create Request
Create 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 |
|---|---|---|
| type | string | create_group |
| details | array | {"group_name":"Family Circle","target_turn":5,"message":"Grouping close relatives into a private sub-circle."} |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| type | required, allowed: join, swap, extra_turn, create_group |
| details | required, array |
| details.reason | optional, string, max 1000 |
| details.from_turn | required if type = swap, integer, Exists |
| details.to_turn | required if type = swap, integer, Exists |
| details.message | optional, string, max 1000 |
| details.current_turn | required if type = extra_turn, integer, Exists |
| details.to_turns | required if type = extra_turn, array, min 1 |
| details.to_turns[] | required, integer, Exists |
| details.group_name | required if type = create_group, string, max 255 |
| details.target_turn | required if type = create_group, integer, Exists |
| details.add_members | optional, array |
| details.add_members[] | required, integer, exists users,id |
{
"data": {
"id": 32,
"circle_id": "1",
"requester_member_id": 1,
"requester_name": "Circle Owner",
"requester_details": {
"member_id": 1,
"user_id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "media\/avatars\/circle-owner.jpg",
"avatar_url": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"requester_avatar": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg",
"type": "create_group",
"status": "pending",
"details": {
"message": "Grouping close relatives into a private sub-circle.",
"group_name": "Family Circle",
"target_turn": 5
},
"created_at": "2026-09-03T14:34:56.000000Z",
"group_name": "Family Circle",
"user_id": 5
},
"message": "Create Group request created successfully.",
"success": true
}
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": 76,
"circle_id": 14,
"requester_member_id": 25,
"requester_name": "Circle Member",
"requester_details": {
"member_id": 25,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "media\/avatars\/member-selim.jpg",
"avatar_url": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"requester_avatar": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg",
"type": "swap",
"status": "approved",
"details": {
"from_turn": 15,
"to_turn": 17,
"reason": "Travel commitments — need a later payout month."
},
"admin_response_message": "Approved.",
"resolved_at": "2026-09-03T14:38:20.000000Z",
"created_at": "2026-09-03T14:38:19.000000Z",
"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": 77,
"circle_id": 14,
"requester_member_id": 25,
"requester_name": "Circle Member",
"requester_details": {
"member_id": 25,
"user_id": 11,
"name": "Circle Member",
"email": "circle.member@demo.com",
"avatar": "media\/avatars\/member-selim.jpg",
"avatar_url": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg"
},
"requester_avatar": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/member-selim.jpg",
"type": "swap",
"status": "declined",
"details": {
"from_turn": 14,
"to_turn": 16,
"reason": "Swap no longer needed — declining this one."
},
"admin_response_message": "Declined.",
"resolved_at": "2026-09-03T14:38:20.000000Z",
"created_at": "2026-09-03T14:38:19.000000Z",
"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": 78,
"circle_id": 14,
"requester_member_id": 18,
"requester_name": "Circle Owner",
"requester_details": {
"member_id": 18,
"user_id": 5,
"name": "Circle Owner",
"email": "circle.owner@demo.com",
"avatar": "media\/avatars\/circle-owner.jpg",
"avatar_url": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg"
},
"requester_avatar": "http:\/\/127.0.0.1:8000\/storage\/media\/avatars\/circle-owner.jpg",
"type": "swap",
"status": "cancelled",
"details": {
"from_turn": 16,
"to_turn": 18,
"reason": "Changed my mind — removing this one."
},
"resolved_at": "2026-09-03T14:38:20.000000Z",
"created_at": "2026-09-03T14:38:19.000000Z",
"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": "http:\/\/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-09-03"
}
],
"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-09-03",
"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": "http:\/\/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-09-03",
"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": 30,
"value": "18000.00",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
{
"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": 14,
"value": "1250.50",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-card.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-policy.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
{
"id": 3,
"asset_folder_id": 1,
"name": "Passport",
"description": "Primary international travel document. Renewal reminder set 90 days before expiry.",
"start_date": "2021-06-01",
"end_date": "2031-05-31",
"reminder": 90,
"value": null,
"currency": null,
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2021\/passport-photo-page.jpg"
],
"documents": [],
"active": true,
"created_at": "2026-09-03"
},
{
"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": 21,
"value": "3600.00",
"currency": "USD",
"photos": [],
"documents": [],
"active": true,
"created_at": "2026-09-03"
},
{
"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": 30,
"value": "18000.00",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-09-03"
}
]
},
"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": "http:\/\/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-09-03",
"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": 30,
"value": "18000.00",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
{
"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": 14,
"value": "1250.50",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-card.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-policy.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
{
"id": 3,
"asset_folder_id": 1,
"name": "Passport",
"description": "Primary international travel document. Renewal reminder set 90 days before expiry.",
"start_date": "2021-06-01",
"end_date": "2031-05-31",
"reminder": 90,
"value": null,
"currency": null,
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2021\/passport-photo-page.jpg"
],
"documents": [],
"active": true,
"created_at": "2026-09-03"
},
{
"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": 21,
"value": "3600.00",
"currency": "USD",
"photos": [],
"documents": [],
"active": true,
"created_at": "2026-09-03"
},
{
"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": 30,
"value": "18000.00",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-09-03"
}
]
},
"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": "http:\/\/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-09-03",
"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": 14,
"value": "1250.50",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-card.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-policy.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
{
"id": 8,
"asset_folder_id": 3,
"name": "Passport",
"description": "Primary international travel document. Renewal reminder set 90 days before expiry.",
"start_date": "2021-06-01",
"end_date": "2031-05-31",
"reminder": 90,
"value": null,
"currency": null,
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2021\/passport-photo-page.jpg"
],
"documents": [],
"active": true,
"created_at": "2026-09-03"
},
{
"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": 30,
"value": "18000.00",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-09-03"
}
]
},
"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": 30,
"value": "18000.00",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
{
"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": 14,
"value": "1250.50",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-card.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/car-insurance-policy.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
{
"id": 3,
"asset_folder_id": 1,
"name": "Passport",
"description": "Primary international travel document. Renewal reminder set 90 days before expiry.",
"start_date": "2021-06-01",
"end_date": "2031-05-31",
"reminder": 90,
"value": null,
"currency": null,
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2021\/passport-photo-page.jpg"
],
"documents": [],
"active": true,
"created_at": "2026-09-03"
}
],
"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 | integer | 21 |
| 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, EnglishLetters |
| description | optional, string |
| start_date | optional, date (YYYY-MM-DD) |
| end_date | optional, date (YYYY-MM-DD), on or after start_date |
| reminder | optional, integer, min 0 |
| 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": 21,
"value": "3600.00",
"currency": "USD",
"photos": [],
"documents": [],
"active": true,
"created_at": "2026-09-03"
},
"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": 30,
"value": "18000.00",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
"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 |
| 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, EnglishLetters |
| description | optional, string |
| start_date | optional, date (YYYY-MM-DD) |
| end_date | optional, date (YYYY-MM-DD), on or after start_date |
| reminder | optional, integer, min 0 |
| 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": 30,
"value": "18000.00",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
"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": 30,
"value": "18000.00",
"currency": "USD",
"photos": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-front.jpg",
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-signature-page.jpg"
],
"documents": [
"http:\/\/127.0.0.1:8000\/storage\/media\/asset-docs\/2025\/apartment-lease-agreement.pdf"
],
"active": true,
"created_at": "2026-09-03"
},
"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
}
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-09-03"
},
"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 63032806","en":"Updated question 63032806"} |
| 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 63032806",
"answer": "Test answer",
"translate": {
"question": {
"ar": "سؤال تجريبي 63032806",
"en": "Updated question 63032806"
},
"answer": {
"ar": "إجابة تجريبية",
"en": "Test answer"
}
},
"is_active": true,
"created_at": "2026-09-03"
},
"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 63032806",
"answer": "Test answer",
"translate": {
"question": {
"ar": "سؤال تجريبي 63032806",
"en": "Updated question 63032806"
},
"answer": {
"ar": "إجابة تجريبية",
"en": "Test answer"
}
},
"is_active": false,
"created_at": "2026-09-03"
},
"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 63032806",
"answer": "Test answer",
"translate": {
"question": {
"ar": "سؤال تجريبي 63032806",
"en": "Updated question 63032806"
},
"answer": {
"ar": "إجابة تجريبية",
"en": "Test answer"
}
},
"is_active": false,
"created_at": "2026-09-03"
},
{
"id": 2,
"question": "",
"answer": "",
"translate": {
"question": {
"ar": "",
"en": ""
},
"answer": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-09-03"
},
{
"id": 4,
"question": "",
"answer": "",
"translate": {
"question": {
"ar": "",
"en": ""
},
"answer": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-09-03"
},
{
"id": 5,
"question": "",
"answer": "",
"translate": {
"question": {
"ar": "",
"en": ""
},
"answer": {
"ar": "",
"en": ""
}
},
"is_active": true,
"created_at": "2026-09-03"
}
],
"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 19682223","en":"Test Category 19682223"} |
| description | array | {"ar":"\u0648\u0635\u0641 \u062a\u062c\u0631\u064a\u0628\u064a","en":"Test description"} |
| icon | string | icon-19682223.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 19682223",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 19682223",
"en": "Test Category 19682223"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-19682223.png",
"status": true,
"service_no": 1,
"valuers": 10,
"created_at": "2026-09-03"
},
"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-09-03"
},
{
"id": 3,
"name": "Test Category 19682223",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 19682223",
"en": "Test Category 19682223"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-19682223.png",
"status": true,
"service_no": 1,
"valuers": 10,
"created_at": "2026-09-03"
}
],
"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": 1,
"name": "",
"description": "",
"translate": {
"name": {
"ar": "",
"en": ""
},
"description": {
"ar": "",
"en": ""
}
},
"icon": "test-icon.png",
"status": true,
"service_no": 1,
"valuers": 1,
"created_at": "2026-09-03"
},
"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 74811478","en":"Test Category 74811478"} |
| description | array | {"ar":"\u0648\u0635\u0641 \u062a\u062c\u0631\u064a\u0628\u064a","en":"Test description"} |
| icon | string | icon-upd-74811478.png |
| service_no | integer | 1 |
| valuers | integer | 10 |
| status | integer | 1 |
| id | 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": 1,
"name": "Test Category 74811478",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 74811478",
"en": "Test Category 74811478"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-upd-74811478.png",
"status": true,
"service_no": 1,
"valuers": 10,
"created_at": "2026-09-03"
},
"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": 1,
"name": "Test Category 74811478",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 74811478",
"en": "Test Category 74811478"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-upd-74811478.png",
"status": false,
"service_no": 1,
"valuers": 10,
"created_at": "2026-09-03"
},
"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": 1,
"name": "Test Category 74811478",
"description": "Test description",
"translate": {
"name": {
"ar": "تصنيف تجريبي 74811478",
"en": "Test Category 74811478"
},
"description": {
"ar": "وصف تجريبي",
"en": "Test description"
}
},
"icon": "icon-upd-74811478.png",
"status": false,
"service_no": 1,
"valuers": 10,
"created_at": "2026-09-03"
},
{
"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-09-03"
}
],
"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 22434212","en":"Test Page 22434212"} |
| 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, ArabicLetters |
| content.en | required, EnglishLetters |
| type | required, unique static_pages, enum: about_us, police, terms |
| is_active | optional, true/false |
{
"data": {
"id": 3,
"type": "police",
"name": "Test Page 22434212",
"content": "Test content",
"translate": {
"name": {
"ar": "صفحة تجريبية 22434212",
"en": "Test Page 22434212"
},
"content": {
"ar": "محتوى تجريبي",
"en": "Test content"
}
},
"is_active": true,
"created_at": "2026-09-03"
},
"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-09-03"
},
"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-09-03"
},
"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 44306634","en":"Updated Page 44306634"} |
| 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, ArabicLetters |
| content.en | optional, EnglishLetters |
| type | optional, enum: about_us, police, terms, Unique |
| is_active | optional, true/false |
{
"data": {
"id": 1,
"type": "about_us",
"name": "Updated Page 44306634",
"content": "Updated content",
"translate": {
"name": {
"ar": "صفحة تجريبية 44306634",
"en": "Updated Page 44306634"
},
"content": {
"ar": "محتوى تجريبي",
"en": "Updated content"
}
},
"is_active": true,
"created_at": "2026-09-03"
},
"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 44306634",
"content": "Updated content",
"translate": {
"name": {
"ar": "صفحة تجريبية 44306634",
"en": "Updated Page 44306634"
},
"content": {
"ar": "محتوى تجريبي",
"en": "Updated content"
}
},
"is_active": false,
"created_at": "2026-09-03"
},
"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 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": 1,
"name": "Work Contacts",
"active": true,
"created_at": "2026-09-03",
"contacts_count": 2,
"contacts": [
{
"id": 1,
"group_id": 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-09-03"
},
{
"id": 2,
"group_id": 1,
"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-09-03"
}
]
},
"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": 1,
"name": "Updated Group Name",
"active": true,
"created_at": "2026-09-03",
"contacts_count": 0,
"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": 2,
"name": "Family",
"active": true,
"created_at": "2026-09-03",
"contacts_count": 0,
"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 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_id": null,
"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-09-03"
},
"message": "Contact retrieved successfully.",
"success": true,
"summary": {
"groups": [
{
"id": 2,
"name": "Family"
}
]
}
}
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_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_id": null,
"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-09-03"
},
"message": "Contact updated successfully.",
"success": true
}
Add Contact to Group
Move contact into a 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 |
|---|---|---|
| group_id | integer | 2 |
{
"data": {
"id": 2,
"group_id": 2,
"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-09-03"
},
"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_id": null,
"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-09-03"
},
"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 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-09-03"
},
"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-09-03"
},
"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-09-03"
},
"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 59232020","en":"Plan 59232020"} |
| badge_label | array | {"ar":"\u0645\u0645\u064a\u0632","en":"Featured"} |
| platform_type | string | user |
| regular_price | integer | 100 |
| sale_price | integer | 50 |
| billing_cycle | string | monthly |
| color | string | #FF0000 |
| 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 |
| platform_type | required, allowed: user, valuer |
| regular_price | required, number, min 0 |
| billing_cycle | required, allowed: monthly, yearly |
| sale_price | optional, number, min 0, lt |
| sale_type | optional, allowed: percentage, fixed |
| color | optional, string, max 255 |
| is_active | optional, true/false |
| features | optional, array |
| features[].id | required, exists manage_plan_features,id |
| features[].value | optional, integer |
| features[].name.ar | optional, ArabicLetters |
| features[].name.en | optional, EnglishLetters |
{
"data": {
"id": 4,
"name": {
"ar": "خطة 59232020",
"en": "Plan 59232020"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"platform_type": "user",
"regular_price": "100.00",
"sale_price": "50.00",
"billing_cycle": "monthly",
"color": "#FF0000",
"is_active": true,
"features": [],
"created_at": "2026-09-03T14:34:18.000000Z",
"renewal_date": null,
"remaining_days": null,
"is_subscribed": false
},
"message": "Data inserted successfully.",
"success": true
}
Get Manage plan List
Retrieve a list of 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": 1,
"name": [],
"badge_label": [],
"platform_type": "user",
"regular_price": "100.00",
"sale_price": "50.00",
"billing_cycle": "monthly",
"color": "#FF0000",
"is_active": true,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": 0,
"features": []
},
{
"id": 3,
"name": [],
"badge_label": [],
"platform_type": "user",
"regular_price": "200.00",
"sale_price": "100.00",
"billing_cycle": "monthly",
"color": "#008000",
"is_active": true,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": 0,
"features": []
},
{
"id": 4,
"name": {
"ar": "خطة 59232020",
"en": "Plan 59232020"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"platform_type": "user",
"regular_price": "100.00",
"sale_price": "50.00",
"billing_cycle": "monthly",
"color": "#FF0000",
"is_active": true,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": 0,
"features": []
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 3,
"last_page": 1
},
"total_plans": 3,
"total_active_plans": 3,
"total_inactive_plans": 0
}
Get Manage Plan Features
Get manage plan features list.
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": "Features retrieved successfully.",
"success": true
}
Get User Plans
Get user plans list.
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 |
{
"success": true,
"message": "Plans retrieved successfully",
"data": [
{
"id": 1,
"name": [],
"badge_label": [],
"platform_type": "user",
"regular_price": "100.00",
"sale_price": "50.00",
"billing_cycle": "monthly",
"color": "#FF0000",
"is_active": true,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": 0,
"features": []
},
{
"id": 3,
"name": [],
"badge_label": [],
"platform_type": "user",
"regular_price": "200.00",
"sale_price": "100.00",
"billing_cycle": "monthly",
"color": "#008000",
"is_active": true,
"is_subscribed": true,
"renewal_date": "2026-10-03T14:37:41.000000Z",
"remaining_days": 29,
"features": []
}
]
}
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 |
| Accept | string | application/json |
| Authorization | string | Authorization Key |
Request Body
| Field/Name | Type | Examples |
|---|---|---|
| plan_id | integer | 1 |
{
"success": true,
"message": "Subscribed successfully",
"data": {
"id": 6,
"subscribable_type": "User",
"subscribable_id": 4,
"manage_plan_id": 1,
"status": "active",
"billing_cycle": "monthly",
"regular_price": "100.00",
"sale_price": "50.00",
"sale_type": "fixed",
"last_payment": "2026-09-03T14:37:41.000000Z",
"is_active": true,
"plan": {
"id": 1,
"platform_type": "user",
"regular_price": "100.00",
"sale_price": "50.00",
"billing_cycle": "monthly",
"color": "#FF0000",
"is_active": true
}
}
}
Cancel Subscription
Cancel subscription.
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 |
|---|---|---|
| cancelled_reason | string | No longer needed |
{
"success": true,
"message": "Subscription cancelled successfully",
"data": {
"id": 5,
"subscribable_type": "User",
"subscribable_id": 4,
"manage_plan_id": 3,
"status": "cancelled",
"billing_cycle": "monthly",
"regular_price": "100.00",
"sale_price": "50.00",
"sale_type": "fixed",
"last_payment": "2026-09-03T14:37:41.000000Z",
"is_active": false,
"cancelled_at": "2026-09-03T14:37:41.000000Z",
"cancelled_reason": "No longer needed",
"plan": {
"id": 3,
"platform_type": "user",
"regular_price": "200.00",
"sale_price": "100.00",
"billing_cycle": "monthly",
"color": "#008000",
"is_active": true
}
}
}
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": 4,
"name": {
"ar": "خطة 59232020",
"en": "Plan 59232020"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"platform_type": "user",
"regular_price": "100.00",
"sale_price": "50.00",
"billing_cycle": "monthly",
"color": "#FF0000",
"is_active": true,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": 0,
"features": []
},
"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 39634171","en":"Plan 39634171"} |
| badge_label | array | {"ar":"\u0645\u0645\u064a\u0632","en":"Featured"} |
| platform_type | string | user |
| regular_price | integer | 300 |
| sale_price | integer | 50 |
| billing_cycle | string | monthly |
| color | string | #FF0000 |
| is_active | integer | 1 |
| id | integer | 4 |
Request Validations Or Notes
| Field/Name | Examples |
|---|---|
| id | required, exists manage_plans,id |
| name.ar | optional, required, ArabicLetters |
| name.en | optional, required, EnglishLetters |
| badge_label.ar | optional, ArabicLetters |
| badge_label.en | optional, EnglishLetters |
| platform_type | optional, required, allowed: user, valuer |
| regular_price | optional, required, number, min 0 |
| billing_cycle | optional, required, allowed: monthly, yearly |
| sale_price | optional, number, min 0, lt |
| sale_type | optional, allowed: percentage, fixed |
| color | optional, string, max 255 |
| is_active | optional, true/false |
| features | optional, array |
| features[].id | required, required_with, exists manage_plan_features,id |
| features[].value | optional, string |
| features[].name.ar | optional, ArabicLetters |
| features[].name.en | optional, EnglishLetters |
{
"data": {
"id": 4,
"name": {
"ar": "خطة 39634171",
"en": "Plan 39634171"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"platform_type": "user",
"regular_price": "300.00",
"sale_price": "50.00",
"billing_cycle": "monthly",
"color": "#FF0000",
"is_active": true,
"features": [],
"created_at": "2026-09-03T14:34:18.000000Z",
"renewal_date": null,
"remaining_days": null,
"is_subscribed": false
},
"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": 4,
"name": {
"ar": "خطة 39634171",
"en": "Plan 39634171"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"platform_type": "user",
"regular_price": "300.00",
"sale_price": "50.00",
"billing_cycle": "monthly",
"color": "#FF0000",
"is_active": false,
"features": [],
"created_at": "2026-09-03T14:34:18.000000Z",
"renewal_date": null,
"remaining_days": null,
"is_subscribed": false
},
"message": "Data 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": 2,
"name": [],
"badge_label": [],
"platform_type": "user",
"regular_price": "200.00",
"sale_price": "100.00",
"billing_cycle": "yearly",
"color": "#FF0000",
"is_active": true,
"features": [],
"created_at": "2026-09-03T14:34:18.000000Z",
"renewal_date": null,
"remaining_days": null,
"is_subscribed": false
},
"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": 2,
"name": [],
"badge_label": [],
"platform_type": "user",
"regular_price": "200.00",
"sale_price": "100.00",
"billing_cycle": "yearly",
"color": "#FF0000",
"is_active": true,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": 0,
"features": []
},
{
"id": 4,
"name": {
"ar": "خطة 39634171",
"en": "Plan 39634171"
},
"badge_label": {
"ar": "مميز",
"en": "Featured"
},
"platform_type": "user",
"regular_price": "300.00",
"sale_price": "50.00",
"billing_cycle": "monthly",
"color": "#FF0000",
"is_active": false,
"is_subscribed": false,
"renewal_date": null,
"remaining_days": 0,
"features": []
}
],
"message": "Data retrieved successfully.",
"success": true,
"pagination": {
"per_page": 10,
"current_page": 1,
"total": 2,
"last_page": 1
},
"total_plans": 2,
"total_active_plans": 2,
"total_inactive_plans": 0
}