Api Documentation

Welcome to the Logspanel API Documentation. This guide helps you integrate securely with the Logspanel system by providing access to logs, categories, virtual numbers, SMS verification, and boosting services.

The API now uses API key-based authentication. You must include your unique API key in the Authorization header for all requests.

Example header:

Authorization: Bearer YOUR_API_KEY_HERE

This documentation covers:

  • πŸ” Authentication via API Key
  • πŸ’° Check Wallet Balance
  • πŸ“¦ Fetching Categories (with parent and log count)
  • πŸ“‚ Parent Categories
  • πŸ’Έ Purchasing Logs
  • πŸ“± SMS Number Purchase & Code Retrieval
  • πŸš€ Boosting Orders, Status Checks, and Cancellation

Base URL: https://logspanel.com

API Key: Get an API key on the Account page

Authentication is handled using a static API Key. You must include your API key in the Authorization header for every request.

πŸ“Œ Required Header:
Authorization: Bearer YOUR_API_KEY_HERE

If your API key is missing or invalid, the server will return a 401 Unauthorized response.

βœ… Example cURL Request:
                            
                            curl -X POST https://logspanel.com/api/buy-log \
                              -H "Content-Type: application/json" \
                              -H "Authorization: Bearer YOUR_API_KEY_HERE" \
                              -d '{
                                "log_id": 123,
                                "quantity": 1
                              }'
                            
                            

Replace YOUR_API_KEY_HERE with the key provided in your dashboard or developer portal.

Endpoint: GET /api/check-balance

Headers:
Accept: application/json
                                Authorization: Bearer YOUR_API_KEY_HERE
βœ… Success Response – 200 OK:
{
                                    "success": true,
                                    "data": {
                                        "balance": 5500,
                                        "name": "John Doe",
                                        "email": "[email protected]"
                                    }
                                }
πŸ” Example cURL Request:
curl -X GET https://logspanel.com/api/check-balance \
                                  -H "Accept: application/json" \
                                  -H "Authorization: Bearer YOUR_API_KEY_HERE"
🚫 Error Responses:
  • 401 – Unauthorized (invalid or missing API key)
  • 403 – Forbidden (insufficient permissions)

Note: The balance, name, and email are returned inside the data object.

Endpoint: GET /api/categories

Query Parameters (optional):
  • parent_category_id – Filter categories by parent category ID (integer)
Headers:
Accept: application/json
                            Authorization: Bearer YOUR_API_KEY
Sample Response:
[
                              {
                                "id": 23,
                                "category_name": "USA Outlook",
                                "category_image": "https://logspanel.com/storage/uploads/log_categories/usa_outlook.png",
                                "category_price": 5000,
                                "count": 12,
                                "parent_category": {
                                  "id": 390,
                                  "name": "General",
                                  "image_slug": "https://logspanel.com/storage/uploads/parent_categories/general.png"
                                }
                              },
                              {
                                "id": 24,
                                "category_name": "Gmail Combo",
                                "category_image": "https://logspanel.com/storage/uploads/log_categories/gmail_combo.png",
                                "category_price": 3000,
                                "count": 5,
                                "parent_category": {
                                  "id": 390,
                                  "name": "General",
                                  "image_slug": "https://logspanel.com/storage/uploads/parent_categories/general.png"
                                }
                              }
                            ]
πŸ“€ Example cURL Request (Without Filter):
curl -X GET https://logspanel.com/api/categories \
                            -H "Accept: application/json" \
                            -H "Authorization: Bearer YOUR_API_KEY"
πŸ“€ Example cURL Request (Filtered by Parent Category):
curl -X GET "https://logspanel.com/api/categories?parent_category_id=5" \
                            -H "Accept: application/json" \
                            -H "Authorization: Bearer YOUR_API_KEY"
Error Responses:
  • 401 – Unauthorized (invalid or missing API key)
  • 404 – No categories found (if applicable)
  • 500 – Internal server error
