---
title: "Duplicate object"
method: POST
path: "/v2/prism/{teamId}/contact/{contactId}/duplicate"
---

# Duplicate object

`POST /v2/prism/{teamId}/contact/{contactId}/duplicate`

## Request

- Base URL: `https://developers.micro.so`
- URL: `https://developers.micro.so/v2/prism/{teamId}/contact/{contactId}/duplicate`
- Auth: API key in header `x-api-key`

## Path parameters

- `teamId` string, uuid, required
- `contactId` string, uuid, required

## Headers

- `Idempotency-Key` string

## Response `201`

Object duplicated. Returns the full new record (same shape as create).

- PrismObjectResponse: Object returned by reads (get/create/patch/restore). id is always present.
  - `id` string, uuid, required
  - `default` object: Properties keyed by property slug.
  - `list` object

## Other responses

- `401`: Missing or invalid credentials. API Gateway maps a missing or invalid `x-api-key` to HTTP 401 with this envelope (including `request_id`). A 403 here means the key was accepted but the caller is not permitted.
- `403`: Authenticated but not permitted to perform this action.
- `404`: Resource or route does not exist.
- `409`: Request conflicts with current state (e.g., duplicate or stale write).
- `500`: Unexpected server error. Retry with backoff; report `request_id` if persistent.

## Changes

- **2026-05-20** `fdc16d4f0be0`: 9 info
  - added the new optional `header` request parameter `Idempotency-Key`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `500`
  - …5 more
- **2026-05-08** `fdb6fc237baf`: 1 info
  - api operation id `duplicateContactV2` removed and replaced with `duplicateContact`
- **2026-05-07** `879ec3ce0903`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/micro-so/apis/prism/changes/v2/prism/:teamId/contact/:contactId/duplicate/post.md)

---

[API](https://skmtc.dev/micro-so/apis/prism.md) - [All operations](https://skmtc.dev/micro-so/apis/prism/llms.txt) - [OpenAPI document](https://skmtc.dev/micro-so/apis/prism/revisions/2b55e7c05657?raw)
