# `bird trust gates verification check`

## Usage

```bash
bird trust gates verification check <slug> [flags]
```

## Description

Verify a trust-gate code

Submits the one-time code a customer received, completing a code-verified requirement. Only when `bird trust gates verification create` answered with a channel; a provider-hosted requirement is finished in the browser and has no code to submit. Read the gate back afterwards to see the requirement move.

Build the request from flags, a JSON TrustVerificationCheck body via --body-file ("-" reads
stdin), or both — a flag overrides the matching body field. Run --example to
print a ready-to-edit body, or --dry-run to print the resolved request without
sending it.

## Examples

```bash
# print the body shape (no credentials needed)
bird trust gates verification check --example

# the body it prints:
```

```json
{
  "code": "493028"
}
```

## Options

#### Request

| Name                | Description                                                  |
| ------------------- | ------------------------------------------------------------ |
| `--body-file`       | Read the JSON request body from this file; "-" reads stdin   |
| `--example`         | Print a complete example request body, then exit             |
| `--dry-run`         | Print the resolved request without sending it, then exit     |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice |

#### Options

| Name                | Description                                                   |
| ------------------- | ------------------------------------------------------------- |
| `--code`            | The one-time code you received. (required; or in --body-file) |
| `--response-schema` | Print the fields this command returns, then exit              |

## Related

| Name                                                                                          | Description                      |
| --------------------------------------------------------------------------------------------- | -------------------------------- |
| [`bird trust gates verification create`](/docs/cli/reference/trust-gates-verification-create) | Create a trust-gate verification |