TotalApp Docs

API Documentation

Full reference for the TotalApp REST API — authentication, endpoints, rate limits and code examples.

Getting Started

The TotalApp API is a RESTful HTTP API. All requests are authenticated via Bearer tokens and return JSON responses. Base URL for all endpoints:

Base URL

https://app.totalapp.app/api

Authentication

Obtain your API token from Settings → API & Integrations → API Keys. Include it in every request:

Authorization Header

Authorization: Bearer YOUR_API_TOKEN

Core Endpoints

MethodPathDescription
GET/api/data/employeesList all employees in your tenant
POST/api/data/employeesCreate or update employee records
GET/api/data/projects-indexList all project boards
GET/api/data/financial-accountsList financial accounts
POST/api/claudeRun a prompt through the AI engine
GET/api/auth/meReturn the current authenticated user

Rate Limits

API rate limits are enforced per tenant and plan:

PlanRequests / minuteRequests / day
Starter301,000
Basic / Standard12010,000
Pro500100,000
EnterpriseUnlimitedUnlimited

When a rate limit is exceeded the API returns 429 Too Many Requests. Retry after the number of seconds specified in the Retry-After header.

Error Responses

All errors return a JSON object with a human-readable error field:

Error Format

{ "error": "Tenant not found or access denied" }

StatusMeaning
400Bad request — invalid body or missing required field
401Unauthorized — missing or invalid Bearer token
403Forbidden — token valid but insufficient role
404Resource not found
429Rate limit exceeded
500Internal server error

Frequently Asked Questions

Where do I find my API token?
Go to Settings → API & Integrations → API Keys and click Generate New Key. Copy the token immediately — it will not be shown again.
Are API calls tenant-scoped?
Yes. Every API request is automatically scoped to the tenant of the authenticated user. You cannot read or write data belonging to another tenant.
Can I use the API in a Zapier or Make scenario?
Yes — use the HTTP / Webhook module in Zapier or Make and pass your Bearer token in the Authorization header. Native Zapier and Make apps are planned for a future release.
What happens if I exceed my plan's rate limit?
Requests over the limit receive a 429 Too Many Requests response with a Retry-After header indicating how many seconds to wait before retrying. Rate limits scale with your plan tier — see the SDKs and Libraries page for the full table.