How to get Id of a dashboard to export?

Hi Team,
Greetings, Hope everyone doing good. I want to make dashboard as part of build. So that I tried to export dashboard via CURL and trying to import via CURL. It was working fine in 6.8. But when I migrate to 7.17 I was not able to figure out the ID of a dashboard. Could you please help me to get the ID of a dashboard, so that I can export dashboard and relevant objects.
Thanks in advance.