Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (33 sloc) 1.251 kB
layout weight title navigation
page
0
Customer Account Limits
show
true

Throttle your customer when you need them to send only a specific amount of emails at a specified interval.

{% anchor h2 %} Retrieve {% endanchor %}

Retrieve account limits for a specific customer. If the API call response is empty that means the customer has the limits removed.

{% parameters get %} {% parameter 'task' 'Yes' 'Must be set to retrieve' 'Retrieve account limits' %} {% parameter 'user' 'Yes' 'Customer must be registered under your account' 'The customer who will have their account limits retrieved' %} {% parameter 'method' 'Yes' 'Must be set to limit' 'Allows you to access limit functionality' %} {% endparameters %}

{% apiexample get POST https://api.sendgrid.com/apiv2/reseller.manage api_user=your_sendgrid_username&api_key=your_sendgrid_password&method=limit&user=customer@example.com&task=retrieve %} {% response json %} { "credit": "40000", "credit_remain": "2000", "last_reset": "2011-02-21" } {% endresponse %} {% response xml %} 40000 2000 2011-02-21 {% endresponse %} {% endapiexample %}

Jump to Line
Something went wrong with that request. Please try again.