Skip to main content
POST
Échanger le code d'appareil contre un jeton

Usage

Exchanges an approved device code for an access token. This operation is public. No API key is required.

Example

Parameters and response

The request body and responses are defined by the OpenAPI specification displayed on this page.

Errors

See Responses for the operation-specific error codes and formats.

Notes

The flow uses grant_type=urn:ietf:params:oauth:grant-type:device_code.

Body

application/json
device_code
string
required
grant_type
enum<string>
required
Available options:
urn:ietf:params:oauth:grant-type:device_code

Response

Jeton d’accès délivré

access_token
string
required
token_type
string
required
Example:

"Bearer"

expires_in
integer
required
Example:

7776000