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; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the SendGrid tag on Stack Overflow.

      
      
      

      Thank you for your feedback!

      We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

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

      Thanks for your feedback!

      Refer us and get $10 in 3 simple steps!

      Step 1

      Get link

      Get a free personal referral link here

      Step 2

      Give $10

      Your user signs up and upgrade using link

      Step 3

      Get $10

      1,250 free SMSes
      OR 1,000 free voice mins
      OR 12,000 chats
      OR more