Skip to contentSkip to navigationSkip to topbar

Authenticate a Subuser


(warning)

This documentation is for the SendGrid Web API v2

We will deprecate this version on February 10, 2025. To access all the latest features and upcoming developments, please see our v3 API. For assistance with transitioning, refer to our migration guide.

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

URI ParameterRequiredRequirementsDescription
userYesSubuser must be under your accountUsername of subuser being authenticated
passwordYesValid subuser passwordPassword of subuser being authenticated
JSONXML

Call

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

Response

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