Create a Note activity
To include an attachment, you must first upload the file to Close using the [Files API](/resources/files/). Then, add an object to the `attachments` array with the following fields: `url`, `filename` and `content_type`. The `url` should be the URL provided in the `download.url` field of the response from the [Files API](/resources/files/). It must begin `https://app.close.com/go/file/`.
A note can be pinned or unpinned by setting the `pinned` field to `true` or `false` when creating or updating a note.
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:)>.
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
lead_id
activity_at
attachments
contact_id
created_by_id
date_created
note
note_html
organization_id
pinned
title
user_id
Response
Successful response
_type
activity_at
contact_id
created_by
date_created
date_updated
id
lead_id
organization_id
updated_by
user_id
users
created_by_name
updated_by_name
user_name
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error