Retrieve note messages

Retrieve a list of note messages

Retrieve a note's messages

GET https://{{account_id}}.acquire.io/api/v1/crm/note/messages?noteId={{noteId}}

Retrieve note messages. The noteId must be passed in to the endpoint as a path parameter.

Query Parameters

Name
Type
Description

noteId*

integer

ID of the note.

Headers

Name
Type
Description

Authorization*

string

Bearer {{API_KEY}}

{
    "data": {
        "count": 2,
        "rows": [
            {
                "id": 11,
                "noteId": 8,
                "parentId": null,
                "userId": 1,
                "type": "message",
                "message": "Hello test note",
                "dateCreated": "2020-09-14T06:34:55.000Z",
                "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
                }
            },
            {
                "id": 12,
                "noteId": 8,
                "parentId": null,
                "userId": 1,
                "type": "message",
                "message": "Hello test note",
                "dateCreated": "2020-09-14T06:35:08.000Z",
                "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
                }
            }
        ]
    }
}

Last updated