Get Chat
This endpoint fetch the details for chat based on given chat id.
Path parameters
-
Chat id
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/chats/{chat_id}
curl \
-X GET https://openapi.niftypm.com/api/v1.0/chats/{chat_id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"name": "string",
"type": "string",
"description": "string",
"team": "string",
"project": "string",
"is_self": true,
"members": {
"id": "string",
"is_owner": true,
"is_muted": true,
"joined": true
},
"created_at": "2023-05-04T09:42:00+00:00",
"last_message_at": "2023-05-04T09:42:00+00:00",
"zoom_id": "string",
"zoom_password": "string",
"zoom_join_url": "string",
"webex_id": "string",
"webex_password": "string",
"webex_join_url": "string",
"pinned_message": "string",
"pinned_by": "string",
"meeting_type": "string"
}
Response examples (200)
{
"id": "string",
"name": "string",
"type": "string",
"description": "string",
"team": "string",
"project": "string",
"is_self": true,
"members": {
"id": "string",
"is_owner": true,
"is_muted": true,
"joined": true
},
"created_at": "2024-05-04T09:42:00+00:00",
"last_message_at": "2024-05-04T09:42:00+00:00",
"zoom_id": "string",
"zoom_password": "string",
"zoom_join_url": "string",
"webex_id": "string",
"webex_password": "string",
"webex_join_url": "string",
"pinned_message": "string",
"pinned_by": "string",
"meeting_type": "string"
}