Skip to main content
POST
Request Device Code
Starts the GitHub device flow. Returns a user code and verification URL for the user to visit.

Body

string
default:"user repo read:org workflow"
OAuth scopes to request.

Response

string
Device code for polling.
string
Code the user enters at the verification URL.
string
URL where the user enters the code.
number
Seconds until the device code expires.
number
Minimum polling interval in seconds.