Fetch a group
v1
get
/1/newsletters/{domain}/groups/{group}
Fetch a group
Returns a variety of information about one Groups identifier
domain
requiredinteger
Unique identifier of the Domain
Examples:40760
group
requiredinteger
Unique identifier of the Group
Examples:11737
Response Body
application/json
resultstring
Possible values:successerrorasynchronous
Result of the HTTP request
Examples:success
datarequiredGroup
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}/groups/{group}', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
Example response
application/json
{"result":"success","data":{"id":93676,"name":"example","updated_at":1743365211}}