Skip to navigation

Add a new subaccount

Create a new subaccount with the specified configuration. The subaccount can be used to organize and track sending for different customers or purposes.

Request

This endpoint expects an object.
keystringRequired
A valid Mandrill API key
idstringRequired<=255 characters
A unique identifier for the subaccount to be used in sending calls
namestring or nullOptional<=1024 characters
An optional display name to further identify the subaccount
notesstring or nullOptional
Optional extra text to associate with the subaccount
custom_quotainteger or nullOptional>=1
An optional manual hourly quota for the subaccount. If not specified, Mandrill will manage this based on reputation

Response

Success

Errors

401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error