檢索 Slack 的內容

Retrieve the contents of a discussion by ID. A discussion can be a Slack or Discord chat.

Returns the content of the discussion with the specified ID. A discussion can be a Slack or Discord chat. The response contains two fields: discussion_content, which includes the main messages of the chat, and thread_contents, which contains the threads of the discussion.

GEThttps://api.rememberizer.ai/api/v1/discussions/{discussion_id}/contents/
Path parameters
discussion_id*integer

The ID of the discussion to retrieve contents for. Discussions are either Slack or Discord chats.

Query parameters
Response

Main and threaded messages of the discussion in a time range.

Body
discussion_contentstring

The content of the main discussions.

Example: ""
thread_contentsobject

A dictionary of threads in the discussion, where each key is a thread's timestamp (ISO 8601) and the value is the messages in the thread.

Request
const response = await fetch('https://api.rememberizer.ai/api/v1/discussions/{discussion_id}/contents/?integration_type=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "discussion_content": "",
  "thread_contents": {}
}

Last updated