---
title: "Create a new interest"
method: POST
path: "/api/interests"
---

# Create a new interest

`POST /api/interests`

Creates a new interest with a Sen query to select objects

## Request body

- object
  - `name` string, required — Name of the interest
  - `query` string, required — Sen query to select objects
  - `autoSubscribe` object
    - `properties` boolean — Whether to automatically subscribe to properties
    - `events` boolean — Whether to automatically subscribe to events

## Response `200`

Interest created successfully

- object
  - `name` string — Name of the created interest

## Other responses

- `400` — Bad request. Invalid query or parameters
- `401` — Unauthorized, missing or invalid JWT token

## Changes

- **2026-07-17** `c9a79ab26d8c` — 1 info
  - added the new optional request property `autoSubscribe`
- **2026-02-26** `a817fe1f1538` — 1 warning
  - removed the request property `autoSubscribe`

[Change history](https://skmtc.dev/airbus/apis/openapi-document-for-rest-component/changes/api/interests/post.md)

---

[API](https://skmtc.dev/airbus/apis/openapi-document-for-rest-component.md) · [All operations](https://skmtc.dev/airbus/apis/openapi-document-for-rest-component/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/airbus/openapi-document-for-rest-component/revisions/c9a79ab26d8c/schema)
