Display Domain
v1
get
/1/newsletters/{domain}
Returns a variety of information about one Domain from a Domain identifier
Path parameters
domain
requiredinteger
Unique identifier of the Domain
Examples:15070
Response Body
application/json
resultstring
Possible values:successerrorasynchronous
Result of the HTTP request
Examples:success
datarequiredDomain
Example request
<?php
use GuzzleHttp\Client;
$client = new Client();
$headers = [
'Authorization' => 'Bearer YOUR-TOKEN-HERE',
'Content-Type' => 'application/json'
];
$request = new Request('GET', 'https://api.infomaniak.com/1/newsletters/{domain}', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
Example response
application/json
{"result":"success","data":{"id":67667,"name":"example","credit_month":48817,"status":"suspended","can_use_other_domains":true}}