🧠 Usage Tips:
  • Use this endpoint to fetch log categories along with their parent category and available logs count.
  • Add ?parent_category_id=<id> to filter categories under a specific parent.
  • Perfect for dropdown filters or categorized listings on your frontend.
  • Always keep your API key secure; avoid exposing it in client-side code.

πŸ”— Endpoint: GET /api/categories-with-logs

πŸ“Œ Query Parameters (optional):
  • parent_category_id – Filter categories by parent category ID (integer)
πŸ“‹ Required Headers:
Accept: application/json
πŸ“¦ Sample Response:
[
                              {
                                "id": 12,
                                "category_name": "UK Fullz",
                                "category_image": "https://logspanel.com/storage/uploads/log_categories/uk_fullz.png",
                                "category_price": 4500,
                                "count": 7,
                                "parent_category": {
                                  "id": 390,
                                  "name": "General",
                                  "image_slug": "https://logspanel.com/storage/uploads/parent_categories/general.png"
                                }
                              },
                              {
                                "id": 14,
                                "category_name": "Canadian Logs",
                                "category_image": "https://logspanel.com/storage/uploads/log_categories/canada.png",
                                "category_price": 6000,
                                "count": 3,
                                "parent_category": {
                                  "id": 391,
                                  "name": "Premium",
                                  "image_slug": "https://logspanel.com/storage/uploads/parent_categories/premium.png"
                                }
                              }
                            ]
πŸ“€ Example cURL Request (All):
curl -X GET https://logspanel.com/api/categories-with-logs \
                              -H "Accept: application/json"
πŸ“€ Example cURL Request (Filtered):
curl -X GET "https://logspanel.com/api/categories-with-logs?parent_category_id=390" \
                              -H "Accept: application/json"
❗ Error Responses:
  • 404 – No categories found (empty or invalid filter)
  • 500 – Internal server error
πŸ’‘ Usage Notes:
  • Returns only categories that have logs available (qty > 0).
  • Supports filtering via ?parent_category_id= to target a specific parent group.
  • Recommended for frontend log shop listings where only active categories are needed.

Endpoint: POST /api/buy-log

Headers:
Authorization: Bearer <your_api_key>
                            Accept: application/json
                            Content-Type: application/json
Request Body:
{
                              "cat_id": 23,
                              "log_quantity": 2
                            }
βœ… Success Response – 200 OK:
{
                              "message": "Log(s) purchased successfully",
                              "order_id": 582193,
                              "log_details": [
                                "1. [email protected] | password123",
                                "2. [email protected] | password321"
                              ],
                              "amount_paid": 10500,
                              "category_name": "UK Bank Logs",
                              "category_image": "https://logspanel.com/images/categories/ukbank.png"
                            }
πŸ“€ Example cURL Request:
curl -X POST https://logspanel.com/api/buy-log \
                              -H "Authorization: Bearer <your_api_key>" \
                              -H "Accept: application/json" \
                              -H "Content-Type: application/json" \
                              -d '{"cat_id":23, "log_quantity":2}'
🚫 Error Responses:
  • 400 – Not enough logs available
  • 401 – Unauthorized (missing or invalid token)
  • 403 – Insufficient funds
  • 404 – Log category not found
  • 422 – Validation failed (e.g., missing or invalid fields)
  • 500 – Internal server error
🧠 Tips:
  • Ensure cat_id is valid by calling /api/categories-with-logs.
  • Check balance using /api/check-balance before attempting a purchase.
  • amount_paid is calculated as (unit price Γ— quantity).
  • Use category_name and category_image for UI display of the purchased log type.
  • log_details contains the list of purchased logs as individual strings.

Welcome to the Logspanel Number API Documentation. This guide helps you integrate virtual SMS number services with secure API key authentication.

With these APIs, you can retrieve available countries and get services offered for each country, including dynamic pricing in Naira.

