Create a note

post
Create a note

https://data.salesmachine.io/v2/notes
This endpoint allows to add a note to a contact or an account
Request
Response
Request
Query Parameters
user_id
required
string
Author of the note who must be a user
body
required
string
Content of the note in text format
contact_id
required
string
Contact related to the note
account_id
optional
string
Account related to the note
occurred_at
optional
integer
Timestamp at which the note was written
Response
200: OK
Cake successfully retrieved.
{
"object": "note",
"id": "5ea9cb7d9677ff523a2c0fe8"
}

At least a contact_id or an account_id should be specified

Notes to contacts are visible to their attached account

Query example

{
"contact_id":"5ea9c11ac4e7b94be03abc28",
"body": "This is may awesome note\nThanks",
"user_id":"528a824a646f6c682d0000ac"
}