get_requested_key
POST/v1/keys/token
Returns the key your user allowed, once: poll it with the device code of POST /v1/keys/request every interval seconds. Until your user answers, authorization_pending; sooner than the interval, slow_down; both with Retry-After. The request expired, or its key was already returned: expired_token, ask again. Your user denied it, or their organization could not take another key: access_denied. Free.
Request
Responses
- 200
- 400
- 413
- 415
- 429
- 500
The key, returned this once
Response Headers
The request's id: quote it when you write to Megido support
The request cannot be served as sent, or not yet: bad_request, invalid_params, authorization_pending, slow_down, expired_token, access_denied
Response Headers
The request's id: quote it when you write to Megido support
Seconds to wait before calling again; sent with rate_limited, lock_timeout, authorization_pending and slow_down only
The body is larger than the API takes: bad_request
Response Headers
The request's id: quote it when you write to Megido support
The body is not sent as application/json: bad_request
Response Headers
The request's id: quote it when you write to Megido support
Too many calls: rate_limited
Response Headers
The request's id: quote it when you write to Megido support
Seconds to wait before calling again; sent with rate_limited, lock_timeout, authorization_pending and slow_down only
The call failed on Megido's side: internal_error
Response Headers
The request's id: quote it when you write to Megido support