---
title: "Store a screenshot for 30 days"
method: POST
path: "/api/images/temporary"
tags: ["Images"]
---

# Store a screenshot for 30 days

`POST /api/images/temporary`

## Request

- Base URL: `https://api.imagelato.com`
- URL: `https://api.imagelato.com/api/images/temporary`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

PNG data URL up to 4 MiB. Writes one lifecycle-managed object without permanent batches, variants or webhooks. S3 expiration is asynchronous.

## Request body

- object
  - `file` string, required

## Response `200`

Temporary image URL (no batch created)

- object
  - `url` string, uri, required
  - `retentionDays` 30, required

## Other responses

- `400`: Invalid PNG
- `401`: Missing credentials
- `403`: Missing images write scope
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/imagelato/apis/imagelato-api.md) · [All operations](https://skmtc.dev/imagelato/apis/imagelato-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imagelato/apis/imagelato-api/revisions/3e3c7553a1bb?raw)