The Number API provides:

  • 🌍 List of available countries for SMS numbers
  • πŸ›’ Available services (e.g. WhatsApp, Telegram, etc.) per country
  • πŸ’Έ Prices in both USD and converted Naira

Authentication: All endpoints require an API key passed in the request headers.

πŸ” Headers:
Accept: application/json
                            Authorization: Bearer YOUR_API_KEY

Base URL: https://logspanel.com

API Key: Get an API key on the Account page

Access to protected endpoints requires an API Key. You must include this key in the Authorization header of your requests.

πŸ” API Key Header:

                            Authorization: Bearer your_api_key_here
                            
πŸ” Example cURL Request:
                            
                            curl -X GET https://logspanel.com/api/protected-endpoint \
                            -H "Authorization: Bearer your_api_key_here" \
                            -H "Content-Type: application/json"
                            
                            

Replace your_api_key_here with the actual key provided in your Logspanel dashboard. API keys are unique to each user and must be kept secure.

Endpoint: GET /api/check-balance

Headers:
Accept: application/json
                                Authorization: Bearer YOUR_API_KEY_HERE
βœ… Success Response – 200 OK:
{
                                    "success": true,
                                    "data": {
                                        "balance": 5500,
                                        "name": "John Doe",
                                        "email": "[email protected]"
                                    }
                                }
πŸ” Example cURL Request:
curl -X GET https://logspanel.com/api/check-balance \
                                  -H "Accept: application/json" \
                                  -H "Authorization: Bearer YOUR_API_KEY_HERE"
🚫 Error Responses:
  • 401 – Unauthorized (invalid or missing API key)
  • 403 – Forbidden (insufficient permissions)

Note: The balance, name, and email are returned inside the data object.

🌍 Get Available Countries

Endpoint: GET /api/number/countries

Headers:
Accept: application/json
Success Response:
{
                              "success": true,
                              "countries": [
                                {
                                  "id": "1",
                                  "name": "United States",
                                  "short_name": "us",
                                  "cc": "1",
                                  "region": "North America",
                                  "flag_url": "https://flagcdn.com/20x15/us.png"
                                },
                                {
                                  "id": "44",
                                  "name": "United Kingdom",
                                  "short_name": "gb",
                                  "cc": "44",
                                  "region": "Europe",
                                  "flag_url": "https://flagcdn.com/20x15/gb.png"
                                }
                              ]
                            }
πŸ“Œ Example cURL:
curl -X GET https://logspanel.com/api/number/countries \
                              -H "Accept: application/json"

πŸ›’ Get Services for a Country

Endpoint: POST /api/number/services

Headers:
Content-Type: application/json
                            Accept: application/json
Request Body:
{
                                "country_id": 1,
                                "country_name": "United States",
                                "country_code": "US"
                            }
Success Response:
{
                                "success": true,
                                "country": {
                                    "id": 1,
                                    "name": "United States",
                                    "code": "us"
                                },
                                "services": [
                                    {
                                        "service_id": "telegram",
                                        "service_name": "Telegram",
                                        "country_id": "1",
                                        "country_name": "United States",
                                        "short_name": "us",
                                        "pool": "premium",
                                        "usd_price": 0.25,
                                        "price_naira": 1875.00
                                    },
                                    {
                                        "service_id": "whatsapp",
                                        "service_name": "WhatsApp",
                                        "country_id": "1",
                                        "country_name": "United States",
                                        "short_name": "us",
                                        "pool": "standard",
                                        "usd_price": 0.20,
                                        "price_naira": 1800.00
                                    }
                                ]
                            }
πŸ“Œ cURL Example:
curl -X POST https://logspanel.com/api/number/services \
                            -H "Accept: application/json" \
                            -H "Content-Type: application/json" \
                            -d '{
                                "country_id": 1,
                                "country_name": "United States",
                                "country_code": "US"
                            }'

Note: This endpoint does not require authentication. Prices are calculated using live exchange rates + your configured markup.

