# How to connect to ClickUp API

## Before you start, you’ll need:

- A ClickUp account ([you can create one here](https://clickup.com/signup)). 

## Create a ClickUp OAuth app (optional)
Only the Workspace Owner or admins can access the Integrations page to create OAuth apps.

- Log into ClickUp.
- Click on your avatar in the lower-left corner and select Integrations.
- Click on ClickUp API.
- Click Create an App.
- Give your app a name and provide a redirect URL.
- Once your app is created, you'll be provided with a client_id and a secret. These credentials can be [configured in Apideck](https://platform.apideck.com/configuration/project-management/clickup).

## Do your first API call

- Connect your ClickUp account through [Vault](https://platform.apideck.com/vault) with a test session.

- To test the access token, make an API call
 to get your [`Authorized Teams (Workspaces)`](https://clickup.com/api/clickupreference/operation/GetAuthorizedTeams/) endpoint using the [Proxy API](https://developers.apideck.com/apis/proxy/reference).

```
curl --location --request GET 'https://unify.apideck.com/proxy' \
--header 'x-apideck-consumer-id: test-consumer' \
--header 'x-apideck-app-id: {APIDECK_APP_ID}' \
--header 'x-apideck-service-id: clickup' \
--header 'x-apideck-downstream-url: https://api.clickup.com/api/v2/team' \
--header 'Authorization: Bearer {APIDECK_API_KEY}'
```

## Start building with the ClickUp API

Learn what else you can [build with the ClickUp API](https://clickup.com/api/).

Interested in a personalized demo? [Let us know](https://www.apideck.com/demo-request?from=guide).
