How to Send Events to the SendPulse Bypassing Authorization

Sometimes there is a need to start a series of events with bypassing the stage of authorization in SendPulse email service

To be able to send an unauthorized event you will need to know the contact's email address and their phone number (at least one of these parameters)
Also, you will need the so-called Event Hash value — it consists of 32 characters, and you can find it here:

Log in to your SendPulse account, Open Automations menu

Open the Events Manager

Click on the event you need to activate

Copy the value from the Post Raw tab — it is the last two blocks of characters, displayed after the /id/ block

Send this value together with the contact's email address and/or phone number

Example for PHP


require_once 'Automation360.php';

//Last parameter from "POST URL"
$eventHash = 'e5a0e6aa4abd4d43a9a28cbff32c2515/6741804';

$email = '';
$phone = '380931112233';

$variables = [
    'user_id' => 123123,
    'event_date' => date('Y-m-d'),
    'firstname' => 'Name',
    'lastname' => 'Family',
    'age' => 23

$automationClient =  new Automation360($eventHash);

$result = $automationClient->sendEventToSendpulse($email, $phone, $variables);

    echo 'Send request is completed';
}else {
    echo $result['data']['message'];

Example for Python

from Automation360 import Automation360

eventHash = 'e5a0e6aa4abd4d43a9a28cbff32c2515/6741804'
variables = dict(
email = ''
phone = '380931112233'

# if empty email or phone
# phone = None
# or
# email = None

automationClient = Automation360(eventHash)

result = automationClient.send_event_to_sendpulse(email, phone, variables)

Rate this article about "How to Send Events to the SendPulse Bypassing Authorization"

User Rating: 5 / 5 (4)

  • email

Other useful articles

Popular in Our Blog

Try SendPulse today for free