v24

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-017946115.2 KB

Start Device Oauth

Start a device-code OAuth login.

Returns a user_code and verification_uri(_complete) to show the user, plus a session_id to poll via /oauth/device/status/{session_id}.

post/api/hf-auth/oauth/device/start

Response

Successful Response

object required