Query parameters
-
Chat ID
-
Message ID
-
Task ID
-
File ID
-
Document ID
-
Entity Key
-
No of records per page
-
Record Offset
-
Before ID
-
After ID
-
Before Date
-
After Date
-
Annotation ID
-
Type
-
Use Cache
GET
/api/v1.0/messages
curl \
--request GET 'https://openapi.niftypm.com/api/v1.0/messages' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"messages": [
{
"id": "string",
"type": "string",
"hide_link_preview": true,
"subtype": "string",
"text": "string",
"url": "string",
"chat": "string",
"thread": "string",
"task": "string",
"file": "string",
"document": "string",
"entity_key": "string",
"author": "string",
"replies": 42.0,
"repliers": [
"string"
],
"tagged": [
"string"
],
"seen_by": [
"string"
],
"hidden": [
"string"
],
"doc_attachment": "string",
"attachments": [
{
"id": "string",
"name": "string",
"size": 42.0,
"url": "string",
"download": "string",
"thumbnail": "string",
"uploader": "string",
"comments": 42.0,
"created_at": "2025-05-04T09:42:00Z",
"googleId": "string",
"googleType": "string",
"processed": true
}
],
"is_edited": true,
"is_deleted": true,
"created_at": "2025-05-04T09:42:00Z",
"updated_at": "2025-05-04T09:42:00Z",
"annotation_id": "string",
"heardBy": [
"string"
],
"audio_duration": 42.0,
"heard": true
}
],
"has_more": true
}