Channel Activity Logs

Im trying to either export the last modified / active through a CSV file for all the channels or get it from an API. To eventually clean up inactive channels.

We are using a Server-to-Server OAuth configuration but dont see anywhere a response with the last modified or last activity of a channel.

I have an account with admin privileges.

@ruan.greyling I dont think we have APIs for that. I also checked our existing APIs, and couldn’t find any field that mentioned when the channel was last active. Unfortunately, there is no easier way to do that for the legacy channels except:

  1. Get a list of all the users for the channel
  2. Get a list of all the messages for the user sent to that channel using the to_channel query parameter.

That said, I will add this as a feature request.