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>

Payload

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

Values:

<status>

The new campaign status:

  • started
  • stopped
  • completed
<ref>The campaign reference number

Example:

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

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

...