# Get secure macro using rest api

**URL:** <https://community.developer.atlassian.com/t/get-secure-macro-using-rest-api/57184>\
**Category:** Confluence Development\
**Tags:** python, confluence-server, rest-api\
**Created:** [April 1, 2022, 6:10pm UTC](https://community.developer.atlassian.com/t/get-secure-macro-using-rest-api/57184 "2022-04-01T18:10:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roberto1](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@Roberto1](https://community.developer.atlassian.com/u/Roberto1)\
**Post date:** [April 1, 2022, 6:10pm UTC](https://community.developer.atlassian.com/t/get-secure-macro-using-rest-api/57184/1 "2022-04-01T18:10:29Z")

</div>

hi,  
Anyone know if there is a way to get encrypted secure macro info from pages in a space(that i have rights to view of course) ?  
i use a python script to get the pages with the secure macro and tried to expand ‘\_expendables’ but obviously i cannot get the encrypted info. Any help, hints, ideas are welcome.

cheers,
