---
title: "Add resources in bulk"
method: POST
path: "/api/v1/inventories/{inventory_id}/resources/bulk"
tags: ["Resources"]
---

# Add resources in bulk

`POST /api/v1/inventories/{inventory_id}/resources/bulk`

## Request

- Base URL: `https://pcp.example.com`
- URL: `https://pcp.example.com/api/v1/inventories/{inventory_id}/resources/bulk`
- Auth: HTTP bearer

## Path parameters

- `inventory_id` string, required

## Query parameters

- `organization_id` string, uuid

## Request body `application/octet-stream`

- string, binary

## Response `200`

OK

- ResourceEntry[]
  - `class` string
  - `configured_connectors` object[]
    - `country_detected` string, nullable
    - `id` string, uuid
    - `integration` object
      - `created_at` string, date-time
      - `fields` object, nullable
      - `id` string, uuid
      - `name` string, nullable
      - `protocols` string[], nullable
      - `supports` string[], nullable
      - `updated_at` string, date-time
      - `version` string, nullable
    - `name` string
    - `residency` string, nullable
    - `type` string
  - `country_detected` string, nullable
  - `coverage_status` string
  - `excluded_from_coverage` boolean
  - `id` string, uuid
  - `inventory_id` string, uuid
  - `inventory_name` string
  - `inventory_type` string
  - `locked` boolean
  - `name` string
  - `residency` string, nullable
  - `service` string
  - `subclass` string
  - `tags` string[]
  - `urn` string
  - `urn_id` string, uuid

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `401`: Missing, invalid or expired credentials
- `403`: The caller may not do this
- `500`: Internal Server Error _(panics)_
- `default`

---

[API](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1.md) - [All operations](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/revisions/2ac049494a01?raw)
