The list command is utilized to fetch a roster of available gates.

JSON Input Data Format
{}

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": [
        {
            "id": "V7b3047b29-xxxx-xxxx-xxxx-9bc7a33bd060",
            "operator": "V72625e2c1-xxxx-xxxx-xxxx-a63fb40f067b",
            "name": "My Email Gate",
            "gatetype": "EMAIL",
            "cloudnode": "V7f780c26d-xxxx-xxxx-xxxx-7a460e988afe",
            "smtpserver": "smtp.gateway.com",
            "smtpport": "587",
            "smtpuser": "someuser@gate.com",
            "smtppass": {
                "iv": "ecd743e2533a055995399bda3fa4eec3",
                "content": "469eae7303a4f35e52f044"
            },
            "smtptemplate": "{\n    \"from\": \"someuser@gate.comt\",\n    \"to\": \"someuser@gate.comt\",\n    \"subject\": \"INFO from #GATE-NAME#\",\n    \"message\": \"The following data was received:^^^^#PAYLOAD#^^^^enter here some follow up text...\"\n}",
            "posturl": "",
            "postheader": "",
            "postdata": "",
            "serviceport": "32002"
        },
        ...
    ]
 }

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}