Complete API documentation for Appza Backend. For detailed license endpoint documentation, see License API.
All API requests require authorization via custom token:
Appza-Hash(depend on lead api response): {your_authorization_token}The system uses Lead::checkAuthorization() to validate tokens. Invalid or missing tokens return:
{
"success": false,
"message": "Unauthorized",
"status": 401
}The API uses URL-based versioning:
- v0:
/api/v0/...- Legacy (deprecated) - v1:
/api/v1/...- Stable production version - v2:
/api/v2/...- Latest version with new features
{
"success": true,
"data": {
// Response data
},
"message": "Operation successful"
}{
"success": false,
"message": "Error description",
"errors": {
// Validation errors (if applicable)
},
"status": 400
}200 OK: Successful request201 Created: Resource created successfully400 Bad Request: Invalid request data401 Unauthorized: Missing or invalid authentication403 Forbidden: Insufficient permissions404 Not Found: Resource not found422 Unprocessable Entity: Validation error500 Internal Server Error: Server error503 Service Unavailable: External service unavailable
Errors include descriptive messages:
{
"success": false,
"message": "Validation failed",
"errors": {
"site_url": ["The site url field is required."],
"license_key": ["The license key must be valid."]
},
"status": 422
}Rate limits vary by endpoint:
- Standard endpoints: 60 requests/minute
- License validation: 120 requests/minute
- Build endpoints: 10 requests/minute
Rate limit headers are included in responses:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59
X-RateLimit-Reset: 1640000000See License API Documentation for complete details.
Activate a new license for a website.
Check License is valid or not.
Check License is valid or not.
Deactivate a license or mark plugin as deleted.
Get latest version information.
Create a new lead for communication with core applicaton lead/store/{type}. available types: ['appza', 'lazy_task','fcom_mobile']
Request Body:
{
"first_name" : "Rashedul",
"last_name" : "Raju",
"email" : "rbraju3m@gmail.com",
"domain" : "https://test.appza.net",
"note" : "This is for appza"
}
Response:
{
"status": 200,
"message": "Created Successfully",
"data": {
"appza_hash": "$2y$12$L.cEU8ISKZGOPo1AGgnlqukqku7aZUtfwz1Y/IbdbNdHzvjN/CEfu",
"appza_buy_premium_url": "https://lazycoders.co/appza/"
}
}Get list of available themes.
Query Parameters:
plugin_slug[]: plugin slug as array
Response:
{
"data": [
{
"id": 1,
"name": "Default",
"slug": "default",
"plugin_slug": "woocommerce",
"created": "12-Dec-2024",
"background_color": "#fff5f5",
"font_family": "Poppins",
"text_color": "#000000",
"font_size": "24.00",
"is_transparent_background": false,
"dashboard_page": "dashboard-page-three",
"login_page": "login-page-one",
"login_modal": "login-modal-one",
"image_url": "https://pub-f696dec17da54dec9c83692c46cfb446.r2.dev/theme/0wiXTparfRcP8ouqSeXHdump8CKaoxdy4hx5b8qZ.jpg",
"pages_preview": [
"https://pub-f696dec17da54dec9c83692c46cfb446.r2.dev/theme-gallery/pIgBoicpaSS2bF1o8OK46Aa430zXe7DNk1z7eabx.png",
"https://pub-f696dec17da54dec9c83692c46cfb446.r2.dev/theme-gallery/CKea4AUZhs8QN0epAx4CwdXH2YmhJ9zuUCdU1tFV.png"
],
"default_active_page_slug": "home-page"
} ],
"status": 200,
"url": "http://www.appza-backend.local/api/appza/v1/themes?plugin_slug%5B0%5D=wordpress&plugin_slug%5B1%5D=tutor-lms&plugin_slug%5B2%5D=woocommerce&plugin_slug%5B3%5D=fluent-community",
"method": "GET",
"message": "Data Found"
}Get specific theme details.
Query Parameters:
plugin_slug: specific plugin slugslug: specific theme slug
Response:
{
"status": 200,
"url": "http://www.appza-backend.local/api/appza/v1/themes/get-theme?plugin_slug=tutor-lms&slug=default",
"method": "GET",
"message": "Data Found",
"data": {
"theme_name": "Default",
"theme_slug": "default",
"plugin_slug": "tutor-lms",
"default_active_page_slug": "home-page",
"background_color": "#000000",
"font_family": "Arial",
"text_color": "#000000",
"font_size": 14,
"is_transparent_background": false,
"image_url": "https://pub-f696dec17da54dec9c83692c46cfb446.r2.dev/theme/1ggU0OWWbyK8CujULSkeFtW0nk5OcqzXabZ6lLNs.jpg",
"dashboard_page": null,
"login_page": null,
"login_modal": null,
"is_show_scanner": true,
"theme_status": "active",
"global_config": [
{},
{}
],
"pages": [
{},
{}
]
}
}Get application-wide configuration.
Query Parameters:
plugin_slug[](required): Plugin slugs as arraymode(required): appbar/navbar/drawer
Response:
{
"status": 200,
"url": "http://www.appza-backend.local/api/appza/v1/global-config?mode=drawer&plugin_slug%5B0%5D=fluent-community",
"method": "GET",
"message": "Data Found",
"data": [
{},{}
]
}Get list of component by page slug.
Query Parameters:
plugin_slug[](required): plugin slugs as arraypage_slug(required): specific page slug
Response:
{
"status": 200,
"url": "http://www.appza-backend.local/api/appza/v1/page-component?page_slug=home-page&plugin_slug%5B0%5D=tutor-lms",
"method": "GET",
"message": "Data Found",
"data": [
{
"name": "Course Thumbnail",
"icon": "IconListDetails",
"items": [
{},
{}
]
}
]
}Get list of available plugins.
Response:
{
"data": [
{
"id": 1,
"name": "Wordpress",
"slug": "wordpress",
"prefix": "WP_",
"title": null,
"description": null,
"others": null,
"created": "08-Dec-2024",
"is_disable": false,
"image": "https://pub-f696dec17da54dec9c83692c46cfb446.r2.dev/plugins/RgOGXyEsPzgzpHb15TQtHjHkYFERJCdAeymOeh1L.png"
}
],
"status": 200,
"url": "http://www.appza-backend.local/api/appza/v1/plugins",
"method": "GET",
"message": "Data Found"
}Create a new APK build resource.
Request Body:
{
"site_url": "https://test.com",
"app_logo": "https://fastly.picsum.photos/id/872/200/200.jpg?hmac=m0AwAUFkEiEz2KW58n6a5RVkKaClHNylfppYjE3a0v4",
"app_splash_screen_image": "https://fastly.picsum.photos/id/872/200/200.jpg?hmac=m0AwAUFkEiEz2KW58n6a5RVkKaClHNylfppYjE3a0v4",
"license_key": "appza9598d42351dba8d7d88226ee6f6bf370",
"app_name": "test",
"is_android": true,
"is_ios": false,
"email": "test.rightbrainsolution@gmail.com",
"plugin_slug": "fluent-community",
"platform" : ["android"]
}Response:
{
"status": 200,
"url": "https://dev-app.appza.net/api/appza/v1/build/resource",
"method": "POST",
"message": "App selection for build requests is confirmed.",
"data": {
"package_name": "com.thesohel.live",
"bundle_name": "com.thesohel.live"
}
}IOS build verification endpoint for ios-keys.
Request Body:
{
"site_url": "https://prothomalo.com/",
"license_key": "appza v-180e3251c7f579deb7f885d1df30ff135",
"ios_issuer_id": "a1ead579-73d7-4227-b9d6-1aeccf17edb4",
"ios_key_id": "77HLG2C29P",
"ios_team_id": "785R8UTSWS",
"ios_p8_file_content": "-----BEGIN PRIVATE KEY-----\nMIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgAOlEV9MXLVSpc/rs\nqS+SpKRIAWExlsn4EnvDfalwEYqgCgYIKoZIzj0DAQehRANCAASUjxe0wPCOP4lM\nNLREQ8xJQmUuy1QKvNuTqa65igDy1EKbKuf1A9PakIPHaE/m0J+jSZkcHIJpKVjQ\nrfgKNmSG\n-----END PRIVATE KEY-----"
}Response:
{
"status": 200,
"url": "https://dev-app.appza.net/api/appza/v1/build/ios-keys-verify",
"method": "POST",
"message": "IOS Resource information is valid.",
"data": {
"package_name": "com.test.buildflow",
"bundle_name": "com.test.buildflow"
}
}IOS build check app name endpoint for ios-keys.
Request Body:
{
"site_url": "https://saiful.appza.net",
"license_key": "appzadb5589f16289e74521abe216863532ee"
}Response:
{
"status": 200,
"url": "https://dev-app.appza.net/api/appza/v1/build/ios-check-app-name",
"method": "POST",
"message": "Your ios app name has been taken from your app store.",
"data": {
"package_name": "com.test.buildflow",
"bundle_name": "com.test.buildflow",
"ios_app_name": "Test Build Flow Push"
}
}Push notification resource endpoint.
Request Body:
{
"site_url": "https://saiful.appza.net",
"license_key": "appzadb5589f16289e74521abe216863532ee",
"android_notification_content": {
"project_info": {
"project_number": "721464505632",
"project_id": "test-build-flow",
"storage_bucket": "test-build-flow.firebasestorage.app"
},
"client": [
],
"configuration_version": "1"
},
"ios_notification_content": ""
}Response:
{
"status": 200,
"url": "https://dev-app.appza.net/api/appza/v1/build/push-notification-resource",
"method": "POST",
"message": "Successfully pushed notification information updated."
}Status Values:
pending: Build is queuedprocessing: Build is in progresscompleted: Build completed successfullyfailed: Build faileddelete: after build and files were removed after a defined retention period
Place a build request.
Request Body:
{
"site_url": "https://test.appza.net",
"license_key": "appzadb5589f16289e74521abe216863532ee",
"is_push_notification" : false
}Response:
{
"status": 200,
"url": "https://dev-app.appza.net/api/appza/v1/build",
"method": "POST",
"message": "Your App building process has been started successfully.",
"data": {
"id": 40,
"version_id": 1,
"build_domain_id": 82,
"app_name": "fluent-community",
"ios_app_name": "Test Build Flow Push",
"build_id": 58
}
}Activate license for a site.
Request Body:
{
"site_url": "https://test.appza.net/",
"license_key": "FCTrial6528afb53494e85532fc63a23d6f365b",
"email" : "test@gmail.com"
}Response:
{
"status": 200,
"message": "Your License key has been activated successfully.",
"data": {
"status": "valid",
"activation_limit": "0",
"activation_hash": "d9acec222425ef6996cafa9cc89eb772",
"activations_count": 2,
"license_key": "appzadb5589f16289e74521abe216863532ee",
"expiration_date": "2026-11-11 00:00:00",
"product_id": "7520",
"variation_id": "17",
"variation_title": "Fluent Community",
"product_title": "Appza Dev",
"created_at": {
"date": "2025-11-27 05:00:38.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"updated_at": {
"date": "2025-11-30 10:04:02.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"next_billing_date": null,
"success": true
}
}License Check for plugin.
Query Parameters:
-
site_url(required): Website URL -
license_key(required): license keyResponse:
{
"status": 200,
"message": "Your License key is valid.",
"data": {
"status": "valid",
"activation_limit": "0",
"activation_hash": "d9acec222425ef6996cafa9cc89eb772",
"activations_count": 2,
"license_key": "appzadb5589f16289e74521abe216863532ee",
"expiration_date": "2026-11-11 00:00:00",
"product_id": "7520",
"variation_id": "17",
"variation_title": "Fluent Community",
"product_title": "Appza Dev",
"created_at": {
"date": "2025-11-27 05:00:38.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"updated_at": {
"date": "2025-11-30 10:04:02.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"next_billing_date": null,
"success": true
}
}License Check for plugin.
Query Parameters:
-
site_url(required): Website URL -
product(required): product slugResponse:
{
"status": 200,
"message": "Your License key is valid.",
"data": {
"status": "valid",
"activation_limit": "0",
"activation_hash": "d9acec222425ef6996cafa9cc89eb772",
"activations_count": 2,
"license_key": "appzadb5589f16289e74521abe216863532ee",
"expiration_date": "2026-11-11 00:00:00",
"product_id": "7520",
"variation_id": "17",
"variation_title": "Fluent Community",
"product_title": "Appza Dev",
"created_at": {
"date": "2025-11-27 05:00:38.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"updated_at": {
"date": "2025-11-30 10:04:02.000000",
"timezone_type": 3,
"timezone": "UTC"
},
"next_billing_date": null,
"success": true
}
}Version 2 includes the following improvements over v1:
- Enhanced license reporting endpoints
- Update Base URL: Change
/api/v1/to/api/v2/ - Update Error Handling: Check for new error code structure
GET: Retrieve dataPOST: Create new resourcesPUT/PATCH: Update existing resourcesDELETE: Remove resources
Always check the success field in responses:
if (response.success) {
// Handle success
} else {
// Handle error with response.message
}For API support or to report issues:
- Review the error message and status code
- Check the Troubleshooting Guide
- Review API logs in the admin dashboard
- Contact development team
Last Updated: January 2026 Current Version: v2 Supported Versions: v1, v2