# DeviceCodeResponse

> RFC 8628 device authorisation response.

RFC 8628 device authorisation response.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `device_code` * | string |  |
| `user_code` * | string |  |
| `verification_uri` * | string (uri) |  |
| `verification_uri_complete` | string (uri) |  |
| `expires_in` * | integer |  |
| `interval` * | integer |  |

\* always present

## Example

```json
{
  "device_code": "string",
  "user_code": "BDWP-HQPK",
  "verification_uri": "https://guv.dev/device",
  "verification_uri_complete": "https://guv.dev/device?code=BDWP-HQPK",
  "expires_in": 600,
  "interval": 5
}
```

## Used by

- [Start the CLI device flow (RFC 8628)](/docs/api/auth/#start-the-cli-device-flow-rfc-8628)
