Fetch a subscriber

v1
get
/1/newsletters/{domain}/subscribers/{subscriber}

Returns a variety of information about one Subscriber

Path parameters

domain
requiredinteger

Unique identifier of the Domain

Examples:2672
subscriber
requiredinteger

Unique identifier of the Subscriber

Examples:37278

Query parameters

withstring
Possible values:statisticsgroupssourcessourcefields
Examples:sources

Response Body

application/json
resultstring
Possible values:successerrorasynchronous

Result of the HTTP request

Examples:success
datarequiredSubscriber

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}/subscribers/{subscriber}', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
            

Example response

application/json
                
                    
{
"result":"success",
"data":{
"id":16645,
"email":"zoila.braun@crooks.biz",
"status":"unconfirmed",
"created_at":1742626478
}
}