Get alert types

Please use this (https://blkem.com/mobile_api/get_alert_types) API for accessing the endpoint of fetching all the alert types


Get parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...

Success response

{
    "code": 200,
    "message": "Fetched successfully",
    "data": [
        {
            "id": 2,
            "name": "asd",
            "options": [
                {
                    "title": "test2",
                    "desc": "asd"
                },
                {
                    "title": "test3",
                    "desc": "est2"
                }
            ],
            "thumbnail": ""
        },
        {
            "id": 3,
            "name": "alert 2",
            "options": [
                {
                    "title": "1",
                    "desc": "test1"
                },
                {
                    "title": "2",
                    "desc": "test2"
                }
            ],
            "thumbnail": ""
        }
    ]
}
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
        "code": 404,
        "message": "No data found",
        "data": []
    }