---
title: "Poll an edit request"
method: GET
path: "/api/edit-request/{id}"
tags: ["Edits"]
---

# Poll an edit request

`GET /api/edit-request/{id}`

## Request

- Base URL: `https://curlship.com`
- URL: `https://curlship.com/api/edit-request/{id}`
- Auth: none declared

Status of a request: pending, applied, expired or cancelled. Never echoes the token.

## Path parameters

- `id` integer, required

## Response `200`

The request

- object
  - `ok` boolean
  - `request` object
    - `id` integer
    - `listing_id` integer
    - `proof` string
    - `status` 'pending' | 'applied' | 'expired' | 'cancelled'
    - `changes` object
    - `created_at` string
    - `expires_at` string

## Other responses

- `400`: Id is not an integer
- `404`: No request with that id

---

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