ClientSphereDocs
API reference/Account Notes

Update account note

Updates an account note by its id and returns the updated note.

PUT
/account-notes/{id}

Authorization

AuthorizationRequiredBearer <token>

API key as Bearer token: Authorization: Bearer sk_live_.... Use sk_live_ prefixed keys for production data and sk_test_ prefixed keys for sandbox/test data.

In: header

X-API-Key<token>

API key via header: X-API-Key: sk_live_.... Use sk_live_ prefixed keys for production data and sk_test_ prefixed keys for sandbox/test data.

In: header

Request Body

application/jsonRequired
contentstring

Path Parameters

idRequiredstring

Account note ID

Format: "uuid"
curl -X PUT "https://clientsphere.io/api/v1/account-notes/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Pricing sent; decision expected end of month."
  }'

Updated note

{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
    "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
    "content": "string",
    "createdBy": 0,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}