Recuperar contenido de 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.

get

/discussions/{discussion_id}/contents/

Path parameters
discussion_idintegerrequired

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

Query parameters
integration_typestringrequired

Indicate the integration of the discussion. Currently, it can only be "slack" or "discord".

fromstring

Indicate the starting time when we want to retrieve the content of the discussion in ISO 8601 format at GMT+0. If not specified, the default time is now.

tostring

Indicate the ending time when we want to retrieve the content of the discussion in ISO 8601 format at GMT+0. If not specified, it is 7 days before the "from" parameter.

Responses
curl -L \
  --url 'https://api.rememberizer.ai/api/v1/discussions/{discussion_id}/contents/?integration_type=text'
{
  "discussion_content": "",
  "thread_contents": {}
}

Last updated