To access all the latest features and upcoming developments, please see our v3 API.
Account Limits
When you need your subuser to send only a specific amount of emails at a specified interval, you can set account limits, or throttle their sending capabilities.
A recurring reset will allow you to periodically reset a subusers credits to a number you specify. This can be daily, weekly, or monthly.
URI Parameter
Required
Requirements
Description
task
Yes
Must be set to recurring
Task to setup recurring credits
user
Yes
Subuser must be under your account
The subuser you will be applying a recurring credit limit to
credits
Yes
Unsigned integer
The number of credits the subuser will be reset to
period
Yes
Must be either daily, weekly, or monthly
How often you want SendGrid to reset the subuser credits
startdate
No
Date must be in YYYY-mm-dd format
The date you want to start resetting the subuser credits
enddate
No
Date must be in YYYY-mm-dd format
The date you want to stop resetting the subusers credits. After this date, credits will not be added to the account, but can still be consumed
initial_credits
No
Unsigned integer
The number of credits you initially want the account reset to. If this is not set, the credits will be reset using the credits parameter. Useful when setting up a subuser with partially-consumed credits
Running into a coding hurdle? Lean on the wisdom of the crowd by browsing the SendGrid tag on Stack Overflow or visiting Twilio's Stack Overflow Collective.