Endpoint: POST /api/number/purchase-sms

Headers:
Authorization: Bearer your_api_key
                            Accept: application/json
                            Content-Type: application/json
Request Body:
{
                              "country_id": "1",
                              "service_id": "1",
                              "pool": "7"                // Optional (defaults to 7 if not set)
                            }
βœ… Success Response – 200 OK:
{
                              "message": "Number purchased successfully",
                              "order_id": "DVULMHZM",
                              "number": "12514077564",
                              "amount_paid": 3200,
                              "status": "STATUS_WAIT_CODE",
                              "timestamp": "2025-06-29T16:00:00Z"
                            }
πŸ“€ Example cURL Request:
curl -X POST https://logspanel.com/api/number/purchase-sms \
                              -H "Authorization: Bearer your_api_key" \
                              -H "Accept: application/json" \
                              -H "Content-Type: application/json" \
                              -d '{
                                "country_id": "1",
                                "service_id": "1",
                                "pool": "7"
                            }'
🚫 Error Responses:
  • 400 – Out of stock or service unavailable
  • 403 – Insufficient balance
  • 422 – Validation failed (missing or invalid fields)
  • 500 – Server or third-party API error
🧠 Tips:
  • Include your API key in the Authorization header using the Bearer token format.
  • Check user balance using /api/check-balance before calling this endpoint.
  • pool is optional β€” defaults to 7 for most use cases.
  • Amount charged = API live price Γ— exchange rate.

Endpoint: POST /api/number/check-sms

Headers:
Authorization: Bearer <your_token>
                            Accept: application/json
                            Content-Type: application/x-www-form-urlencoded
Request Body:
request_id=DVULMHZM
βœ… Success Responses – 200 OK:
Code Received:
{
                              "status": "3",
                              "message": "Code received successfully.",
                              "code": "487203",
                              "action_status": 1
                            }
Still Waiting:
{
                              "status": "3",
                              "message": "Still waiting for SMS code.",
                              "action_status": 0
                            }
Refund Successful:
{
                              "status": "6",
                              "message": "The order has been cancelled and refunded successfully.",
                              "action_status": 1
                            }
Refund Pending:
{
                              "status": "6",
                              "message": "Refund not available yet. Please wait.",
                              "action_status": 0
                            }
πŸ“€ Example cURL Request:
curl -X POST https://logspanel.com/api/number/check-sms \
                              -H "Authorization: Bearer <your_token>" \
                              -H "Accept: application/json" \
                              -H "Content-Type: application/x-www-form-urlencoded" \
                              -d "request_id=DVULMHZM"
                            
🚫 Error Responses:
  • error – Request not found or already closed
  • error – Code already received
  • error – User not authenticated or refund failed
  • error – API connection or third-party error
🧠 Tips:
  • Only use this endpoint after a successful purchase from /api/number/purchase-sms.
  • If status is 6, refund is only processed after 20 minutes of inactivity.
  • You can poll this endpoint every 15–30 seconds until status = 3 or 6.

Endpoint: POST /api/number/cancel-order

Headers:
Authorization: Bearer <your_token>
                            Accept: application/json
                            Content-Type: application/x-www-form-urlencoded
Request Body:
request_id=DVULMHZM
βœ… Success Response – 200 OK:
{
                              "status": true,
                              "message": "The order has been cancelled and refunded successfully.",
                              "action_status": 1,
                              "html": "<span class='text-success'>The order has been cancelled and refunded successfully.</span>"
                            }
πŸ“€ Example cURL Request:

                            curl -X POST https://logspanel.com/api/number/cancel-order \
                              -H "Authorization: Bearer <your_token>" \
                              -H "Accept: application/json" \
                              -H "Content-Type: application/x-www-form-urlencoded" \
                              -d "request_id=DVULMHZM"
                            
🚫 Error Responses:
  • status: false – Order not found or request ID is invalid
  • status: false – Code already received; refund not allowed
  • status: false – Order already refunded
  • status: false – User not authenticated
  • status: false – API or server error
