Menu

Expand

This documentation is for the SendGrid Web API v2

To access all the latest features and upcoming developments, please see our v3 API.

Rate this page:

Customer Provision

Provision

Create a SendGrid reseller customer account with a certain plan.

URI Parameter Required Requirements Description
partner_id Yes Must be a unique identifier from Reseller side This can be an application_id, a user_id, or any other unique identifier of the SendGrid instance on your side
plan Yes Plan that the customer selected SendGrid plan, which defines customer credits and permissions
email No Customer email Used as contact information for SendGrid support team

Request

POST https://api.sendgrid.com/reseller.php/plug/:partner_name/resources partner_id=customer_unique_id&plan=free&email=email%40example.com

Response

HTTP/1.1 200 OK

{
  "id": "371",
  "config": 
  {
    "SENDGRID_USERNAME": "customer_unique_id@:partner_name.com",
    "SENDGRID_PASSWORD": "tvdx1p3c"
  }
}
Rate this page:

Need some help?

We all do sometimes. Get help now from the Twilio SendGrid Support Team.

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.

Loading Code Sample...
        
        
        

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        thanks-feedback-gif