create(params,
public_api_key=None,
private_api_key=None)
Static Method
| source code
|
Create an Event object.
- Parameters:
params - a dict of parameters; valid keys are:
-
payload : The raw JWS message payload.
required
-
url : The URL for the webhook. If present it
must match the URL registered for the webhook.
public_api_key - Public key to use for the API call. If None , the
value of simplify.public_key will be used.
private_api_key - API key to use for the API call. If None , the value
of simplify.private_key will be used.
- Returns:
- an Event object
|