Update magnet status

PATCH/api/v1/magnets/{id}

Change a magnet's status between draft, private, public, and archived.

magnets:writeChange a magnet's status (draft, private, public, archived).

Notes

Body: { "status": "public" }. Status is the only writable field in v1; copy and sections are edited in the app, where the AI guardrails live.
Setting public requires a successful test send first, the same gate the editor enforces. Without one you get 400 test_send_required.

Parameters

Name In Type Default Description
id path string Magnet id. Required.

Example

curl "https://resources.ashwanth.dev/api/v1/magnets/YOUR_ID" \
  -H "Authorization: Bearer $LEADMAGNET_API_KEY"
Try it
API key
Held in this page only, never saved or sent anywhere but this API. If you are signed in, you can leave it blank.
Parameters
id *
Request
PATCH /api/v1/magnets/{id}
Fill the required path parameter first.