Responses
-
Success Response
-
The client request has not been completed because it lacks valid authentication credentials for the requested resource.
-
The client does not have access rights to the content.
-
The request method is known by the server but is not supported by the target resource.
GET /api/v1.0/messages/{message_id}
curl \
-X GET https://openapi.niftypm.com/api/v1.0/messages/{message_id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"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": "2023-05-04T09:42:00+00:00",
"googleId": "string",
"googleType": "string",
"processed": true
}
],
"is_edited": true,
"is_deleted": true,
"created_at": "2023-05-04T09:42:00+00:00",
"updated_at": "2023-05-04T09:42:00+00:00",
"annotation_id": "string",
"heardBy": [
"string"
],
"audio_duration": 42.0,
"heard": true
}
Response examples (200)
{
"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": "2024-05-04T09:42:00+00:00",
"googleId": "string",
"googleType": "string",
"processed": true
}
],
"is_edited": true,
"is_deleted": true,
"created_at": "2024-05-04T09:42:00+00:00",
"updated_at": "2024-05-04T09:42:00+00:00",
"annotation_id": "string",
"heardBy": [
"string"
],
"audio_duration": 42.0,
"heard": true
}