Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Call:

notification of the campaign(s) status changes

...

Type

PubSub

Key

enigma:notifications:campaigns:<ref><campaign_ref>

Payload

  • type: status
  • payload: <notif>
    • status: <new agent status> <status> campaign status
    • ref: <campaign_ref> campaign reference number

Values:

The campaign reference number
<status>

The new campaign status:

  • started
  • stopped
  • completed
<ref>
<campaign_ref>Your Campaign reference

Example:

Code Block
themeMidnight
languagebash
# get notifications for all campaigns
psubscribe enigma:notifications:campaigns:*

# get notifications for campaign 1234
subscribe enigma:notifications:campaigns:1234

...