{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/api.mobsms.cloud"
        }
    ],
    "info": {
        "name": "MobSMS Gateway API",
        "_postman_id": "146a11d5-8865-4f21-878a-009e2608c87b",
        "description": "Send and track SMS through your own Android gateway devices over a simple REST API.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "API Keys",
            "description": "\nCreate and revoke the API keys used to authenticate API requests.",
            "item": [
                {
                    "name": "List the user's API keys (never returns the plaintext token).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tokens",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/tokens"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": [{\"id\": 5, \"name\": \"Production server\", \"abilities\": [\"*\"], \"last_used_at\": \"2026-06-08T10:00:00.000000Z\", \"created_at\": \"2026-06-01T09:00:00.000000Z\"}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a new API key. The plaintext token is returned ONCE.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tokens",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/tokens"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"b\",\"abilities\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"success\": true, \"message\": \"API key created. Copy it now \u2014 it will not be shown again.\", \"data\": {\"id\": 6, \"name\": \"Production server\", \"token\": \"6|aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789\", \"created_at\": \"2026-06-08T10:00:00.000000Z\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Revoke (delete) an API key the user owns.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tokens\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/tokens\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the token."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"message\": \"API key revoked\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Account",
            "description": "\nAccount overview: balance, usage and spend.",
            "item": [
                {
                    "name": "Display the authenticated user's account overview.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/account",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/account"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"user\": {\"id\": 1, \"name\": \"Ali\", \"email\": \"ali@example.com\"}, \"balance\": 0, \"sms_rate\": 100, \"usage\": {\"total_sms\": 1200, \"total_spent\": 120000, \"today_sms\": 8, \"today_spent\": 800, \"month_sms\": 240, \"month_spent\": 24000}, \"stats\": {\"total_sent\": 1100, \"total_delivered\": 1050, \"total_failed\": 50, \"total_pending\": 0, \"total_received\": 30, \"devices\": 2, \"active_devices\": 1}, \"subscription\": {\"plan\": \"premium\", \"is_premium\": true, \"premium_expires_at\": \"2027-06-08T00:00:00.000000Z\", \"prices\": {\"monthly\": 5, \"yearly\": 50, \"currency\": \"USD\"}, \"features\": [\"api\", \"webhooks\", \"bulk\"]}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Display the authenticated user's account overview.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/balance",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/balance"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"user\": {\"id\": 1, \"name\": \"Ali\", \"email\": \"ali@example.com\"}, \"balance\": 0, \"sms_rate\": 100, \"usage\": {\"total_sms\": 1200, \"total_spent\": 120000, \"today_sms\": 8, \"today_spent\": 800, \"month_sms\": 240, \"month_spent\": 24000}, \"stats\": {\"total_sent\": 1100, \"total_delivered\": 1050, \"total_failed\": 50, \"total_pending\": 0, \"total_received\": 30, \"devices\": 2, \"active_devices\": 1}, \"subscription\": {\"plan\": \"premium\", \"is_premium\": true, \"premium_expires_at\": \"2027-06-08T00:00:00.000000Z\", \"prices\": {\"monthly\": 5, \"yearly\": 50, \"currency\": \"USD\"}, \"features\": [\"api\", \"webhooks\", \"bulk\"]}}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "App",
            "description": "\nSelf-update feed for the Android gateway app. The app polls `latest` on\nlaunch (and periodically) and installs the APK when the server build is\nnewer than its own version code.",
            "item": [
                {
                    "name": "Latest gateway-app release.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/app\/latest",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/app\/latest"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the newest active release. The app compares `version_code`\nagainst its own build number and prompts an update when this is higher.\n`data` is null when no release is published.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"version_name\": \"1.0.1\", \"version_code\": 2, \"release_notes\": \"Bug fixes and a faster send queue.\", \"mandatory\": false, \"apk_url\": \"https:\/\/api.mobsms.cloud\/api\/app\/download\/3\", \"apk_size\": 27418624}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": null}",
                            "name": "no release published"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Authentication",
            "description": "\nObtain a token for the dashboard\/app. For server-to-server API access, create\na long-lived API key under \"API Keys\" instead.",
            "item": [
                {
                    "name": "Login",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/login",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/login"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"email\":\"you@example.com\",\"password\":\"secret123\"}"
                        },
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"token\": \"9|aBcDeF...plaintext\", \"user\": {\"id\": 1, \"name\": \"Ali\", \"email\": \"you@example.com\"}, \"token_type\": \"Bearer\"}, \"message\": \"Login successful\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"success\": false, \"message\": \"Invalid credentials\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/register",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/register",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/register"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Ali Valiyev\",\"email\":\"ali@example.com\",\"password\":\"secret123\",\"password_confirmation\":\"secret123\"}"
                        },
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"success\": true, \"data\": {\"token\": \"10|aBcDeF...plaintext\", \"user\": {\"id\": 2, \"name\": \"Ali Valiyev\", \"email\": \"ali@example.com\"}, \"token_type\": \"Bearer\"}, \"message\": \"Registration successful\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Sign in with Google (GIS \/ ID-token flow).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/auth\/google",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/auth\/google"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"id_token\":\"architecto\"}"
                        },
                        "description": "The frontend obtains an ID token from Google Identity Services and posts\nit here. We verify it against Google's tokeninfo endpoint (validates the\nsignature + expiry), check the audience\/issuer, then link-by-email or\ncreate the user and issue a Sanctum token.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"token\": \"11|aBcDeF...plaintext\", \"user\": {\"id\": 3, \"name\": \"Ali\", \"email\": \"ali@gmail.com\"}, \"token_type\": \"Bearer\"}, \"message\": \"Login successful\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"success\": false, \"message\": \"Invalid Google token\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Logout user",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/logout",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/logout"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"message\": \"Logout successful\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get authenticated user",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/user",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/user"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"id\": 1, \"name\": \"Ali\", \"email\": \"ali@example.com\", \"plan\": \"premium\", \"premium_expires_at\": \"2027-06-08T00:00:00.000000Z\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Contacts",
            "description": "\nManage your address book. Contacts can belong to one or more groups and are\nused as bulk-SMS recipients.",
            "item": [
                {
                    "name": "Bulk-import contacts (e.g. from a parsed CSV).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/contacts\/import",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/contacts\/import"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"contacts\":[{\"name\":\"Ali\",\"phone_number\":\"+998901112233\"}],\"group_id\":10}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"success\": true, \"data\": {\"imported\": 42, \"skipped\": 3}, \"message\": \"Imported 42 contacts\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Devices",
            "description": "\nList your gateway devices. Sending does not require a device id \u2014 it's used\nonly if you want to target a specific device.",
            "item": [
                {
                    "name": "Display a listing of the resource.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/devices",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/devices"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": [{\"id\": 5, \"device_id\": \"abc123\", \"device_name\": \"Pixel 7\", \"phone_number\": \"+998901234567\", \"is_active\": true, \"is_default\": true, \"sms_rate\": 100, \"send_delay_seconds\": 0, \"default_sim_slot\": 0}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Set the user's default device (used when an API send omits device_id).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/devices\/default-device",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/devices\/default-device"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"device_id\":\"architecto\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"id\": 5, \"device_name\": \"Pixel 7\", \"is_default\": true}, \"message\": \"Default device updated successfully\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "SMS",
            "description": "\nSend SMS and read message history & delivery status.",
            "item": [
                {
                    "name": "Send bulk SMS",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms\/bulk",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sms\/bulk"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"message\":\"Hi {name}, your code is 1234\",\"recipients\":[\"+998901234567\"],\"device_id\":\"active\",\"price\":27,\"my_id\":\"campaign-7\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"success\": true, \"data\": [{\"id\": 201, \"message_id\": \"uuid-1\", \"recipient_number\": \"+998901112233\", \"status\": \"pending\", \"price\": 100, \"is_charged\": false, \"direction\": \"outbound\"}], \"message\": \"Bulk SMS queued for sending\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"success\": false, \"message\": \"No active device available\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delivery statistics",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms\/delivery-stats",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sms\/delivery-stats"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"today\": {\"sent\": 8, \"delivered\": 7, \"failed\": 1, \"delivery_rate\": 87.5}, \"this_week\": {\"sent\": 40, \"delivered\": 38, \"delivery_rate\": 95}, \"this_month\": {\"sent\": 240, \"delivered\": 230, \"delivery_rate\": 95.8}}, \"message\": \"Delivery statistics retrieved successfully\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "List outbound (sent) messages.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms\/outbox",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sms\/outbox"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"current_page\": 1, \"data\": [{\"id\": 101, \"recipient_number\": \"+998901234567\", \"message\": \"Hello\", \"status\": \"delivered\", \"price\": 100, \"is_charged\": false, \"created_at\": \"2026-06-08T10:00:00.000000Z\"}], \"per_page\": 50, \"total\": 1}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "List inbound (received) messages.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms\/inbox",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sms\/inbox"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"current_page\": 1, \"data\": [{\"id\": 55, \"sender_number\": \"+998907778899\", \"message\": \"Reply text\", \"status\": \"received\", \"direction\": \"inbound\", \"created_at\": \"2026-06-08T09:00:00.000000Z\"}], \"per_page\": 50, \"total\": 1}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Cancel a pending outbound message.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms\/:id\/cancel",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sms\/:id\/cancel",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the sms."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"id\": 101, \"status\": \"cancelled\"}, \"message\": \"SMS cancelled successfully\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"success\": false, \"message\": \"Only pending messages can be cancelled\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "List messages",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms",
                            "query": [
                                {
                                    "key": "direction",
                                    "value": "outbound",
                                    "description": "Filter by `inbound` or `outbound`.",
                                    "disabled": false
                                },
                                {
                                    "key": "status",
                                    "value": "delivered",
                                    "description": "Filter by status (pending, sent, delivered, failed).",
                                    "disabled": false
                                },
                                {
                                    "key": "device_id",
                                    "value": "5",
                                    "description": "Filter by device id.",
                                    "disabled": false
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/sms?direction=outbound&status=delivered&device_id=5&page=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Paginated message history (newest first), filterable."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"current_page\": 1, \"data\": [{\"id\": 101, \"message_id\": \"9f1c-uuid\", \"recipient_number\": \"+998901234567\", \"sender_number\": \"+998901112233\", \"message\": \"Hello\", \"direction\": \"outbound\", \"status\": \"delivered\", \"price\": 100, \"is_charged\": false, \"sent_at\": \"2026-06-08T10:00:01.000000Z\", \"delivered_at\": \"2026-06-08T10:00:05.000000Z\", \"created_at\": \"2026-06-08T10:00:00.000000Z\"}], \"per_page\": 50, \"total\": 1}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Send an SMS",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sms"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"message\":\"Your code is 1234\",\"recipient_number\":\"+998901234567\",\"device_id\":\"active\",\"price\":39,\"my_id\":\"order-42\",\"callback_url\":\"https:\\\/\\\/example.com\\\/sms\\\/callback\"}"
                        },
                        "description": "Queues a single SMS to be sent from your active gateway device."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"success\": true, \"message\": \"SMS queued for sending\", \"data\": {\"id\": 101, \"message_id\": \"9f1c...uuid\", \"recipient_number\": \"+998901234567\", \"status\": \"pending\", \"price\": 100, \"is_charged\": false, \"direction\": \"outbound\", \"callback_url\": \"https:\/\/example.com\/sms\/callback\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"success\": false, \"message\": \"No active device available\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a message",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sms\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the sms."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Fetch one message by numeric id or by its `message_id` UUID (poll delivery status)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"id\": 101, \"message_id\": \"9f1c-uuid\", \"recipient_number\": \"+998901234567\", \"status\": \"delivered\", \"price\": 100, \"is_charged\": false, \"sent_at\": \"2026-06-08T10:00:01.000000Z\", \"delivered_at\": \"2026-06-08T10:00:05.000000Z\", \"error_message\": null, \"callback_url\": null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"No query results for model [SmsMessage].\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update a message",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sms\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the sms."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"status\":\"received\",\"error_message\":\"architecto\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"id\": 101, \"status\": \"delivered\"}, \"message\": \"SMS updated successfully\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete a message",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sms\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sms\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the sms."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"message\": \"SMS deleted successfully\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Settings",
            "description": "\nAccount-level preferences.",
            "item": [
                {
                    "name": "Show the authenticated user's settings.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/settings",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/settings"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"keep_inbound\": true}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update the authenticated user's settings.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/settings",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/settings"
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"keep_inbound\":false}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"keep_inbound\": false}, \"message\": \"Settings updated successfully\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Subscription",
            "description": "\nPremium plan status, pricing, crypto-payment details, and promo-code redemption.",
            "item": [
                {
                    "name": "Get the authenticated user's subscription status, pricing and payment info.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/subscription",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/subscription"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"plan\": \"premium\", \"is_premium\": true, \"premium_expires_at\": \"2027-06-08T00:00:00.000000Z\", \"prices\": {\"monthly\": 5, \"yearly\": 50, \"currency\": \"USD\"}, \"features\": [\"api\", \"webhooks\", \"bulk\"], \"payment\": {\"wallet_address\": \"UQCGj7fXHlxD5H_uwbrJSE9N6NPMQ62pz_eoxViCdNYCF5Gh\", \"asset\": \"USDT (TON)\", \"network\": \"TON\", \"admin_telegram\": \"@dev_murod\"}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Redeem a promo code to unlock Premium for free.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/subscriptions\/redeem-promo",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/subscriptions\/redeem-promo"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"code\":\"PDAFTAR\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"message\": \"Promo code redeemed \u2014 Premium activated.\", \"data\": {\"plan\": \"premium\", \"is_premium\": true, \"premium_expires_at\": \"2027-06-08T00:00:00.000000Z\", \"prices\": {\"monthly\": 5, \"yearly\": 50, \"currency\": \"USD\"}, \"features\": [\"api\", \"webhooks\", \"bulk\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"success\": false, \"message\": \"This promo code is invalid or no longer available.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Webhooks",
            "description": "\nRegister callback URLs to receive incoming-SMS and delivery-status events.",
            "item": [
                {
                    "name": "Display the authenticated user's webhook URLs.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/webhooks",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/webhooks"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"webhook_url_incoming\": \"https:\/\/example.com\/incoming\", \"webhook_url_status\": \"https:\/\/example.com\/status\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update the authenticated user's webhook URLs.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/webhooks",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/webhooks"
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"webhook_url_incoming\":\"https:\\\/\\\/example.com\\\/incoming\",\"webhook_url_status\":\"https:\\\/\\\/example.com\\\/status\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\": true, \"data\": {\"webhook_url_incoming\": \"https:\/\/example.com\/incoming\", \"webhook_url_status\": \"https:\/\/example.com\/status\"}, \"message\": \"Webhooks updated successfully\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "key",
                "type": "string"
            }
        ]
    }
}