capabilities.work

Exchange a device code or refresh token for tokens

One step with groundmail-dev. We can help you get access.

Get something done

Exchange a device code or refresh token for tokens

Use groundmail-dev: its Groundmail OAuth API lets you exchange a device code or refresh token for tokens in a single step (POST /oauth/token). capabilities.work can help you get signed up and connected.

  • How do I poll a device sign-in with a device code?
  • Can I refresh a token and narrow its scopes?
Say it to your AI assistant
  • Exchange device code {device_code} for tokens using grant type {grant_type}.
  • Refresh token {refresh_token} with grant type {grant_type} and scopes {scope}.
For your developer

POST /oauth/token in Groundmail OAuth API. Full spec on APIs.io.