🧠 Tips:
  • You can only cancel orders that have not received a code and are not yet refunded.
  • If our API allows cancellation (success = 1), your user will be refunded instantly.
  • Use this when a user wants to cancel early without waiting 20 minutes.

Welcome to the Logspanel Boosting API Documentation. This guide outlines the endpoints required to integrate our social media boosting services (e.g., Instagram, TikTok, YouTube) into your application.

With our API, you can:

  • πŸ“± Retrieve all available boosting services
  • πŸ’΅ View pricing in both USD and auto-calculated NGN (Naira)
  • 🧾 Get the required parameters needed to place a boost order

All endpoints return data in JSON format.

Authentication:
All protected routes require an API key sent in the request header as:
Authorization: Bearer YOUR_API_KEY

Base URL: https://logspanel.com

Base URL: https://logspanel.com

API Key: Get an API key on the Account page

All requests to protected endpoints must include your API Key in the Authorization header.

πŸ” Required Header:
Authorization: Bearer YOUR_API_KEY_HERE
βœ… Example Request Using cURL:

                            curl -X GET https://logspanel.com/api/boost/services \
                            -H "Authorization: Bearer YOUR_API_KEY_HERE"
                            

Replace YOUR_API_KEY_HERE with your personal API key provided by Logspanel. If the key is missing or invalid, the API will respond with 401 Unauthorized.

πŸ” Example Unauthorized Response:

                            {
                                "message": "Unauthorized"
                            }
                            

Endpoint: GET /api/check-balance

Headers:
Accept: application/json
                                Authorization: Bearer YOUR_API_KEY_HERE
βœ… Success Response – 200 OK:
{
                                    "success": true,
                                    "data": {
                                        "balance": 5500,
                                        "name": "John Doe",
                                        "email": "[email protected]"
                                    }
                                }
πŸ” Example cURL Request:
curl -X GET https://logspanel.com/api/check-balance \
                                  -H "Accept: application/json" \
                                  -H "Authorization: Bearer YOUR_API_KEY_HERE"
🚫 Error Responses:
  • 401 – Unauthorized (invalid or missing API key)
  • 403 – Forbidden (insufficient permissions)

Note: The balance, name, and email are returned inside the data object.

Endpoint: GET /api/boost/categories

This endpoint returns a distinct list of all available social media service categories, each with a count of how many services fall under it. Useful for displaying category filters on your frontend.

Success Response – 200 OK:

                                {
                                  "status": true,
                                  "message": "Distinct categories with service count retrieved successfully.",
                                  "data": [
                                    {
                                      "category": "Instagram Followers",
                                      "count": 8
                                    },
                                    {
                                      "category": "TikTok Views",
                                      "count": 5
                                    },
                                    {
                                      "category": "YouTube Likes",
                                      "count": 3
                                    }
                                  ]
                                }
                                
πŸ” Example cURL Request:

                                curl -X GET https://logspanel.com/api/boost/categories \
                                  -H "Accept: application/json"
                                

This endpoint helps build category navigation or filter dropdowns dynamically. Each category is returned in its original format (may include emojis/special characters).

πŸ’‘ Notes:
  • Real-Time Categories: The list is dynamically generated from live service data. If the provider adds or removes categories, they are reflected automatically.
  • Case-Insensitive Matching: Categories are grouped using lowercase comparison, but the category field is returned exactly as received (including any emojis or casing).
  • Use with Filtering: You can use each returned category as a parameter in /api/boost/category/{category} to filter services belonging to that category.
  • For UI Filters: This endpoint is useful for building dropdowns, tabs, or search filters in your frontend app β€” sorted alphabetically for better UX.
  • Count Field: The count shows how many services belong to each category. If a category has zero services, it is automatically excluded.
  • Handling Special Characters: Some categories may include emojis or special symbols (e.g., πŸ“Έ Instagram Likes). Be sure to URL-encode them if used in API requests.

