XPlanner

Docs

Archive idea

Moves an active idea to the archive. Repeating the request safely returns the same result while preserving the existing archive timestamp.


POST

/ideas/{id}/archive

ideas:update

Header'lar

Authorization

*
string

API key. Format: Bearer xpl_live_...

Idempotency-Key

*
string

Unique value of 1-255 characters to safely retry the same write request.

Content-Type

string

Use application/json when sending JSON body.

Cevaplar

200

Idea archived.

404

No idea found or no access.

cURL

curl -X POST https://api.xplanner.co/v1/ideas/idea_123/archive \  -H "Authorization: Bearer $XPLANNER_API_KEY" \  -H "Idempotency-Key: idea-archive-001"

Cevap

{  "data": {    "id": "idea_123",    "archivedAt": "2026-08-22T12:00:00.000Z"  },  "requestId": "req_123"}