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": {}
}
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": {}
}
Enter your API key
Operation successful
The response is of type object
.