Endpoint: GET /api/boost/category/{category}

This endpoint returns all available social media boost services under a given category, enriched with the computed price in Nigerian Naira (₦).

πŸ”’ URL Parameter:
  • category – The name of the service category (e.g., tiktok views, instagram followers)
βœ… Success Response – 200 OK:
{
                                  "status": true,
                                  "message": "Filtered services retrieved successfully.",
                                  "category": "instagram followers",
                                  "data": [
                                    {
                                      "service_id": "8231",
                                      "name": "Instagram Followers [High Quality]",
                                      "category": "Instagram Followers",
                                      "price_naira": 1200.00
                                    },
                                    {
                                      "service_id": "8242",
                                      "name": "Instagram Followers [Real Users]",
                                      "category": "Instagram Followers",
                                      "price_naira": 1450.00
                                    }
                                  ]
                                }
                                
❌ Error Response – 404 Not Found:
{
                                  "status": false,
                                  "message": "No services found for this category.",
                                  "data": []
                                }
                                
πŸ” Example cURL Request:

                                curl -X GET https://logspanel.com/api/boost/category/tiktok%20views
                                
πŸ’‘ Notes:
  • Dynamic Pricing: The price_naira is calculated in real-time.
  • Exchange Rate Adjustment: A buffer of +200 is added to the exchange rate to protect against forex volatility.
  • Category Matching: Category matching is case-insensitive. Spaces and special characters in URLs must be URL-encoded.
  • Use with `/boost/categories`: To get a list of all available categories, call /api/boost/categories before using this endpoint.

Endpoint: GET /api/boost/services/{service_id}

This endpoint returns full details of a specific social media boost service. It includes metadata such as pricing, limits, refill support, and optional descriptions.

URL Parameters:
  • service_id – Unique identifier of the service (e.g., 7993)
Success Response – 200 OK:

                                {
                                  "status": true,
                                  "message": "Service details fetched successfully.",
                                  "data": {
                                    "service_id": "7993",
                                    "name": "Facebook Followers [All Type Profile/Page]",
                                    "category": "Facebook",
                                    "type": "Default",
                                    "rate": 1621.15,
                                    "min": 100,
                                    "max": 500000,
                                    "dripfeed": false,
                                    "refill": true,
                                    "cancel": false,
                                    "description": "This service provides real, high-quality followers with optional refill within 30 days."
                                  }
                                }
                                
Error Response:

                                {
                                  "status": false,
                                  "message": "Service not found"
                                }
                                
πŸ” Example cURL Request:

                                curl -X GET https://logspanel.com/boost/services/7993 \
                                -H "Accept: application/json"
                                

Use this endpoint when a user selects a specific service to view full information or to validate it before placing an order. The description field is optionally loaded from a local JSON file for enhanced detail.

πŸ’‘ Notes:
  • Exchange rate adjustment: The rate returned is converted from USD to NGN using a dynamic exchange rate. The system adds +200 margin to the exchange rate to account for profit/loss buffers.
  • Why is the price different from the source API? The original `rate` from the provider is in USD. What you see here is the Nigerian Naira equivalent with markup. This lets you resell at a profit.
  • Custom Descriptions: If a local file named public/bstingfile.json exists, and contains an entry for this service_id, the response will include a description field. This can be used to show more friendly names, business logic notes, or customer-facing explanations.
  • Dripfeed, Refill, and Cancel: These boolean fields indicate if the service supports gradual delivery (dripfeed), automatic refill on drop, and cancelability. Useful for displaying service capabilities to your users.
  • Service matching is case-insensitive: The backend compares service_id using strtolower() to allow flexibility in your requests.

Endpoint: /api/boost/order

Method: POST

Authentication: API Key (Required)

Description: Submit a social media boost order using one of the supported service types.

Headers:

                            Accept: application/json  
                            Authorization: Bearer YOUR_API_KEY
                            Content-Type: application/json
                                
