POST
/
v3
/
content?action=restore
Bulk Restore Content
curl --request POST \
  --url 'https://api.proposales.com/v3/content?action=restore' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "variation_ids": [
    123
  ]
}'
{
  "data": {
    "restored_count": 123,
    "product_ids": [
      123
    ],
    "message": "<string>"
  }
}

Use this endpoint to restore multiple archived content items in a single request. Restoring archived content makes them visible again in the content library and allows them to be added to proposals.

Request Body

variation_ids
number[]
required

An array of variation IDs to restore. These must be currently archived content items.

{
  "variation_ids": [123, 456, 789]
}

Response

data
object
{
  "data": {
    "restored_count": 3,
    "product_ids": [123, 456, 789],
    "message": "Products restored successfully"
  }
}

To archive content items, use the Bulk Archive Content endpoint.