Median and 95th percentile email weight across the whole organization (the brands you can see), with its trend
GET
/v1/orgs/{org}/reports/weight
const url = 'https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/reports/weight';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/reports/weightParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
Example
org_01hx0000000000000000000000Query Parameters
Section titled “Query Parameters”from
string
to
string
Responses
Section titled “Responses”Weight
Media typeapplication/json
HTML weight of sent emails, in KB with 1 KB precision
object
median
required
number
p95
required
number
sends
required
number
previous
required
The previous period, of the same length
object
median
required
number
p95
required
number
sends
required
number
change
required
Change against the previous period, as a fraction (0.1 = 10% heavier)
object
median
required
number
p95
required
number
daily
required
Array<object>
object
median
required
number
p95
required
number
sends
required
number
day
required
string
budget
required
Warning from 75 KB and block above 100 KB (Gmail clips at around 102 KB)
object
warnKb
required
number
blockKb
required
number
Example generated
{ "median": 1, "p95": 1, "sends": 1, "previous": { "median": 1, "p95": 1, "sends": 1 }, "change": { "median": 1, "p95": 1 }, "daily": [ { "median": 1, "p95": 1, "sends": 1, "day": "example" } ], "budget": { "warnKb": 1, "blockKb": 1 }}Invalid data
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Internal error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}