Save a URL
Save an HTTP or HTTPS URL to the authenticated account's read-later queue. Capture is idempotent by URL: saving a URL that is already in the queue returns `200` with the existing Saved Item rather than creating a duplicate, while a genuinely new URL returns `201`. Read the `created` field of the response to tell the two apart. Link Metadata and Link Enrichment are fetched in the background, so the title, image, and tags of a freshly captured item may still be empty in this response. Poll the Saved Item until `enrichmentStatus` leaves `pending`. Send an `Idempotency-Key` header to make a retry after a network failure safe.
/v1/capturesSave an HTTP or HTTPS URL to the authenticated account's read-later queue.
Capture is idempotent by URL: saving a URL that is already in the queue returns 200 with the existing Saved Item rather than creating a duplicate, while a genuinely new URL returns 201. Read the created field of the response to tell the two apart.
Link Metadata and Link Enrichment are fetched in the background, so the title, image, and tags of a freshly captured item may still be empty in this response. Poll the Saved Item until enrichmentStatus leaves pending.
Send an Idempotency-Key header to make a retry after a network failure safe.
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
application/json
application/json
application/json
curl -X POST "https://example.com/v1/captures" \ -H "Idempotency-Key: 8f14e45f-ea4e-4a1f-9c2b-6f0a1d3c5e77" \ -H "Content-Type: application/json" \ -d '{ "url": "string" }'{ "savedItem": { "id": "string", "originalUrl": "string", "normalizedUrl": "string", "host": "string", "title": "string", "description": "string", "siteName": "string", "faviconUrl": "string", "faviconLightUrl": "string", "faviconDarkUrl": "string", "imageUrl": "string", "canonicalUrl": "string", "authorName": "string", "authorHandle": "string", "authorAvatarUrl": "string", "previewSummary": "string", "type": "article", "tags": [ "ai" ], "enrichmentStatus": "pending", "sourceName": "string", "captureChannel": "chrome-extension", "folder": { "id": "string", "name": "string", "emoji": "string", "color": "string", "isPublished": true }, "isRead": true, "hasReadableContent": true, "lastSavedAt": "string", "createdAt": "string", "updatedAt": "string" }, "captureResult": "updated"}{ "savedItem": { "id": "string", "originalUrl": "string", "normalizedUrl": "string", "host": "string", "title": "string", "description": "string", "siteName": "string", "faviconUrl": "string", "faviconLightUrl": "string", "faviconDarkUrl": "string", "imageUrl": "string", "canonicalUrl": "string", "authorName": "string", "authorHandle": "string", "authorAvatarUrl": "string", "previewSummary": "string", "type": "article", "tags": [ "ai" ], "enrichmentStatus": "pending", "sourceName": "string", "captureChannel": "chrome-extension", "folder": { "id": "string", "name": "string", "emoji": "string", "color": "string", "isPublished": true }, "isRead": true, "hasReadableContent": true, "lastSavedAt": "string", "createdAt": "string", "updatedAt": "string" }, "captureResult": "created"}{ "_tag": "InvalidUrlError", "message": "string", "url": "string"}{ "_tag": "Unauthorized", "message": "string"}{ "_tag": "FolderNotFoundError", "message": "string", "folderId": "string"}{ "_tag": "RateLimitExceeded", "message": "string"}Sleevy OpenAPI reference
Generated from Sleevy's OpenAPI schema. Browse every endpoint, parameter, request body, and response.
Save many URLs in one request POST
Save up to 50 URLs to the authenticated account's read-later queue in one request, so an agent working through a list does not have to make one call per link. Entries are applied one at a time and the batch is not a transaction: each result carries its own `outcome` of `created`, `updated`, or `failed`, and a failing entry does not roll back the ones that succeeded. Results are returned in request order and each carries its `index`, so a caller can line them up with what it sent. The response is always `200` when the batch itself was accepted, even if every entry failed. Read `created`, `updated`, and `failed` for the totals, and each result's `code` and `message` for why an entry failed. Send an `Idempotency-Key` header to make a retry after a network failure safe; the whole batch replays as one recorded response.