COUNTCOUNT
Sign Up
CustomersUpdate a customer note

Update a customer note

PUT/partners/customers/{uuid}/notes/{noteUuid}

Rewrites the text of one customer note.

The full note body is replaced. Authorship and timestamps are preserved.

HMAC signature + Bearer access token
Try this request

Path parameters

uuiduuidrequired

The customer UUID.

noteUuiduuidrequired

The note UUID, as returned under `id` on a note.

Request body

bodystringrequired

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

Responses

200The updated note.
400A note cannot be empty, or it exceeds 1200 characters.
404Customer or note 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
PUThttps://api.getcount.com/partners/customers/{uuid}/notes/{noteUuid}
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 = 'PUT';
const signingPath = '/customers/3fa85f64-5717-4562-b3fc-2c963f66afa6/notes/3fa85f64-5717-4562-b3fc-2c963f66afa6';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "body": "Renewal call moved to the second 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/3fa85f64-5717-4562-b3fc-2c963f66afa6`, {
  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 · 200
{
  "status": "success",
  "message": "Success on updating a client note.",
  "data": {
    "note": {
      "id": "9a2e3f4c-5b6a-4d7e-9f80-2d3e4f5a6b7c",
      "body": "Renewal call moved to the second 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"
    }
  }
}