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 Single Sign On

Single Sign On

Autologin a customer and allow them to change the settings of their account on SendGrid.

Redirect the user to this url with the following parameters:

URI Parameter Required Requirements Description
id Yes Id of the customer on SendGrid side This value is returned in the Provision call
token Yes sha1(id : salt : timestamp) Salt is provided when onboarding with SendGrid
timestamp Yes Must be the unix timestamp at the time of the request For verification

Request

GET https://api.sendgrid.com/reseller.php/plug/:partner_name/resources/:id?token=bb466eb1d6bc345d11072c3cd25c311f21be130d&timestamp=1267597772

Response

HTTP/1.1 302

Location: redirect-url
SetCookie: reseller_name-nav-data=nav-data, path=/

Body: N/A

If everything clears, we will redirect the user to our website.

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.

        
        
        

        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