List subaccounts
Get the list of subaccounts defined for the account, optionally filtered by a prefix. Returns up to a maximum of 1,000 subaccounts.
Request
This endpoint expects an object.
key
A valid Mandrill API key
q
An optional prefix to filter the subaccounts' ids and names
Response
Success
id
Unique identifier for the subaccount
created_at
Date and time the subaccount was created in UTC YYYY-MM-DD HH:MM:SS format
status
Current sending status of the subaccount
Allowed values:
reputation
Subaccount reputation on a scale from 0 to 100
sent_weekly
Number of emails the subaccount has sent so far this week (weeks start on midnight Monday, UTC)
sent_monthly
Number of emails the subaccount has sent so far this month (months start on midnight of the 1st, UTC)
sent_total
Number of emails the subaccount has sent since it was created
name
Optional display name for the subaccount
first_sent_at
Date and time that the subaccount first sent as a UTC string in YYYY-MM-DD HH:MM:SS format
custom_quota
Optional manual hourly quota for the subaccount. Only present when explicitly set during creation/update
Errors
401
Unauthorized Error
500
Internal Server Error