Skip to Content
put.ioDevelopers
Register an app

Get a code

GEThttps://api.put.io/v2/oauth2/oob/code

Show the code to the user. They enter it at https://app.put.io/link, or scan the QR code at qr_code_url. The code expires after 60 minutes. Poll GET /oauth2/oob/code/{code} for the token.

Query

app_idintegerRequired
client_namestring

Returns

200

codestringRequired

Six uppercase letters

qr_code_urlstring · uriRequired

PNG QR code that opens the link page with the code filled in

statusstringRequired

Errors

JSON with error_type, error_message, error_id and extra.

400Missing, zero, or non-integer app_id
404No OAuth app with this app_id
429Rate limited