getCampaignStatus method

Find out the status of the campaign created using the createCampaign method.

Principle of use

Syntax and URL to call the method
getCampaignStatus (int campaign_id)
https://api.selzy.com/en/api/getCampaignStatus?format=json&api_key=KEY&campaign_id=ID
Arguments
api_key * API access key.
campaign_id * Campaign code obtained using the createCampaign method.
Return value
JSON object with the following fields:
status Campaign status. Possible options:

  • waits_censor — campaign is waiting to be checked.
  • censor_hold — it is actually equivalent to waits_censor: considered by the administrator, but delayed for further check.
  • declined — the campaign has been rejected by administrator.
  • waits_schedule — the task for placing the list in the queue has been received and the campaign is waiting to be placed in the queue. As a rule, the campaign stays in this status one or two minutes before changing its status on scheduled.
  • scheduled — scheduled to be launched. It will be launched as soon as the sending time comes.
  • in_progress — messages are being sent.
  • analysed — all messages have been sent, the results are being analyzed.
  • completed — all messages have been sent and analysis of the results is completed.
  • stopped — the campaign is paused.
  • canceled — the campaign is canceled (usually due to the lack of money or at the request of the user).
creation_time Campaign creation date and time in the "YYYY-MM-DD hh:mm:ss" format, in the UTC time zone.
start_time Campaign launch date and time in the "YYYY-MM-DD hh:mm:ss" format, in the UTC time zone.
If there are any errors or warnings, they are returned in the error/warnings fields as described. Response example:

{
  "result":{
  	"status":"completed",
  	"creation_time":"2011-09-21 19:47:31",
  	"start_time":"2011-09-21 20:00:00"
  	}
}
Did we answer your question?
0
0

To get more help, contact our Support Team. They are available for all Selzy users 24/7.