---
title: "POST /list/{listId}/entity/add"
method: POST
path: "/list/{listId}/entity/add"
tags: ["List"]
---

# POST /list/{listId}/entity/add

`POST /list/{listId}/entity/add`

Adds a single entity to the specified list, optionally with context metadata.

## Path parameters

- `listId` string, required

## Request body

- object
  - `entity` Entity, required
    - `id` string, required — Entity id
    - `provided_id` string, required — Entity id provided in request
    - `type` string, required — Entity type
    - `name` string, required — Entity name
  - `context` object — Optional arbitrary key-value metadata to attach to the entity in this list. These values are stored and returned when retrieving entities via the Get Entities endpoint.

## Response `200`

Success

- AddOperationResponse
  - `result` 'added' | 'updated' | 'unchanged', required — `added` if the entity was newly added, `updated` if it already existed and its context was changed, or `unchanged` if it already existed with the same context.

## Other responses

- `400` — Invalid Request
- `404` — List not found
- `429` — Too Many Requests

---

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