Figma icon

Figma

Use the Figma API

Dev Resource → Create Dev Resources

AI-generated

Summary

Create dev resources across multiple files in Figma by sending a POST request with optional query parameters and a JSON request body describing the resources to create.

Inputs

  • Query Parameters — Optional collection of query parameters to customize the request, including pagination cursors ('after', 'before', 'cursor'), filtering options ('start_date', 'end_date', 'start_time', 'end_time'), file version, depth of document tree traversal, and others.
  • Request Body — JSON object defining the dev resources to create. This should conform to Figma's API specifications for creating dev resources.

Output shape

a single JSON object representing the created dev resources or relevant response from the Figma API

The response shape depends on the Figma API's returned data for creating dev resources and may contain information about the newly created resources or an error message. No pagination applies to this operation.

Discussion