> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapkit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Unlock

> Unlock the device

Unlock the device screen.

## Request

```bash theme={null}
curl -X POST https://api.tapkit.ai/v1/phones/{phone_id}/unlock \
  -H "X-API-Key: joot_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"passcode": "123456"}'
```

### Request Body

```json theme={null}
{
  "passcode": "123456"
}
```

| Field      | Type             | Description                                   |
| ---------- | ---------------- | --------------------------------------------- |
| `passcode` | `string \| null` | Device passcode (optional if no passcode set) |
