REST API
Authenticate with Authorization: Bearer <access_token>. Base URL https://coult.gravitilabs.com/api.
Auth
POST
/v1/auth/signupPOST
/v1/auth/loginPOST
/v1/auth/refreshPOST
/v1/auth/logoutTodos
GET
/v1/todosPOST
/v1/todosGET
/v1/todos/:idPATCH
/v1/todos/:idDELETE
/v1/todos/:idPOST
/v1/todos/:id/completePOST
/v1/todos/:id/reopenPOST
/v1/todos/:id/duplicatePOST
/v1/todos/:id/snippetsPOST
/v1/todos/:id/remindersPOST
/v1/todos/:id/git-linksSmart views
GET
/v1/views/todayGET
/v1/views/inboxGET
/v1/views/upcomingGET
/v1/views/starredGET
/v1/views/recurringGET
/v1/views/completedGET
/v1/views/trashGET
/v1/views/dashboardGET
/v1/views/calendarGET
/v1/views/heatmapFolders & tags
GET
/v1/foldersPOST
/v1/foldersPATCH
/v1/folders/:idDELETE
/v1/folders/:idGET
/v1/tagsPOST
/v1/tagsSearch
GET
/v1/search?q=&mode=text|regex|codeGET
/v1/search/savedPOST
/v1/search/savedBulk + AI + Realtime
POST
/v1/bulkPOST
/v1/ai/breakdownPOST
/v1/ai/estimatePOST
/v1/ai/prioritizePOST
/v1/ai/plan-dayPOST
/v1/ai/explain-snippetGET
/v1/ai/quotaGET
/v1/events?token=...Intelligence
GET
/v1/intelligence/standupGET
/v1/intelligence/shipped-this-weekGET
/v1/intelligence/sprintGET
/v1/intelligence/branch?title=&priority=&tags=Billing & automations
GET
/v1/billing/plansGET
/v1/billing/subscriptionGET
/v1/billing/usagePOST
/v1/billing/trialPOST
/v1/billing/change-planPOST
/v1/billing/cancelPOST
/v1/billing/resumeGET
/v1/automationsPOST
/v1/automationsIntegrations
GET
/v1/integrationsGET
/v1/integrations/github/startGET
/v1/integrations/github/callbackGET
/v1/integrations/github/reposDELETE
/v1/integrations/:providerImport & export
POST
/v1/import/jsonPOST
/v1/import/todoistGET
/v1/export/jsonGET
/v1/export/csvGET
/v1/export/markdownQuickstart
# 1. Authenticate
curl -s -X POST $API/v1/auth/login \
-H 'content-type: application/json' \
-d '{"email":"you@example.com","password":"…"}' | jq -r '.tokens.accessToken' > token.txt
# 2. Use the token
TOKEN=$(cat token.txt)
curl -s $API/v1/views/today -H "Authorization: Bearer $TOKEN" | jq
# 3. Create a todo
curl -s -X POST $API/v1/todos \
-H "Authorization: Bearer $TOKEN" \
-H 'content-type: application/json' \
-d '{"title":"Ship Coult docs","priority":"p1","tagNames":["docs"]}'