{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/app.gotsms.org"
        }
    ],
    "info": {
        "name": "GotSMS API Documentation",
        "_postman_id": "c47ef241-8a53-4ceb-bd41-637f284b0788",
        "description": "REST API documentation.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "API",
            "description": "GotSMS API methods.",
            "item": [
                {
                    "name": "Pricelist",
                    "description": "",
                    "item": [
                        {
                            "name": "Get public pricelist",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/pricelist",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/pricelist"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "The icon field is returned only when the request is sent without a token.",
                                "auth": {
                                    "type": "noauth"
                                }
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"data\":[{\"id\":\"9b1f8c3e-1c2a-4f5b-8d7e-0a1b2c3d4e5f\",\"name\":\"Telegram\",\"slug\":\"telegram\",\"icon\":\"https:\\\/\\\/example.com\\\/icons\\\/telegram.png\",\"plans\":[{\"service_name\":\"Telegram\",\"period\":1,\"period_type\":\"day\",\"period_type_label\":\"day\",\"duration_translation\":\"1 day\",\"price\":1,\"renew_price\":1,\"country\":\"USA\",\"billing_type\":\"duration\"}]},{\"id\":\"2c7d9a41-5e6f-4a8b-9c0d-1e2f3a4b5c6d\",\"name\":\"WhatsApp\",\"slug\":\"whatsapp\",\"icon\":null,\"plans\":[{\"service_name\":\"WhatsApp\",\"period\":1,\"period_type\":\"month\",\"period_type_label\":\"month\",\"duration_translation\":\"1 month\",\"price\":4.99,\"renew_price\":4.99,\"country\":\"USA\",\"billing_type\":\"duration\"}]}]}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Rents",
                    "description": "",
                    "item": [
                        {
                            "name": "List cellular carriers",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/carriers",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/carriers"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "",
                                "auth": {
                                    "type": "noauth"
                                }
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"data\":[{\"id\":\"uuid\",\"name\":\"T-Mobile\"}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get rent plans",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/rents\/plans",
                                    "query": [
                                        {
                                            "key": "service_id",
                                            "value": "",
                                            "description": "Filter by service UUID.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "country_id",
                                            "value": "",
                                            "description": "Filter by country UUID.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "duration_type",
                                            "value": "",
                                            "description": "Filter by duration type.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "billing_type",
                                            "value": "",
                                            "description": "Filter by billing type.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "search",
                                            "value": "",
                                            "description": "Search in service name.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "per_page",
                                            "value": "",
                                            "description": "Pagination size (max 100).",
                                            "disabled": true
                                        },
                                        {
                                            "key": "include_unavailable",
                                            "value": "",
                                            "description": "Also return plans that are currently sold out.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/rents\/plans?service_id=&country_id=&duration_type=&billing_type=&search=&per_page=&include_unavailable="
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "By default only plans with numbers in stock are returned. Pass include_unavailable=1 to also get sold-out plans: they are marked is_available = false and listed after the available ones."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"data\":[{\"id\":\"uuid\",\"service\":{\"id\":\"uuid\",\"name\":\"Telegram\"},\"country\":{\"id\":\"uuid\",\"name\":\"USA\"},\"billing_type\":\"duration\",\"duration_type\":\"day\",\"duration_in_type\":1,\"duration_in_minutes\":1440,\"duration_translation\":\"1 day\",\"price\":1,\"renew_price\":1,\"is_available\":true}],\"meta\":{\"current_page\":1,\"last_page\":1,\"per_page\":25,\"total\":1}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "List user rents",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/rents",
                                    "query": [
                                        {
                                            "key": "status",
                                            "value": "",
                                            "description": "Filter by status.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "service",
                                            "value": "",
                                            "description": "Service name search.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "phone",
                                            "value": "",
                                            "description": "Phone search.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "notes",
                                            "value": "",
                                            "description": "Search in rent notes.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "per_page",
                                            "value": "",
                                            "description": "Pagination size (max 100).",
                                            "disabled": true
                                        },
                                        {
                                            "key": "page",
                                            "value": "",
                                            "description": "Page number, starting from 1.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/rents?status=&service=&phone=&notes=&per_page=&page="
                                },
                                "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\":\"uuid\",\"service\":{\"id\":\"uuid\",\"name\":\"Telegram\"},\"plan\":{\"id\":\"uuid\",\"billing_type\":\"duration\",\"duration_type\":\"day\",\"duration_in_type\":1,\"duration_translation\":\"1 day\",\"price\":1,\"renew_price\":1},\"phone\":\"+1 202-555-0123\",\"price\":1,\"status\":\"active\",\"is_included_for_next_renewal\":false,\"active_from\":\"2026-03-11T12:00:00+00:00\",\"active_till\":\"2026-03-12T12:00:00+00:00\",\"wake_from\":null,\"wake_till\":null,\"can_wake_up\":true,\"notes\":\"Call customer after activation\",\"transition_options\":[{\"plan_id\":\"uuid\",\"duration_type\":\"day\",\"duration_in_type\":7,\"duration_translation\":\"7 days\",\"price\":5}]}],\"meta\":{\"current_page\":1,\"last_page\":1,\"per_page\":20,\"total\":1}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "List services that can be added to a rent",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/rents\/:rent_id\/services",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/rents\/:rent_id\/services",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Services the same number can additionally receive SMS for. Only active rents support it; unavailable services are listed with is_available = false."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"data\":[{\"service_id\":\"uuid\",\"name\":\"WhatsApp\",\"price\":2,\"base_price\":1,\"add_service_markup\":1,\"is_available\":true}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create new rent",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/rents",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/rents"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"plan_id\":null}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"success\":true,\"message\":\"Rent created successfully.\",\"data\":{\"id\":\"uuid\",\"service\":{\"id\":\"uuid\",\"name\":\"Telegram\"},\"plan\":{\"id\":\"uuid\",\"billing_type\":\"duration\",\"duration_type\":\"day\",\"duration_in_type\":1,\"duration_translation\":\"1 day\",\"price\":1,\"renew_price\":1},\"phone\":\"+1 202-555-0123\",\"price\":1,\"status\":\"active\",\"is_included_for_next_renewal\":false,\"active_from\":\"2026-03-11T12:00:00+00:00\",\"active_till\":\"2026-03-12T12:00:00+00:00\",\"wake_from\":null,\"wake_till\":null,\"can_wake_up\":true,\"notes\":null,\"transition_options\":[]}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create several rents at once",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/rents\/bulk",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/rents\/bulk"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"plan_id\":\"No-example\",\"quantity\":5}"
                                },
                                "description": "Rents up to 25 numbers of one plan in a single request. When fewer numbers are available, the ones that could be rented are returned."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"success\":true,\"message\":\"Rented 2 of 3 numbers.\",\"data\":[{\"id\":\"uuid\",\"service\":{\"id\":\"uuid\",\"name\":\"Telegram\"},\"plan\":{\"id\":\"uuid\",\"billing_type\":\"duration\",\"duration_type\":\"day\",\"duration_in_type\":1,\"duration_translation\":\"1 day\",\"price\":1,\"renew_price\":1},\"phone\":\"+1 202-555-0123\",\"price\":1,\"status\":\"active\",\"is_included_for_next_renewal\":false,\"active_from\":\"2026-03-11T12:00:00+00:00\",\"active_till\":\"2026-03-12T12:00:00+00:00\",\"wake_from\":null,\"wake_till\":null,\"can_wake_up\":true,\"notes\":null,\"transition_options\":[]}],\"meta\":{\"requested\":3,\"rented\":2,\"failed\":0}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"success\":false,\"message\":\"No number available for this service.\",\"meta\":{\"requested\":3,\"rented\":0,\"failed\":0}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Transition rent to another plan",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/rents\/:rent_id\/transition",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/rents\/:rent_id\/transition",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"plan_id\":null}"
                                },
                                "description": "Moves the rent to another plan. The plans a rent can move to are returned for it in transition_options by GET \/api\/rents. The new period is charged at the plan price and starts when the period already paid for ends."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"message\":\"Plan transitioned successfully.\",\"data\":{\"id\":\"uuid\",\"status\":\"active\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"success\":false,\"message\":\"Transition to selected plan is unavailable.\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Toggle auto renewal",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/rents\/:rent_id\/renewal\/toggle",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/rents\/:rent_id\/renewal\/toggle",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "With auto-renewal on, the renew price is charged at the moment the paid period ends and the next period starts right away, without a gap. If the balance does not cover it, the rent ends. A rent that has already ended cannot be switched back on."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"message\":\"Auto renewal enabled.\",\"data\":{\"id\":\"uuid\",\"is_included_for_next_renewal\":true}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"success\":false,\"message\":\"Failed to toggle auto renewal.\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Refund rent",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/rents\/:rent_id\/refund",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/rents\/:rent_id\/refund",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "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\":\"Rent has been refunded successfully.\",\"data\":{\"id\":\"uuid\",\"status\":\"finished\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"success\":false,\"message\":\"Refund not available for this rent.\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Add a service to a rent",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/rents\/:rent_id\/services",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/rents\/:rent_id\/services",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"service_id\":\"No-example\"}"
                                },
                                "description": "Adds one more service to the same number as a separate rent with the same duration, charged at the price from GET \/api\/rents\/{rent_id}\/services."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"success\":true,\"message\":\"Service added to the number.\",\"data\":{\"id\":\"uuid\",\"status\":\"active\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"success\":false,\"message\":\"Adding a service is not available for this number.\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Account",
                    "description": "",
                    "item": [
                        {
                            "name": "Get account balance",
                            "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\":{\"balance\":125.5}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Services",
                    "description": "",
                    "item": [
                        {
                            "name": "Get services",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/services",
                                    "query": [
                                        {
                                            "key": "search",
                                            "value": "",
                                            "description": "Search in service name.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "per_page",
                                            "value": "",
                                            "description": "Pagination size (max 100).",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/services?search=&per_page="
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Includes services whose numbers are sold out right now, marked is_available = false."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"data\":[{\"id\":\"uuid\",\"name\":\"Telegram\",\"is_available\":true}],\"meta\":{\"current_page\":1,\"last_page\":1,\"per_page\":25,\"total\":1}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Messages",
                    "description": "",
                    "item": [
                        {
                            "name": "List all SMS messages across all rents",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/messages",
                                    "query": [
                                        {
                                            "key": "service_id",
                                            "value": "",
                                            "description": "Filter by service UUID. Must be a valid UUID.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "phone",
                                            "value": "",
                                            "description": "Phone search. Must not be greater than 32 characters.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "per_page",
                                            "value": "",
                                            "description": "Pagination size (max 100). Must be at least 1. Must not be greater than 100.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "page",
                                            "value": "",
                                            "description": "Page number, starting from 1.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/messages?service_id=&phone=&per_page=&page="
                                },
                                "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\":\"uuid\",\"rent_id\":\"uuid\",\"service\":{\"id\":\"uuid\",\"name\":\"Telegram\"},\"phone\":\"+1 202-555-0123\",\"from\":\"+18001234567\",\"to\":\"+1 202-555-0123\",\"body\":\"Your verification code is 123456\",\"code\":\"123456\",\"received_at\":\"2026-03-11T12:00:00+00:00\"}],\"meta\":{\"current_page\":1,\"last_page\":1,\"per_page\":20,\"total\":1}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "List unread SMS messages",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/messages\/unread",
                                    "query": [
                                        {
                                            "key": "service_id",
                                            "value": "",
                                            "description": "Filter by service UUID.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "rent_id",
                                            "value": "",
                                            "description": "Filter by rent UUID.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "phone",
                                            "value": "",
                                            "description": "Phone search.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "per_page",
                                            "value": "",
                                            "description": "Pagination size (max 100).",
                                            "disabled": true
                                        },
                                        {
                                            "key": "mark_as_read",
                                            "value": "",
                                            "description": "Mark returned messages as read.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "page",
                                            "value": "",
                                            "description": "Page number, starting from 1.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/messages\/unread?service_id=&rent_id=&phone=&per_page=&mark_as_read=&page="
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Unread SMS received in the last 30 days, newest first."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"data\":[{\"id\":\"uuid\",\"rent_id\":\"uuid\",\"service\":{\"id\":\"uuid\",\"name\":\"Telegram\"},\"phone\":\"+1 202-555-0123\",\"from\":\"+18001234567\",\"to\":\"+1 202-555-0123\",\"body\":\"Your verification code is 123456\",\"code\":\"123456\",\"received_at\":\"2026-03-11T12:00:00+00:00\"}],\"meta\":{\"current_page\":1,\"last_page\":1,\"per_page\":20,\"total\":1}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Numbers",
                    "description": "",
                    "item": [
                        {
                            "name": "List all active numbers",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/numbers",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/numbers"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Every number currently rented by the account, without pagination."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"data\":[{\"id\":\"uuid\",\"phone\":\"+1 202-555-0123\",\"service\":\"Telegram\",\"active_till\":\"2026-03-12T12:00:00+00:00\",\"is_included_for_next_renewal\":true,\"notes\":\"Farm A\"}],\"meta\":{\"total\":1}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Wake up a rented number",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/numbers\/:rent_id\/wake-up",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/numbers\/:rent_id\/wake-up",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "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\":\"Wake up request sent.\",\"data\":{\"rent_id\":\"uuid\",\"status\":\"in_queue\",\"active_from\":\"2026-03-11T12:00:00+00:00\",\"active_till\":\"2026-03-12T12:00:00+00:00\",\"wake_from\":\"2026-03-11T12:03:00+00:00\",\"wake_till\":\"2026-03-11T12:08:00+00:00\",\"online_till\":\"2026-03-12T12:00:00+00:00\",\"wakeup_time_left_seconds\":480,\"online_time_left_seconds\":86400,\"can_wake_up\":false}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"success\":false,\"message\":\"The rental has already ended.\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get SMS messages for a rent",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/numbers\/:rent_id\/messages",
                                    "query": [
                                        {
                                            "key": "limit",
                                            "value": "",
                                            "description": "Number of records (max 100).",
                                            "disabled": true
                                        },
                                        {
                                            "key": "before_id",
                                            "value": "",
                                            "description": "Return messages older than the message with this id. Pass meta.next_before_id from the previous response to get the next page.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/numbers\/:rent_id\/messages?limit=&before_id=",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "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\":\"uuid\",\"from\":\"+18001234567\",\"to\":\"+1 202-555-0123\",\"body\":\"Your verification code is 123456\",\"code\":\"123456\",\"received_at\":\"2026-03-11T12:00:00+00:00\"}],\"meta\":{\"next_before_id\":\"uuid\",\"count\":1}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get notes for a rented number",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/numbers\/:rent_id\/notes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/numbers\/:rent_id\/notes",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "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\":{\"rent_id\":\"uuid\",\"notes\":\"Call customer after activation\"}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update notes for a rented number",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/numbers\/:rent_id\/notes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/numbers\/:rent_id\/notes",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"notes\":\"Call customer after activation\"}"
                                },
                                "description": "Replaces the current note."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"success\":true,\"message\":\"Notes updated successfully.\",\"data\":{\"rent_id\":\"uuid\",\"notes\":\"Call customer after activation\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"The notes field must contain plain text only. HTML is not allowed.\",\"errors\":{\"notes\":[\"The notes field must contain plain text only. HTML is not allowed.\"]}}",
                                    "name": "Validation failed"
                                }
                            ]
                        },
                        {
                            "name": "Get number queue\/wakeup\/online status",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/numbers\/:rent_id\/status",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/numbers\/:rent_id\/status",
                                    "variable": [
                                        {
                                            "id": "rent_id",
                                            "key": "rent_id",
                                            "value": "9d3f8f6a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
                                            "description": "Rent UUID."
                                        }
                                    ]
                                },
                                "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\":{\"rent_id\":\"uuid\",\"status\":\"active\",\"active_from\":\"2026-03-11T12:00:00+00:00\",\"active_till\":\"2026-03-12T12:00:00+00:00\",\"wake_from\":\"2026-03-11T12:00:00+00:00\",\"wake_till\":\"2026-03-11T12:05:00+00:00\",\"online_till\":\"2026-03-12T12:00:00+00:00\",\"wakeup_time_left_seconds\":120,\"online_time_left_seconds\":86220,\"can_wake_up\":false}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "Authorization",
                "type": "string"
            }
        ]
    }
}