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

# crossmintAPI

> `const` **crossmintAPI**: `CrossmintAPI`

Crossmint API singleton, used to init the SDK
To use the SDK you must call `init` before any other method

## Example

```typescript theme={null}
crossmintAPI.init(
 "your-api-key",
 config: \{
   environment: "staging",
   ipfsGateways: ["https://ipfs.io"], // Optional, a list of defualt ones is provided
   ipfsTimeout: 5000, // ms, Optional, default is 10 seconds
   blockchainRpcs: \{...\} // Optional, default rpcs for polygon are provided
 \}
)

## Defined in

[crossmintAPI.ts:124](https://github.com/Crossmint/crossmint-sdk/blob/main/packages/client/verifiable-credentials/src/crossmintAPI.ts#L124)
```
