For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update a note

URL

POST https://api.complycube.com/v1/notes/:id

Updates the specified note by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

Headers

Name
Type
Description

Content-Type*

string

The content-type must always be set to application/json.

Authorization*

string

The API live or test key.

Path parameters

Name
Type
Description

id*

string

The ID of the note.

Body

Name
Type
Description

type

string

The type of note. Valid values are:

  1. report

  2. internal

note

string

The content of the note.

Example request

curl -X POST https://api.complycube.com/v1/notes/{:noteId} \
     -H 'Authorization: <YOUR_API_KEY>' \
     -H 'Content-Type: application/json' \
     -d '{
          	"type": "report",
          	"note": "Update note"
        }'

Example response