Marketplace

Acquire a marketplace item (reference or copy)

POST
/api/marketplace/{id}/acquire

Acquire a published prompt for the calling user. When shareType is copy a duplicate Prompt document is created and ownership assigned to the caller; when reference only a UserAcquiredItem link is recorded. Templates must be acquired via /api/marketplace/{id}/import-to-automations instead.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/marketplace/string/acquire" \  -H "Content-Type: application/json" \  -d '{    "requestEditable": true  }'
{  "success": true,  "message": "Prompt copied to your library",  "data": {    "acquired": {      "id": "64d2f9c5e8a1d4e001a0b1c5",      "itemType": "prompt",      "type": "copy",      "isEditable": true,      "publishedItemId": "64d2f9c5e8a1d4e001a0b1c2",      "originalItemId": "64a1b2c3d4e5f6001234567a",      "copiedItemId": "64a1b2c3d4e5f60012345700",      "acquiredAt": "2026-05-20T15:04:01.135Z"    }  }}