---
title: "Create dev resources"
method: POST
path: "/v1/dev_resources"
tags: ["Dev Resources"]
---

# Create dev resources

`POST /v1/dev_resources`

Bulk create dev resources across multiple files.
Dev resources that are successfully created will show up in the links_created array in the response.

If there are any dev resources that cannot be created, you may still get a 200 response. These resources will show up in the errors array. Some reasons a dev resource cannot be created include:

- Resource points to a `file_key` that cannot be found.
- The node already has the maximum of 10 dev resources.
- Another dev resource for the node has the same url.

## Request body

- object
  - `dev_resources` object[], required — An array of dev resources.
    - `name` string, required — The name of the dev resource.
    - `url` string, required — The URL of the dev resource.
    - `file_key` string, required — The file key where the dev resource belongs.
    - `node_id` string, required — The target node to attach the dev resource to.

## Response `200`

Response from the POST /v1/dev_resources endpoint.

- object
  - `links_created` DevResource[], required — An array of links created.
    - `id` string, required — Unique identifier of the dev resource
    - `name` string, required — The name of the dev resource.
    - `url` string, required — The URL of the dev resource.
    - `file_key` string, required — The file key where the dev resource belongs.
    - `node_id` string, required — The target node to attach the dev resource to.
  - `errors` object[] — An array of errors.
    - `file_key` string, nullable — The file key.
    - `node_id` string, nullable — The node id.
    - `error` string, required — The error message.

## Other responses

- `400` — Bad request. Parameters are invalid or malformed. Please check the input formats. This error can also happen if the requested resources are too large to complete the request, which results in a timeout. Please reduce the number and size of objects requested.
- `401` — Token is missing or incorrect.
- `403` — The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource, or may need an account of some sort.
- `429` — In some cases API requests may be throttled or rate limited. Please wait a while before attempting the request again (typically a minute).
- `500` — An internal server error occurred.

## Changes

- **2023-12-14** `de5c0106668d` — 1 info
  - the endpoint scheme security `PlanAccessToken` was removed from the API

[Change history](https://skmtc.dev/figma/apis/figma-api/changes/v1/dev_resources/post.md)

---

[API](https://skmtc.dev/figma/apis/figma-api.md) · [All operations](https://skmtc.dev/figma/apis/figma-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/figma/figma-api/revisions/de5c0106668d/schema)
