Skip to Content

Get the organization's sending limits

Returns which sending limits apply to the organization and its progress toward the plan's limits.

GET
/v1/organizations/trust-tier

Returns which sending limits apply to the organization and its progress toward the plan's limits. tier is screened while the organization waits for Samva's review before its first email, probation while a new organization sends on starting limits (sendingLimits.probation), and established once it sends on its plan's limits. graduation measures the delivery record a new organization needs before it moves to its plan's limits, and is checked as deliveries arrive. Billing allowance, domain readiness, and sending pauses apply as well.

Authorization

apiKey
headerx-api-key<token>

Response Body

Success

application/json
  1. response
tier*string
Value in"screened""probation""established"
changedAt*string
sendingLimits*
graduation*|null
Example Request
import { createClient } from "samva";

const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });

const result = await samva.organizations.getTrustTier({});
Example Response
{
  "tier": "screened",
  "changedAt": "string",
  "sendingLimits": {
    "sendsPerSecond": 0,
    "dailySends": 0,
    "probation": {
      "hourlyRecipients": 0,
      "dailyRecipients": 0,
      "domainShare": 0,
      "domainShareFloor": 0
    }
  },
  "graduation": {
    "firstSentAt": "string",
    "elapsedDays": 0,
    "sent": 0,
    "delivered": 0,
    "hardBounces": 0,
    "hardBounceRate": 0,
    "complaints": 0,
    "holds": 0,
    "requirements": {
      "minimumDays": 0,
      "delivered": 0,
      "maximumHardBounceRate": 0
    },
    "blockers": [
      "too_recent"
    ]
  }
}

Related documentation