Discussions

Ask a Question
Back to all

Publishing news to teams through API

Hello,

I’ve been reviewing the API documentation but I haven’t been able to find a clear answer to my question. I’d like to know if it’s possible to use the API to post news items along with an attached (or linked) file in the feed.

My use case is that I send a set of files on a daily basis, and their structure is always the same. Ideally, I’d like to automate this by creating a Python script that, once the files are ready, can push both the news item and the files to the feed for my team to see when they log in.

Could you confirm whether this functionality is available, and if so, point me to the relevant section of the documentation?

Thank you in advance!