---
title: "Retrieve multiple item-relations by their IDs"
method: POST
path: "/api/workspaces/item-relations/list"
tags: ["CRUD", "Items:Relations"]
---

# Retrieve multiple item-relations by their IDs

`POST /api/workspaces/item-relations/list`

## Request

- Base URL: `https://app.airfocus.com`
- URL: `https://app.airfocus.com/api/workspaces/item-relations/list`
- Auth: HTTP bearer

Returns a list of item-relations resolved for the provided IDs.<br/>
Guarantees that the array-size and order of the returned item-relations matches the order of requested IDs.<br/>
Does not fail if any of the requested item-relations is not found or not accessible - instead it returns null as an array-element of the corresponding item-relation which could not be accessed.<br/>Requirements:<br/>- auth-client scopes: "workspace:read"<br/>- user permission: "read" or higher

## Query parameters

- `actAsAdmin` boolean

## Request body

- string[]

## Response `200`

- ItemRelationWithItemRelationEmbed[]
  - `_embedded` ItemRelationEmbed, required
    - `constraints` ItemRelationConstraint[], required
      - `extensionId` string, uuid, required
      - `type` 'readonly', required
  - `childId` string, uuid, required
  - `childOrder` integer, required
  - `id` string, uuid, required
  - `parentId` string, uuid, required
  - `parentOrder` integer, required

## Other responses

- `400`: If payload is invalid.
- `401`: If missing authentication token.
- `403`: If user does not have the required permission, or authenticated client does not have the required access scopes.
- `default`: If any other error happens.

---

[API](https://skmtc.dev/airfocus/apis/airfocus-api.md) · [All operations](https://skmtc.dev/airfocus/apis/airfocus-api/llms.txt) · [OpenAPI document](https://skmtc.dev/airfocus/apis/airfocus-api/revisions/fc9ccaa2ec6d?raw)
