Documentation for version v72
Get node MTA status
Description
Retrieves node message transfer agent status.
Request URL
Method: POST
https://example.com/api/v1.1/admin/nodes/mta/status/
Request parameters
| Parameter | Type | Example | Reqired | Description |
|---|---|---|---|---|
| token | string | "abcdefghijklmnqrstuvwxyz" | Yes | API token |
| id | int | 10 | Yes | Node ID |
| format | string | "json" | No | Response data format By default – json |
Request example
- JSON
- XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 10
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<id>10</id>
</xml>
Response example
- JSON
- XML
{
"data": {
"synced": false,
"running": true
},
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data>
<running>true</running>
<synced>false</synced>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>
Response parameters
| Parameter | Type | Description |
|---|---|---|
| error | int | Error code |
| error_text | string | Error text |
| synced | bool | MTA synchronization status |
| running | bool | MTA status |