ClientSphereDocs
API reference/Account Notes

Create account note

Creates a note attached to the given account and returns the created note with its generated id.

POST
/accounts/{id}/notes

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
contentRequiredstring

Path Parameters

idRequiredstring

Account ID

Format: "uuid"
curl -X POST "https://clientsphere.io/api/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/notes" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Followed up after the demo; sending pricing on Monday."
  }'

Created 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"
  }
}