πŸ” Example cURL Request:

                            curl -X POST https://logspanel.com/api/boost/order \
                            -H "Accept: application/json" \
                            -H "Authorization: Bearer YOUR_API_KEY" \
                            -H "Content-Type: application/json" \
                            -d '{
                              "service": "7993",
                              "type": "Default",
                              "link": "https://instagram.com/yourtargetlink",
                              "quantity": 500
                            }'
                                

πŸ”– Base Parameters

Field Type Required Description
servicestringβœ…Service ID from /api/boost/services/{service_id}
typestringβœ…The type/category of service
linkstringConditionalTarget link, required by most types
quantityintegerConditionalMust be within min/max limits
typestringβœ…Your internal identifier (e.g. user agent, source)

πŸ“‚ Rules by type

  • link - required
  • quantity - required
  • runs, interval - optional

  • link - required
  • comments - required (text or JSON)

  • link - required
  • quantity - required
  • usernames - required
  • hashtags - required

  • username - required
  • min - required
  • max - required
  • delay - required
  • expiry - optional
  • posts - optional

  • link - required
  • username - required
  • comments - required
πŸ’‘ Notes:
  • rate is calculated internally β€” You do not need to submit it. The system fetches the actual service rate from our end.
  • min and max are fetched internally β€” the quantity you send must be within these bounds. An error is returned if it's outside.
  • type: It’s your identifier for the kind of order, used in business logic and validations.
  • link is the URL to the content (e.g. YouTube, Instagram) to boost. Not required for all services β€” check type-specific rules.
  • Service not found? It means the service ID passed does not exist in the fetched external API services list.
  • Rate mismatch? Do not send rate, min, or max in your request. The system handles those internally for accuracy and security.
  • comments must be a string or valid JSON array depending on your integration. This is used in "Custom Comments" and "Comment Replies" types.
  • For Mentions services: usernames, hashtags, and other identifiers must be comma-separated strings or arrays (based on backend expectations).

Endpoint: /api/boost/status

Method: POST

Authentication: API Key (Required)

Description: Retrieve the current status of a previously placed boost order. This can include statuses like In progress, Completed, Canceled, etc., along with delivery stats.

Headers:

                            Accept: application/json  
                            Authorization: ApiKey YOUR_API_KEY
                            Content-Type: application/json
                                  
πŸ” Example cURL Request:

                            curl -X POST https://logspanel.com/boost/status \
                            -H "Accept: application/json" \
                            -H "Authorization: ApiKey YOUR_API_KEY" \
                            -H "Content-Type: application/json" \
                            -d '{
                              "order_id": "123456789"
                            }'
                                  

πŸ”– Parameters

Field Type Required Description
order_id string βœ… The ID of the boost order you want to check the status for

πŸ“¦ Sample Success Response

{
                              "status": true,
                              "message": "Boost order status retrieved successfully.",
                              "data": {
                                "charge": "0.00",
                                "start_count": "0",
                                "status": "Canceled",
                                "remains": "100",
                                "currency": "USD"
                              }
                            }
                                  

❌ Sample Error Response

{
                              "status": false,
                              "message": "Failed to fetch status: Order not found"
                            }
                                  
πŸ’‘ Notes:
  • order_id is required and must match an existing boost order placed through your account.
  • Typical statuses: Pending, Processing, Completed, Canceled, or Partial.
  • start_count refers to the number of followers/views/likes when the order started.
  • remains tells you how many units are yet to be delivered.
  • charge shows how much the order cost (in external currency).
  • The currency returned is usually USD.

Endpoint: /api/boost

Method: POST

Authentication: Bearer Token (Required)

Description: Place a new boost order for a social media service such as followers, likes, comments, etc.

Headers:
Accept: application/json
                        Authorization: Bearer YOUR_ACCESS_TOKEN
                        Content-Type: application/json
