Get a webhook

Get /settings/webhooks/{id}

URL parameters:

Name Description Type Mandatory
id Id of the webhook String Yes


Webhook node with all informations:

Name Description Type
id Id of the webhook String
url Webhook url String
description Webhook description String
events Events used for the Webhook Array of String
success Number of call in success Int
errors Number of call in error Int
createdAt Creation date String
updatedAt Update date String
Programming language:

Response exemple:

								  "id": "561d21979932836f57bbb894",
								  "url": "",
								  "description": "Webhook description",
								  "createdAt": "1444749719",
								  "updatedAt": "1444749719",
								  "success": 10,
								  "errors": 0,
								  "events": [

Code example:

								curl -X GET -H "Content-Type: application/json" -H "X-Tipimail-ApiUser:YOUR_SMTP_USERNAME" -H "X-Tipimail-ApiKey:YOUR_SMTP_KEY"
require 'vendor/autoload.php';

$tipimail = new Tipimail\Tipimail('YOUR_SMTP_USERNAME', 'YOUR_API_KEY');

try {
	$result = $tipimail->getSettingsService()->getWebhooksService()->get('646r54g6r4gr6g46g46546d4');
catch(Tipimail\Exceptions\TipimailException $e) {
	echo 'Exception received :', $e->getMessage(), "\n";