Get sending configuration
Get /settings/sendingconfiguration
Parameters:
None
Response:
Name | Description | Type | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
accountId | Account ID | Int | ||||||||||||||||||||||||
trackOpens | Enable track for open | Boolean | ||||||||||||||||||||||||
trackClicks | Enable track for clicks | Boolean | ||||||||||||||||||||||||
googleAnalytics |
|
Array | ||||||||||||||||||||||||
trackMailTo | Enable track for mailto links | Boolean | ||||||||||||||||||||||||
unsubscribe |
|
Array |
Programming language:
Response exemple:
{ "accountId": "123456789", "trackOpens": false, "trackClicks": false, "googleAnalytics": {}, "unsubscribe": {} }
Code example:
curl -X GET -H "Content-Type: application/json" -H "X-Tipimail-ApiUser:YOUR_SMTP_USERNAME" -H "X-Tipimail-ApiKey:YOUR_SMTP_KEY" https://api.tipimail.com/v1/settings/sendingconfiguration
require 'vendor/autoload.php'; $tipimail = new Tipimail\Tipimail('YOUR_SMTP_USERNAME', 'YOUR_API_KEY'); try { $result = $tipimail->getSettingsService()->getSendingConfigurationService()->get(); var_dump($result); } catch(Tipimail\Exceptions\TipimailException $e) { echo 'Exception received :', $e->getMessage(), "\n"; }