tessera

Approves a waiting request, so the program's next poll gets a token.

POST
/api/v1/auth/device/{user_code}/approve

The token may create, list and delete the approver's own shares, less whatever of that the approver may not do themselves.

Errors

401 when not signed in, 403 when an API token was used or the account may not issue tokens, 404 when no request is waiting under that code or this instance has no accounts, 429 when this address has tried too many codes that do not exist.

session
cookietessera_session<token>

Set by POST /auth/login. A browser sends it automatically; it is HttpOnly, so page scripts cannot read or set it.

user_code*string

The code the program showed, with or without its dash

Response Body

Approved

curl -X POST 'https://example.com/api/v1/auth/device/string/approve'
Empty