Skip to navigation
ActivitiesNotes

Create a Note activity

View as Markdown

To include an attachment, you must first upload the file to Close using the Files API. 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. 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
Use your API key as the username and leave the password empty.
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
lead_idstringRequired
activity_atdatetime or nullOptional
attachmentslist of objects or nullOptional
contact_idstring or nullOptional
created_bystring or nullOptional
date_createddatetime or nullOptional
notestring or nullOptional
note_htmlstring or nullOptional
organization_idstring or nullOptional
pinnedboolean or nullOptional
titlestring or nullOptional
user_idstring or nullOptional

Response

Successful response
_typestring
activity_atdatetime or null
attachmentslist of objects
contact_idstring or null
created_bystring or null
date_createddatetime
date_updateddatetime
idstring
lead_idstring or null
notestring
note_htmlstring
note_mentionslist of strings
organization_idstring
pinnedboolean
pinned_atdatetime or null
sourceenum or null
titlestring or null
updated_bystring or null
user_idstring or null
userslist of strings
agent_action_reasonstring or nullOptional
agent_config_idstring or nullOptional
comment_summaryobject or nullOptional
created_by_namestring or nullOptional
updated_by_namestring or nullOptional
user_namestring or nullOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error