Provision

Create a SendGrid reseller customer account with a certain plan.
URI Parameter Required Requirements Description
partner_id Yes Must be an 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

1
POST https://api.sendgrid.com/reseller.php/plug/:partner_name/resources HTTP/1.1

Response

1
2
3
4
5
6
7
8
9
10
HTTP/1.1 200 OK

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