Skip to main content
Documentation for version v74

Get mailing status

Description

Retrieves a mailing status — whether it is active or inactive.

Request URL

Method: POST

https://example.com/api/v1.1/campaigns/get_status

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
idint12YesMailing ID

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 82
}

Response example

{
"data": {
"is_active": false,
"is_completed": false,
"status": "Inactive"
},
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
is_activeboolMailing active flag
is_completedboolMailing finished flag
statusstringCurrent mailing status