πŸ“‘ Example cURL Request:
curl -X POST https://logspanel.com/api/boost \
                        -H "Accept: application/json" \
                        -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
                        -H "Content-Type: application/json" \
                        -d '{
                          "link": "https://t.me/yourchannel",
                          "service_id": 3,
                          "quantity": 100
                        }'

πŸ“‹ Parameters

Field Type Required Description
link string βœ… Target link for boost (e.g., Telegram, Instagram, YouTube, etc.)
service_id integer βœ… ID of the service selected from the list of available services
quantity integer βœ… Number of boosts to request (e.g., 100 followers)

βœ… Sample Success Response

{
                          "order_id": "987654321",
                          "status": "Pending",
                          "message": "Boost order placed successfully."
                        }

Endpoint: /api/boost/status

Method: POST

Authentication: Bearer Token (Required)

Description: Retrieve the current status of a boost order by its ID.

Headers:
Accept: application/json
                            Authorization: Bearer YOUR_ACCESS_TOKEN
                            Content-Type: application/json
πŸ” Example cURL Request:
curl -X POST https://logspanel.com/api/boost-orders/status \
                            -H "Accept: application/json" \
                            -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
                            -H "Content-Type: application/json" \
                            -d '{
                              "order_id": "123456789"
                            }'

πŸ“‹ Parameters

Field Type Required Description
order_id string βœ… The ID of the boost order you want to check

βœ… Sample Success Response

{
                              "order_id": "123456789",
                              "status": "Completed",
                              "start_count": 500,
                              "remains": 0,
                              "message": "Order delivered successfully."
                            }

Endpoint: /api/boost/cancel

Method: POST

Authentication: Bearer Token (Required)

Description: Request to cancel a specific boost order. If eligible, the user's balance will be refunded and order marked as canceled.

Headers:
Accept: application/json
                        Authorization: Bearer YOUR_ACCESS_TOKEN
                        Content-Type: application/json
πŸ” Example cURL Request:
curl -X POST https://logspanel.com/api/boost-orders/cancel \
                        -H "Accept: application/json" \
                        -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
                        -H "Content-Type: application/json" \
                        -d '{
                          "order_id": "123456789"
                        }'

πŸ”– Parameters

Field Type Required Description
order_id string βœ… The ID of the boost order you want to cancel.

βœ… Sample Success Response

{
                          "order_id": "123456789",
                          "status": "Canceled",
                          "cancel": 1,
                          "message": "Boost order cancelled and processed successfully."
                        }

❌ Sample Error Response

{
                          "order_id": "123456789",
                          "status": "Not Found",
                          "cancel": 0,
                          "message": "Boost order not found."
                        }
πŸ’‘ Notes:
  • order_id must be a valid boost order belonging to the authenticated user.
  • Only eligible orders (not already completed or refunded) can be canceled.
  • Upon successful cancellation, the system will refund the user's wallet and update the order status.
  • If the order is already completed, cancellation may fail depending on external API response.

Endpoint: /api/boost-orders

Method: GET

Authentication: Bearer Token (Required)

Description: Fetch the authenticated user's history of all boost orders.

Headers:
Accept: application/json
                        Authorization: Bearer YOUR_ACCESS_TOKEN
πŸ“₯ Example cURL Request:
curl -X GET https://logspanel.com/api/boost-orders \
                        -H "Accept: application/json" \
                        -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

βœ… Sample Response

[
                          {
                            "order_id": "123456789",
                            "service_name": "Telegram Group Members",
                            "link": "https://t.me/yourchannel",
                            "quantity": 100,
                            "status": "Completed",
                            "created_at": "2025-08-04 12:34:56"
                          },
                          {
                            "order_id": "987654321",
                            "service_name": "Instagram Likes",
                            "link": "https://instagram.com/yourpost",
                            "quantity": 250,
                            "status": "Pending",
                            "created_at": "2025-08-03 09:21:10"
                          }
                        ]
Loading