Create

Create a note.

Create a Note

POST https://{{account_id}}.acquire.io/api/v1/crm/note/create?contactId={{contactId}}

Create a note. The contact_id must be passed in to the body as a query parameter. The body must contain a "type" key set to "note".

Query Parameters

NameTypeDescription

contactId*

integer

The contact's ID

Headers

NameTypeDescription

Authorization*

string

Bearer {{API_KEY}}

Request Body

NameTypeDescription

mentionUsers

array

Array of integers. Mention userIds in the note.

message

string

Message of the note

description

string

A description for the note

title

string

Title for the note

type

string

"note"

{
  "data": {
    "contactId": "90",
    "userId": 1,
    "title": "this is test note title",
    "description": "this is test note description",
    "type": "note",
    "dateCreated": "2021-03-11T11:47:51.874Z",
    "id": 13,
    "users": [
      {
        "note": {
          "contactId": "90",
          "userId": 1,
          "title": "this is test note title",
          "description": "this is test note description",
          "type": "note",
          "dateCreated": "2021-03-11T11:47:51.874Z",
          "id": 13
        },
        "userId": 1
      }
    ],
    "lastMessage": {
      "userId": 1,
      "message": "this is test note",
      "type": "message",
      "parentId": null,
      "dateCreated": "2021-03-11T11:47:52.000Z",
      "note": {
        "id": 13,
        "contactId": 90,
        "userId": 1,
        "type": "note",
        "title": "this is test note title",
        "description": "this is test note description",
        "dateCreated": "2021-03-11T11:47:52.000Z"
      },
      "id": 15,
      "user": {
        "departments": [],
        "roles": [],
        "id": 1,
        "name": "Surendra Suthar",
        "firstName": "Surendra Suthar",
        "lastName": "",
        "photo": "https://uat-drive.acquire.io/suthar/media/2020/10/IMG_2353-(3)-201aff39871a8ccc0f3e9ff0.jpg",
        "email": "surendra@acquire.io",
        "clientId": "",
        "parentId": 0,
        "type": "user",
        "accessLevel": null
      }
    }
  }
}

Body (raw)

{
  "type": "note",
  "title": "this is test note title",
  "description": "this is test note description",
  "message": "this is test note",
  "mentionUsers": [
    "00"
  ]
}

Last updated