List dedicated IPs

Post /settings/ips

Parameters:

None

Response:

Node of IP:

Name Description Type
id IP Id String
type 0: transactional ; 1: bulk Int
ip IP address String
expirationDate Datetime on timestamp format Int
subscriptionDate Datetime on timestamp format Int
Programming language:

Response exemple:

							[
								{
									"ip": "00.00.00.00",
									"type": 0,
									"id": "5gre654gre6g87trh64htr6f",
									"expirationDate": 1440774150,
									"subscriptionDate": 1438009350
								},
								{
									"ip": "00.00.00.01",
									"type": 0,
									"id": "55g654h6r54jty86j7t6h54r",
									"expirationDate": 1441360916,
									"subscriptionDate": 1438682516
								}
							]
							

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/ips
							
require 'vendor/autoload.php';

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

try {
	
	$result = $tipimail->getSettingsService()->getDedicatedIpsService()->getAll();
	var_dump($result);
		
}
catch(Tipimail\Exceptions\TipimailException $e) {
	echo 'Exception received :', $e->getMessage(), "\n";
	
}