Add a new note

POST /notes

To add a new note for against a contact or household/organisation

text/plain

Body Required

  • unique_id integer
  • for string

    Values are P or H.

  • text string

    The text of the note

  • visibility string

    Values are anyone, me, or group.

  • visibility_group integer

    When the visibility is set to group, you must include this other property, otherwise its optional

  • color_code string

    The color code used for this note

    Values are transparent, 929497, 9a75ab, f3b24d, f5324e, 39c3d1, 82ca68, f278a9, or 45bdb3.

  • note_type_id integer

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • success string
    • note_id integer

      The ID of the note just created

  • 400 application/json

    Error

    Hide response attribute Show response attribute object
    • error string
POST /notes
curl \
 --request POST 'https://YOURSITE.infoodle.com/apiv2/notes' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: text/plain"
Response examples (200)
{
  "success": "ok",
  "note_id": 150
}
Response examples (400)
{
  "error": "Error creating the note"
}