---
title: "Add an entry"
method: POST
path: "/v1/lists/{id}/entries"
tags: ["Lists"]
---

# Add an entry

`POST /v1/lists/{id}/entries`

Adds a resource to a list as a new entry.

## Request body

- object
  - `resourceId` string — The id of the resource to add (for example, a company id).
  - `resourceType` string — The type of the resource, e.g. "company".

## Response `201`

The created entry.

- object
  - `data` ListEntry
    - `id` string
    - `resourceId` string — The id of the resource this entry references.
    - `resourceType` string

## Other responses

- `400` — The request body or parameters are invalid.
- `401` — Missing or invalid API key credentials.
- `404` — The resource does not exist in your organization.

---

[API](https://skmtc.net/metal/apis/metal-api.md) · [All operations](https://skmtc.net/metal/apis/metal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metal/metal-api/revisions/afb7b675d5b2/schema)
