Get dedicated IP

Get /settings/ips/{id}

URL parameters:

Name Description Type Mandatory
id IP id String Yes

Response:

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

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

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