how can i export my dashboard en format html using databriks api

nounou
New Contributor II

hi everyone, i would like to export my dashbord in html format and embed it in my body of my email in order to send it to my team

so there is my code python for the databriks api

Capture 

and i got this error

Capture1 

and when i put my htm in the body of my message i got nothing on the result

so there is my code for sending emails Capture3thank you for your responses