Poll a device authorisation
POST/auth/device/token
Unauthenticated. Answers 202 while the request is pending and 200 with the API key once it is approved. The key belongs to the workspace the person picked, carries the scopes of their role there and appears under API keys in the app. It is handed over exactly once. A refused request answers 403 forbidden, a key already handed over 409 conflict, an expired or unknown code 404 not_found.
Request
Responses
- 200
- 202
- 400
- 403
- 404
- 409
- default
Approved.
Still waiting for approval.
Error (RFC 9457 problem details).
Error (RFC 9457 problem details).
Not found for the key: not_found, or template_not_found for a template or version. Templates, renders, files and webhooks are looked up in the workspace of the key, shared partials and workspaces in its organisation.
Error (RFC 9457 problem details).
Error (RFC 9457 problem details).