How to hit the ClickUp API

ClickUp's API lives at https://api.clickup.com/api/v2. Personal tokens go in Authorization with no prefix. ClickUp calls workspaces teams in the API.

Authentication

Generate a personal token under Settings → Apps in ClickUp (it starts pk_). In the examples it's written {{CLICKUP_TOKEN}}.

Full reference: https://developer.clickup.com/reference

Current user

curl https://api.clickup.com/api/v2/user \
  -H "Authorization: {{CLICKUP_TOKEN}}"
Run in PostTaco

Workspaces

curl https://api.clickup.com/api/v2/team \
  -H "Authorization: {{CLICKUP_TOKEN}}"
Run in PostTaco

Create a task

curl -X POST https://api.clickup.com/api/v2/list/{{LIST_ID}}/task \
  -H "Authorization: {{CLICKUP_TOKEN}}" \
  -H "Content-Type: application/json" \
  -d '{"name": "Created from PostTaco"}'
Run in PostTaco