MailerSend
Account

Account

Get your account's plan, email usage, API rate limits and resource limits in one request.

Check your plan, how many emails you've sent, your API rate limits and how many of each resource your plan allows.

Get account

Retrieve the account behind your API token with this GET request:

GET https://api.mailersend.com/v1/account
curl --request GET \
  --url https://api.mailersend.com/v1/account \
  --header 'Authorization: Bearer API_KEY_HERE'

Responses

Valid

Response Code: 200 OK
Response Headers:
	content-type: application/json
{
  "data": {
    "name": "Acme Inc",
    "status": "approved",
    "plan_type": "starter",
    "data_retention_days": 7,
    "emails": {
      "sent": 12000,
      "received": 430,
      "limit": -1
    },
    "rate_limits": {
      "general": 60,
      "email": 120,
      "bulk_email": 10,
      "activity": 10
    },
    "resources": {
      "domains": { "used": 3, "limit": 10 },
      "users": { "used": 2, "limit": 5 },
      "templates": { "used": 41, "limit": 250 },
      "smtp_users": { "used": 1, "limit": 50 },
      "api_tokens": { "used": 4, "limit": 50 },
      "webhooks": { "used": 2, "limit": 50 }
    },
    "addons": {
      "sms": { "sent": 120, "received": 30, "limit": -1 },
      "whatsapp": { "sent": 800, "limit": 1000 },
      "phone_numbers": 1,
      "domain_spaces": 2,
      "data_retention_days": 30,
      "dedicated_ips": 0
    }
  }
}

A limit of -1 means unlimited.

FieldTypeDetails
namestring
statusstringOne of pending, approved, rejected or suspended.
plan_typestringThe plan your account is on, for example free, hobby, sandbox, starter, professional or enterprise.
data_retention_daysintDays of activity data your account keeps.
emails.sentintEmails sent in the current usage cycle. Until your account is approved, the lifetime total.
emails.receivedintInbound emails forwarded in the current usage cycle.
emails.limitintThe sending limit in force. Once your account is approved, sent and received emails both count towards it.
rate_limits.generalintRequests per minute to all API endpoints, excluding email endpoints. See rate limits.
rate_limits.emailintRequests per minute to POST /v1/email.
rate_limits.bulk_emailintRequests per minute to POST /v1/bulk-email.
rate_limits.activityintRequests per minute to GET /v1/activity and GET /v1/emails, shared.
resources.*.usedintHow many your account has. Paused API tokens and pending user invites count.
resources.*.limitintHow many your plan allows.
addons.smsobjectSMS sent and received in the current usage cycle, against the SMS limit in force.
addons.whatsappobjectWhatsApp messages sent in the add-on cycle, against the messages it includes (limit). null without the WhatsApp add-on.
addons.phone_numbersintPhone numbers you've bought.
addons.domain_spacesintExtra domains you've bought. Already counted in resources.domains.limit.
addons.data_retention_daysintDays of data retention you've bought. 0 if none.
addons.dedicated_ipsintDedicated IPs you've bought.

To check your daily request quota, see Checking your API quota.

Error

Response Code: 401 Unauthorized

On this page