Skip to Content
put.ioDevelopers
Register an app

Check a code

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

Poll this until oauth_token is not null. The token is returned once; the code is then deleted. Stop polling after that.

Path

codestringRequired

Returns

200

oauth_tokenstring | null

null until the user links the code

statusstring

Errors

JSON with error_type, error_message, error_id and extra.

404Unknown, expired, or already-used code
429Too many requests. Limits are per token and per IP. Wait until X-RateLimit-Reset, then retry.