put.ioDevelopers
put.io API v2

Your app, their put.io

List someone’s files, add transfers, stream video. On a TV, people sign in with a six-letter code.

Register an app
device link
# 1. Get a code and show it on the TV
$ curl "https://api.put.io/v2/oauth2/oob/code?app_id=$APP_ID"
{ "code": "QWERTY", "qr_code_url": "…" }
# 2. Poll while they type it at put.io/link
$ curl https://api.put.io/v2/oauth2/oob/code/QWERTY
{ "oauth_token": "…" }
✓ token received