---
title: apiToken
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckfetchwebauthtokenoperation/apitoken
---

# apiToken

The API token that allows access to an app’s container.

## Declaration

```swift
var apiToken: String? { get set }
```

## See Also

### Managing the Operation’s Configuration

- [fetchWebAuthTokenCompletionBlock](cloudkit/ckfetchwebauthtokenoperation/fetchwebauthtokencompletionblock.md)
