---
title: "bird api-keys"
description: "Issue API keys for the workspace"
canonical: "https://bird.com/docs/cli/reference/api-keys"
---

# `bird api-keys`

## Usage

```bash
bird api-keys
```

## Description

A key's token is returned once, at creation or rotation, and never again; nothing reads
it back afterwards. No key can issue another one, which is why issuing and rotating take
a logged-in session or a token granted `api_keys:write`. Listing and revoking a key are
dashboard-only.

Mutations take flags and/or a --body-file JSON body (flags overriding); run --example to print the body shape or --dry-run to preview the request.

## Commands

| Name                                            | Description       |
| ----------------------------------------------- | ----------------- |
| [`create`](/docs/cli/reference/api-keys-create) | Create an API key |
| [`rotate`](/docs/cli/reference/api-keys-rotate) | Rotate an API key |

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
