Get sender profile
const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
end_date: '<string>',
senderid: '<string>',
start_date: '<string>',
timezoneoffset: '+0000'
})
};
fetch('https://api.mailchannels.net/outbound/v1/senderprofile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.mailchannels.net/outbound/v1/senderprofile"
payload = {
"end_date": "<string>",
"senderid": "<string>",
"start_date": "<string>",
"timezoneoffset": "+0000"
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mailchannels.net/outbound/v1/senderprofile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'end_date' => '<string>',
'senderid' => '<string>',
'start_date' => '<string>',
'timezoneoffset' => '+0000'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}curl --request POST \
--url https://api.mailchannels.net/outbound/v1/senderprofile \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"end_date": "<string>",
"senderid": "<string>",
"start_date": "<string>",
"timezoneoffset": "+0000"
}
'{
"counts": {},
"policyDisposition": "<string>"
}{
"code": 123,
"errors": [
"<string>"
],
"message": "<string>"
}{
"code": 123,
"errors": [
"<string>"
],
"message": "<string>"
}Get sender profile
Returns message counts grouped by time interval and the policy disposition for the specified sender.
POST
/
senderprofile
Get sender profile
const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
end_date: '<string>',
senderid: '<string>',
start_date: '<string>',
timezoneoffset: '+0000'
})
};
fetch('https://api.mailchannels.net/outbound/v1/senderprofile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.mailchannels.net/outbound/v1/senderprofile"
payload = {
"end_date": "<string>",
"senderid": "<string>",
"start_date": "<string>",
"timezoneoffset": "+0000"
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mailchannels.net/outbound/v1/senderprofile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'end_date' => '<string>',
'senderid' => '<string>',
'start_date' => '<string>',
'timezoneoffset' => '+0000'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}curl --request POST \
--url https://api.mailchannels.net/outbound/v1/senderprofile \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"end_date": "<string>",
"senderid": "<string>",
"start_date": "<string>",
"timezoneoffset": "+0000"
}
'{
"counts": {},
"policyDisposition": "<string>"
}{
"code": 123,
"errors": [
"<string>"
],
"message": "<string>"
}{
"code": 123,
"errors": [
"<string>"
],
"message": "<string>"
}Authorizations
Body
application/json
The sender ID, date range, and time interval for the profile.
The end of the date range, for example 2026-09-02T00:00:00. Must be on or after start_date.
The sender ID to retrieve a profile for.
The start of the date range, for example 2026-09-01T00:00:00. Must be on or before end_date.
The time interval used to group message counts. Defaults to days.
Available options:
days, hours, weeks Timezone offset.
Was this page helpful?

