Figma Support Forum

Figma API file endpoint ignores depth parameter

Hi, maybe I’m doing something wrong but request like{key}?depth=1 returns entire document instead of pages level only. I see DOCUMENT - CANVAS - FRAME - RECTNAGLE in the json returned. What is the proper way to get pages only? Any workarounds to get last modified date?