COUNTCOUNT
Sign Up
CustomersAdd a customer note

Add a customer note

POST/partners/customers/{uuid}/notes

Logs a note against a customer.

The note is attributed to the user who consented to the connection. `body` is trimmed before it is stored, so whitespace alone is rejected as empty.

HMAC signature + Bearer access token
Try this request

Path parameters

uuiduuidrequired

The customer UUID.

Request body

bodystringrequired

The note text. Non-empty after trimming, and 1200 characters or fewer.

Responses

201Note created.
400A note cannot be empty, or it exceeds 1200 characters.
404Customer not found in this workspace.
401Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. Troubleshoot
403The credential does not have access to this workspace or resource. Troubleshoot
429Rate limit exceeded (100 requests per minute per clientId). Retry after the Retry-After header. Troubleshoot
POSThttps://api.getcount.com/partners/customers/{uuid}/notes
Request
import crypto from 'node:crypto';

const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;
const ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;

const method = 'POST';
const signingPath = '/customers/3fa85f64-5717-4562-b3fc-2c963f66afa6/notes';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "body": "Renewal call booked for the first week of April."
};
const bodyString = JSON.stringify(body);

const bodyHash = crypto.createHash('sha256').update(bodyString).digest('hex');
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');

const response = await fetch(`${BASE_URL}/partners/customers/3fa85f64-5717-4562-b3fc-2c963f66afa6/notes`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'Content-Type': 'application/json',
    Authorization: `Bearer ${ACCESS_TOKEN}`,
  },
  body: bodyString,
});

console.log(await response.json());
Response · 201
{
  "status": "success",
  "message": "Success on adding a client note.",
  "data": {
    "note": {
      "id": "9a2e3f4c-5b6a-4d7e-9f80-2d3e4f5a6b7c",
      "body": "Renewal call booked for the first week of April.",
      "createdBy": {
        "id": "b4c5d6e7-f8a9-4b0c-8d1e-2f3a4b5c6d7e",
        "firstName": "Jane",
        "lastName": "Smith",
        "email": "jane.smith@acme.com"
      },
      "createdAt": "2026-01-15T10:30:00.000Z",
      "updatedAt": "2026-01-28T14:22:30.000Z"
    }
  }
}