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

# List API Keys

> Retrieve all API keys for the current workspace

Returns all API keys for the current workspace. Key values are masked after creation for security — only the prefix is shown.

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://app.replyify.ai/api/api-keys" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch("https://app.replyify.ai/api/api-keys", {
    headers: { Authorization: "Bearer YOUR_API_KEY" },
  });
  const { keys } = await response.json();
  ```
</CodeGroup>

### Example Response

```json theme={null}
{
  "keys": [
    {
      "id": "uuid",
      "name": "Production Key",
      "key_prefix": "rfy_***abc12345",
      "is_active": true,
      "last_used_at": "2025-01-27T12:00:00Z",
      "expires_at": null,
      "created_at": "2025-01-15T10:00:00Z"
    }
  ]
}
```
