---
title: How to
description: Manage Cloudflare API tokens, make API calls, and control API access for your account.
image: https://developers.cloudflare.com/core-services-preview.png
---

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

[Skip to content](#%5Ftop) 

# How to

Using the Cloudflare API requires authentication so that Cloudflare knows who is making requests and what permissions you have. [Create an API token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/) to grant access to the API to perform actions.

Note

You can also authenticate with [API keys](https://developers.cloudflare.com/fundamentals/api/get-started/keys/), but these keys have [several limitations](https://developers.cloudflare.com/fundamentals/api/get-started/keys/#limitations) that make them less secure than API tokens. Whenever possible, use API tokens to interact with the Cloudflare API.

* [ API token template URLs ](https://developers.cloudflare.com/fundamentals/api/how-to/account-owned-token-template/)
* [ Make API calls ](https://developers.cloudflare.com/fundamentals/api/how-to/make-api-calls/)
* [ Create tokens via API ](https://developers.cloudflare.com/fundamentals/api/how-to/create-via-api/)
* [ Control API Access ](https://developers.cloudflare.com/fundamentals/api/how-to/control-api-access/)
* [ Restrict tokens ](https://developers.cloudflare.com/fundamentals/api/how-to/restrict-tokens/)
* [ Roll tokens ](https://developers.cloudflare.com/fundamentals/api/how-to/roll-token/)

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/fundamentals/","name":"Cloudflare Fundamentals"}},{"@type":"ListItem","position":3,"item":{"@id":"/fundamentals/api/","name":"Cloudflare's API"}},{"@type":"ListItem","position":4,"item":{"@id":"/fundamentals/api/how-to/","name":"How to"}}]}
```
