API Documentation


Register as to generate your Key

Service List

Endpoint: /api/service/list

Method: GET

Authentication: Token

Description: Retrieves the list of available services.

Request Example


    curl -X GET "https://boostmypost.online/api/service/list" -H "Authorization: Token your_token_here"
                

Response Example


    {
        "data": [
            {
                "id": 1,
                "Type": "Facebook Post Share",
                "price": "10.00",
                "is_active": true
            },
            {
                "id": 2,
                "Type": "Twitter Like",
                "price": "8.00",
                "is_active": true
            }
        ],
        "message": "Services Lists",
        "status": true
    }
                

Place Order

Endpoint: /api/place/order

Method: POST

Authentication: Token

Description: Places a new order.

Request Example


    curl -X POST "https://boostmypost.online/api/place/order" -H "Authorization: Token your_token_here" -H "Content-Type: application/json" -d '{
        "Social_Media": 1,
        "link": "https://example.com",
        "rate_needed": 20,
        "custom_text": "Please post this on Facebook"
    }'
                

Response Example


    {
        "status": true,
        "message": "Order posted successfully and $200.00 have been deducted in your balance NOTE: Order will be in pending till admin verify the post. if the order was rejected you will be refunded fully",
        "data": {
            "id": 1,
            "Social_Media": 1,
            "status": "pending",
            "message": "",
            "progressing": false,
            "link": "https://example.com",
            "date_posted": "2023-07-01T12:00:00Z",
            "rate_needed": 20,
            "rate_done": 0,
            "amount_paid": 200.00,
            "amount_refunded": 0.00,
            "custom_text": "Please post this on Facebook",
            "order_method": "API"
        }
    }
                

GET Order List

Endpoint: /order/list

Method: GET

Authentication: Token

Description:Get order lists

Request Example


    curl -X GET "https://boostmypost.online/api/order/list" -H "Authorization: Token your_token_here" -H "Content-Type: application/json" -p '{
        status (pending, approved, rejected, finished, cancel, paused)
    }'
                

Response Example


                    {
                        "status":true or false,
                        "count":9434,
                        "total_pages":189,
                        "current_page_number":1,
                        "next":"http://127.0.0.1:9000/api/order/list?page=2",
                        "next_page_number":2,
                        "previous":null,
                        "previous_page_number":null,
                        'data': 
                            [
                            {
                                "id": 1,
                                "Social_Media": 1,
                                "status": "pending",
                                "message": "",
                                "progressing": false,
                                "link": "https://example.com",
                                "date_posted": "2023-07-01T12:00:00Z",
                                "rate_needed": 20,
                                "rate_done": 0,
                                "amount_paid": 200.00,
                                "amount_refunded": 0.00,
                                "custom_text": "Please post this on Facebook",
                                "order_method": "API"
                            }, 
                            {
                                "id": 1,
                                "Social_Media": 1,
                                "status": "pending",
                                "message": "",
                                "progressing": false,
                                "link": "https://example.com",
                                "date_posted": "2023-07-01T12:00:00Z",
                                "rate_needed": 20,
                                "rate_done": 0,
                                "amount_paid": 200.00,
                                "amount_refunded": 0.00,
                                "custom_text": "Please post this on Facebook",
                                "order_method": "API"
                            },
                            ]
                        }
                

GET Order

Endpoint: /get/order

Method: GET

Authentication: Token

Description: Get a single order.

Request Example


            curl -X GET "https://boostmypost.online/get/order" -H "Authorization: Token your_token_here" -H "Content-Type: application/json" -d '{
                id or link
            }'
                        

Response Example


            {
                "status": true,
                "data": {
                    "id": 1,
                    "Social_Media": 1,
                    "status": "pending",
                    "message": "",
                    "progressing": false,
                    "link": "https://example.com",
                    "date_posted": "2023-07-01T12:00:00Z",
                    "rate_needed": 20,
                    "rate_done": 0,
                    "amount_paid": 200.00,
                    "amount_refunded": 0.00,
                    "custom_text": "Please post this on Facebook",
                    "order_method": "API"
                }
            }