Send Message to team via API / notify team members via email on event


is it possible to send a message to a team or project group via restAPI?
The goal would be to send a email notification to a whole Team - if there is no endpoint for creating a new message, what seems to be the case, is there any workaround to achieve this?

Thanks in advance!

Hi @codeicetea ,

Welcome to the forum! I believe you’re right that messages are not currently supported in the API. That said, could you describe your use case a bit (it’ll help determine solutions)?

For projects, I know that a lot of people use a “communication” section of task (or tasks) to simulate this. For teams, it would be a bit trickier, but you could create “team projects” and follow the project suggestion.

Alternatively, if you are comfortable building outside of Asana and want to fully customize your emails, you could consider using this endpoint for teams or this one for projects to pull all relevant users (including their emails) along with custom webhooks (or native triggers in Asana rules) and then sending them an email using your own email server. This might be over-engineering the problem, though.

1 Like