---
title: "Restore an account creation draft"
method: GET
path: "/api/drafts/{id}"
---

# Restore an account creation draft

`GET /api/drafts/{id}`

## Request

- Base URL: `https://api.peelaway.io`
- URL: `https://api.peelaway.io/api/drafts/{id}`
- Auth: API key in cookie `better-auth.session_token`

## Response `200`

id, userId, revision, updatedAt, configuration, and optional file with a fresh signed URL, name, and type

## Other responses

- `401`: Sign in required
- `404`: Missing draft or a draft belonging to another account

---

[API](https://skmtc.dev/peelaway/apis/peelaway-image-api.md) · [All operations](https://skmtc.dev/peelaway/apis/peelaway-image-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peelaway/apis/peelaway-image-api/revisions/8ce45533c9d0?raw)
