PUT
/
v1
/
accounts
/
notes
/
{noteId}
Update an account note
curl --request PUT \
  --url https://platform.thena.ai/v1/accounts/notes/{noteId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "content": "This is a note",
  "type": "T123",
  "visibility": "private",
  "attachmentUrls": [
    "https://example.com/attachment1.jpg",
    "https://example.com/attachment2.jpg"
  ],
  "metadata": {}
}'
{
  "id": "<string>",
  "accountId": "<string>",
  "account": "<string>",
  "content": "<string>",
  "type": "<string>",
  "typeId": "<string>",
  "typeConfiguration": {},
  "visibility": "<string>",
  "attachments": [
    "<string>"
  ],
  "author": "<string>",
  "authorId": "<string>",
  "authorEmail": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "metadata": {}
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

noteId
string
required

Body

application/json
content
string

The content of the note

Example:

"This is a note"

type
string

The identifier / value of the type attribute of the note

Example:

"T123"

visibility
string

The visibility of the note

Example:

"private"

attachmentUrls
string[]

The URLs of the attachments to attach to the note

Example:
[
"https://example.com/attachment1.jpg",
"https://example.com/attachment2.jpg"
]
metadata
object

The metadata of the note

Example:
{}

Response

Operation successful

id
string
required

The identifier of the activity

accountId
string
required

The identifier of the account

account
string
required

The name of the account

content
string
required

The content of the note

type
string
required

The type of the note

typeId
string
required

The identifier of the type attribute

typeConfiguration
object
required

The configuration of the type

visibility
string
required

The visibility of the note

attachments
string[]
required

The attachments of the note

author
string
required

The name of the author

authorId
string
required

The identifier of the author

authorEmail
string
required

The email of the author

createdAt
string
required

The timestamp of the note

updatedAt
string
required

The last updated timestamp of the note

metadata
object
required

The metadata of the note