RSS automations

GET https://lopbe.com/api/rss-automations/
curl --request GET \
--url 'https://lopbe.com/api/rss-automations/' \
--header 'Authorization: Bearer {api_key}' \
Parameters Details Description
page Optional Integer The page number that you want results from. Defaults to 1.
results_per_page Optional Integer How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Defaults to 25.
{
    "data": [
        {
            "id": 1,
            "user_id": 1,
            "device_id": 1,
            "sim_subscription_id": 1,
            "rss_url": "https://example.com/feex.xml",
            "name": "Example",
            "content": "Sample message",
            "settings": {
                "check_interval_seconds": 60,
                "items_count": 3,
                "campaigns_delay": 15,
                "unique_item_identifier": "url",
            },
            "segment": "all",
            "is_enabled": true,
            "total_sent_sms": 0,
            "total_pending_sms": 0,
            "total_failed_sms": 0,
            "last_sent_datetime": null,
            "last_datetime": null,
            "datetime": "2025-10-01 11:38:56",
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://lopbe.com/api/rss-automations?page=1",
        "last": "https://lopbe.com/api/rss-automations?page=1",
        "next": null,
        "prev": null,
        "self": "https://lopbe.com/api/rss-automations?page=1"
    }
}
GET https://lopbe.com/api/rss-automations/{rss_automation_id}
curl --request GET \
--url 'https://lopbe.com/api/rss-automations/{rss_automation_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "user_id": 1,
        "device_id": 1,
        "sim_subscription_id": 1,
        "rss_url": "https://example.com/feex.xml",
        "name": "Example",
        "content": "Sample message",
        "settings": {
            "check_interval_seconds": 60,
            "items_count": 3,
            "campaigns_delay": 15,
            "unique_item_identifier": "url",
        },
        "segment": "all",
        "is_enabled": true,
        "total_sent_sms": 0,
        "total_pending_sms": 0,
        "total_failed_sms": 0,
        "last_sent_datetime": null,
        "last_datetime": null,
        "datetime": "2025-10-01 11:38:56",
    }
}
POST https://lopbe.com/api/rss-automations
Parameters Details Description
rss_url Optional String -
content Required String -
device_id Required Integer -
sim_subscription_id Required Integer -
check_interval_seconds Optional String Allowed values: 900, 1800, 3600, 21600, 43200, 86400, 259200 (seconds)
items_count Optional String Allowed values: 1 - 100
campaigns_delay Optional String Allowed values: 5 - 1440
unique_item_identifier Optional String Allowed values: link, pubdate
is_enabled Optional Boolean -
curl --request POST \
--url 'https://lopbe.com/api/rss-automations' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example name' \
--form 'content=Hello world' \
--form 'device_id=1' \
--form 'sim_subscription_id=1' \
--form 'segment=all' \
--form 'rss_url=https://example.com/feed.xml' \
{
    "data": {
        "id": 1
    }
}
POST https://lopbe.com/api/rss-automations/{rss_automation_id}
Parameters Details Description
rss_url Optional String -
name Optional String -
content Optional String -
device_id Optional Integer -
sim_subscription_id Optional Integer -
check_interval_seconds Optional String Allowed values: 900, 1800, 3600, 21600, 43200, 86400, 259200 (seconds)
items_count Optional String Allowed values: 1 - 100
campaigns_delay Optional String Allowed values: 5 - 1440
unique_item_identifier Optional String Allowed values: link, pubdate
is_enabled Optional Boolean -
curl --request POST \
--url 'https://lopbe.com/api/rss-automations/{rss_automation_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example name' \
--form 'content=Hello world' \
--form 'device_id=1' \
--form 'sim_subscription_id=1' \
--form 'segment=all' \
--form 'rss_url=https://example.com/feed.xml' \
{
    "data": {
        "id": 1
    }
}
DELETE https://lopbe.com/api/rss-automations/{rss_automation_id}
curl --request DELETE \
--url 'https://lopbe.com/api/rss-automations/{rss_automation_id}' \
--header 'Authorization: Bearer {api_key}' \