# Step up to approve

Source: https://immiscible.fly.dev/docs/api/post-api-mobile-v1-w-wid-approvals-apid-step-up

`POST /api/mobile/v1/w/:wid/approvals/:apid/step-up`

Above the line (the workspace's chat line, or £100 when it sets none), approving needs a fresh proof from the device's biometric-held key, or a TOTP code. Denying never does.

## Authentication

Device token. A bearer token issued to one phone after its owner signs in through the browser, sent as `Authorization: Bearer`. The rules are the console's rules; approving above a line needs a fresh step-up proof from the device. Writes carry `x-immiscible-csrf: 1`.

## Path parameters

- `wid` (string, required): Workspace id
- `apid` (string, required): Approval id

## Request

curl:

```bash
curl -X POST "https://immiscible.fly.dev/api/mobile/v1/w/$IMMISCIBLE_WORKSPACE/approvals/apr_3k9d02aa/step-up"
```

Node:

```ts
const res = await fetch('https://immiscible.fly.dev/api/mobile/v1/w/$IMMISCIBLE_WORKSPACE/approvals/apr_3k9d02aa/step-up', {
  method: 'POST',
});
const data = await res.json();
console.log(res.status, data);
```

Python:

```python
import requests

res = requests.post(
    "https://immiscible.fly.dev/api/mobile/v1/w/$IMMISCIBLE_WORKSPACE/approvals/apr_3k9d02aa/step-up",
)
print(res.status_code, res.json())
```
