Token Refresher

Harness our proxy environment to renew OAuth tokens without worrying about tenant blocks or CORS restrictions.

Token Refresher API

Pass your Microsoft refresh_token to obtain a fresh Access Token valid for 1 hour. Our API automatically selects the proper Scopes required for Microsoft Graph vs Outlook API depending on your method.

Payload Parameters

POST
https://api.hsmail.shop/v1/mailbox/outlook/refresh
Headers:Authorization: (Not Set - Set in Topbar)

Implementation Snippets

curl -X POST https://api.hsmail.shop/v1/mailbox/outlook/refresh \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"refreshToken":"M.R3_BAY.c3... (Paste your token)","clientId":"d0... (Your App Client ID)","method":"graph"}'