Endpoints
See information about your projects and files within a project.
Limited Access
The projects endpoints cannot be used with public OAuth apps.
GET team projects
You can use this endpoint to get a list of all the projects within the specified team. It returns only projects visible to the authenticated user or owner of the developer token.
It is not possible to programmatically obtain team IDs. To obtain a team ID, navigate to the team page in the Figma file browser. The team ID is present in the URL after the word team and before your team name.
This is a Tier 2 endpoint and requires the projects:read scope.
HTTP Endpoint
GET /v1/teams/:team_id/projects
| Path parameters | Description |
|---|---|
| team_id |
| Error codes | Description |
|---|---|
| 400 | Error with the request. The "message" param on the response will describe the error. |
| 403 | The developer / OAuth token is invalid or expired |
GET project files
List the files in a given project.
This is a Tier 2 endpoint and requires the projects:read scope.
HTTP Endpoint
GET /v1/projects/:project_id/files
| Path parameters | Description |
|---|---|
| project_id | |
| branch_data |
| Error codes | Description |
|---|---|
| 400 | Error with the request. The message param on the response will describe the error. |
| 403 | The developer / OAuth token is invalid or expired |
GET project metadata
Returns basic metadata about a project, such as its name, thumbnail, file count, and timestamps. Use this endpoint when you need a lightweight project preview without enumerating individual files, such as for link unfurling or search results.
This endpoint does not return any file-level data or document content. You should use this endpoint instead of GET /v1/projects/:id/files when you only need a high-level project preview.
thumbnail_url may be null if the project has no files.
This is a Tier 3 endpoint and requires the project_metadata:read scope or projects:read scope.
Unlike other endpoints in this section, GET /v1/projects/:project_id/meta is available to personal access tokens (PATs) and plan-level access tokens (PLANTs). It is not available to public OAuth apps.
HTTP Endpoint
GET /v1/projects/:project_id/meta
Return value
{
"id": String,
"name": String,
"thumbnail_url": String,
"file_count": Number,
"updated_at": String,
"created_at": String
}
| Path parameters | Description |
|---|---|
| project_id | https://www.figma.com/project/:project_id/:project_name |
| Error codes | Description |
|---|---|
| 403 | The developer / OAuth token is invalid or expired, or does not include the project_metadata:read scope |
| 404 | The specified project was not found |
| 429 | The request was rate-limited |