> For the complete documentation index, see [llms.txt](https://docs.voveid.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.voveid.com/docs/kyb-know-your-business/kyb-flows.md).

# KYB Flows

### Discover KYB Flows for Your Organization

Use these endpoints to discover which KYB flows are available to your organization before creating a KYB case.

Both endpoints:

* Require the `x-api-key` header
* Return a JSON array
* Return `[]` when no matching flows exist
* Only return flows that belong to the authenticated organization

### Response Shape

Each flow is returned with the same minimal shape:

```json
[
  {
    "id": "680dbf0d3f6c8d7f0a123456",
    "country": "US",
    "default": true
  }
]
```

| Field     | Type    | Description                                                                       |
| --------- | ------- | --------------------------------------------------------------------------------- |
| `id`      | string  | The KYB flow ID to pass as the `flow` value when creating a KYB case              |
| `country` | string  | The country associated with the flow                                              |
| `default` | boolean | Whether this flow is marked as the default flow for that organization and country |

## List All KYB Flows

Retrieve every KYB flow available to the authenticated organization.

#### Endpoint

* **Method**: `GET`
* **URL**: `/kyb/flows`
* **Authentication**: Required (`x-api-key` header)

#### Example Request

```bash
curl -X GET https://api.voveid.com/kyb/flows \
  -H "accept: application/json" \
  -H "x-api-key: YOUR_API_KEY"
```

#### Example Response

```json
[
  {
    "id": "680dbf0d3f6c8d7f0a123456",
    "country": "US",
    "default": true
  },
  {
    "id": "680dbf0d3f6c8d7f0a654321",
    "country": "GB",
    "default": false
  }
]
```

## List Default KYB Flows

Retrieve only KYB flows where `default = true` for the authenticated organization.

#### Endpoint

* **Method**: `GET`
* **URL**: `/kyb/flows/default`
* **Authentication**: Required (`x-api-key` header)

#### Example Request

```bash
curl -X GET https://api.voveid.com/kyb/flows/default \
  -H "accept: application/json" \
  -H "x-api-key: YOUR_API_KEY"
```

#### Example Response

```json
[
  {
    "id": "680dbf0d3f6c8d7f0a123456",
    "country": "US",
    "default": true
  }
]
```

### When to Use Each Endpoint

* Use `GET /kyb/flows` when you want to show all available KYB flow options for the organization.
* Use `GET /kyb/flows/default` when you only need the default flow set and want to avoid hardcoding flow IDs.

### Related Documentation

* [KYB Overview](/docs/kyb-know-your-business/kyb-overview.md) - Understand the KYB verification flow
* [Create KYB Case](/docs/kyb-know-your-business/kyb-create-case.md) - Use a returned `flow` ID to create a KYB case
* [KYB Case Management](/docs/kyb-know-your-business/kyb-case-management.md) - Retrieve and manage created KYB cases
