Apply Organize
Apply the moves kept from the Organize plan, and end the run. New Folders are made only for kept moves, and a name the account already uses reuses that Folder. A Saved Item that was filed since the preview, or that is not the account's, is left alone.
/v1/settings/organize/applyApply the moves kept from the Organize plan, and end the run. New Folders are made only for kept moves, and a name the account already uses reuses that Folder. A Saved Item that was filed since the preview, or that is not the account's, is left alone.
Authorization
bearer Personal API Key or App Session bearer token.
In: header
Header Parameters
A unique value identifying this write. The first response for a given key is recorded for 24 hours and replayed for every later request that repeats it, so a retry after a timeout cannot create a duplicate. Replayed responses carry Idempotent-Replay: true. A key whose original request is still running gets 409. Use a UUID or a ULID, and reuse a key only when retrying the same request.
length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/settings/organize/apply" \ -H "Idempotency-Key: 8f14e45f-ea4e-4a1f-9c2b-6f0a1d3c5e77" \ -H "Content-Type: application/json" \ -d '{ "newFolders": [ { "key": "string", "name": "string", "emoji": "string", "color": "string" } ], "moves": [ { "savedItemId": "string", "folderId": "string", "newFolderKey": "string" } ] }'{ "filed": 0, "foldersCreated": 0}{ "_tag": "Unauthorized", "message": "string"}{ "_tag": "RateLimitExceeded", "message": "string"}Rename this client's capture source PUT
Set the Source name this client records on the items it captures, such as the device name a person will recognise later. Applies to future captures from this client and returns `204`.
Discard the Organize plan DELETE
Throw away the finished or failed Organize run without changing anything.