Authenticate a subuser on your website before displaying their account information so that you can have users manage their SendGrid account on your website.

Parameter Required Requirements Description
user Yes Subuser must be under your account Username of subuser being authenticated
password Yes Valid subuser password Password of subuser being authenticated
Parameter Value Requirements Description

Call

POST https://api.sendgrid.com/apiv2/customer.auth.json
POST Data api_user=your_sendgrid_username&api_key=your_sendgrid_password&user=subuser_username&password=subuser_password_attempt

Response

1
2
3
{
  "message": "success"
}

Call

POST https://api.sendgrid.com/apiv2/customer.auth.xml
POST Data api_user=your_sendgrid_username&api_key=your_sendgrid_password&user=subuser_username&password=subuser_password_attempt

Response

1
2
3
<result>
   <message>success</message>
</result>