OAuth
Start a device sign-in (RFC 8628)
Public and rate limited. Returns a secret device_code to poll /oauth/token with, and a short user_code the person approves at verification_uri_complete. The approval page shows the client, the device name and the scopes asked for, and the person picks the workspace. Form-encoded (RFC 8628) or JSON bodies are accepted.
post/oauth/device_authorization
Request
- Base URL: https://api.groundmail.dev
- URL: https://api.groundmail.dev/oauth/device_authorization
- Auth: none required
Request body
Example request
{
"scope": "emails:send domains:read"
}Response
Device sign-in started
Example response
{
"user_code": "BCDF-GHJK",
"expires_in": 600
}Changes
No recorded changes to this operation across all 2 revisions of this API.