Tools
SDKs & templates
Download a starter project in your language. HMAC signing and OAuth token handling are already wired up — pick the endpoints you want, add your credentials to .env, and run.
Fill credentials and go
Each template ships with a.env.example. Copy it to .env, paste your clientId, clientSecret, and workspace token, then run the command shown on the card.OpenAPI spec & Postman collection
Generated directly from this reference — always in sync with the endpoint groups below. Import either into your API client of choice instead of copying curl commands by hand.
The Postman collection includes a pre-request script that computes the HMAC signature headers automatically — set the clientId, clientSecret, and accessToken collection variables after importing.
How to use a template
From download to your first API call- Each selected group is bundled into the download as ready-to-paste examples under examples/.
- You can leave everything selected and trim later, or start with just what you need.
- Pick the frontend (React) starter for a browser app, or a server starter (Node, Python, PHP, Go, C#).
- Unzip it and open the project — the signing helper and request wrapper are ready to use.
- Get your clientId and clientSecret from COUNT Partners, then drop them into .env.
- Never commit .env or expose the clientSecret in client-side code — it signs every request.
cp .env.example .env
API access credentials →- Run the install + start command on your template card (for example npm install && npm start).
- The starter prints a signed request so you can confirm your credentials work right away.
npm install && npm start
- Send the user through the authorize URL; COUNT redirects back with a one-time code.
- Exchange the code for an access token — the frontend starter does this in its signing proxy.
- Use the request wrapper to call any endpoint by path — signing happens for you.
- The examples/ files show the exact request and a sample response for every endpoint you picked.
Include API endpoints
Pick the endpoint groups to bundle as ready-to-paste examples in your download.
25 groups will be added under examples/.
Frontend (React)
React UI with a tiny Express signing proxy so secrets stay server-side.
- React + Vite UI
- Secure signing proxy
- OAuth connect flow
npm install && npm run devNode.js
ESM client using built-in crypto and fetch, with token refresh.
- HMAC signing
- OAuth token refresh
- List/create examples
npm install && npm startPython
requests-based client with a reusable CountClient class.
- HMAC signing
- OAuth token refresh
- .env config
pip install -r requirements.txt && python main.pyPHP
Dependency-free PHP 8 client using cURL.
- HMAC signing
- No Composer needed
- .env loader included
php index.phpGo
Standard-library Go client with a CountClient struct.
- HMAC signing
- Zero dependencies
- Idiomatic structs
go run .C#
.NET 8 console app with an async HttpClient wrapper.
- HMAC signing
- Async/await
- .NET 8
dotnet runWhat's inside each template
- A signing helper that builds the HMAC base string and headers correctly.
- A request wrapper so you call endpoints by path without re-signing by hand.
- An
examples/folder with request and response samples for every endpoint group you selected above. - A
.env.exampledocumenting every credential you need.
