provider Projects GET /v1/projects/{project_id}/files
@utdk/figma /v1/projects/{project_id}/files
Get files in a project
Get a list of all the Files within the specified project.
project_id path required
ID of the project to list files from
string
branch_data query
Returns branch metadata in the response for each main file with a branch inside the project.
boolean

Try it

Authentication
Configure credentials for Figma API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getprojectfiles
GET/v1/projects/{project_id}/files
Get a list of all the Files within the specified project.

Parameters

required

ID of the project to list files from

Returns branch metadata in the response for each main file with a branch inside the project.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import figma from '@utdk/figma';

await figma.getprojectfiles({
  "branch_data": false
})