LeKoala\SparkPost\Api\SparkPostApiClient::createSimpleWebhook
A simpler call to the api
Signature
public function createSimpleWebhook(string
$name,
string
$target,
[array
$events = NULL,
[boolean
$auth = false,
[array
$credentials = NULL]]] )
Parameters
$name
— string$target
— string$events
— array$auth
— boolean- Should we use basic auth ?
$credentials
— array- An array containing "username" and "password"
Returns
- type