---
title: "Move, resend or cancel a form request"
method: PATCH
path: "/v1/form-requests/{formRequestId}"
tags: ["Forms"]
---

# Move, resend or cancel a form request

`PATCH /v1/form-requests/{formRequestId}`

## Request

- Base URL: `https://sign-api.tvarka.pro`
- URL: `https://sign-api.tvarka.pro/v1/form-requests/{formRequestId}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://sign-api.tvarka.pro/oauth/authorize`, token URL `https://sign-api.tvarka.pro/oauth/token`, scopes: `sign.read`, `sign.signings`)

`visitAt` moves the visit, and with it the send time of a request not
yet sent and the expiry. `resend: true` sends the same link again.
`cancel: true` cancels. Nothing here makes a second submission.

## Path parameters

- `formRequestId` string, uuid, required

## Request body

- UpdateFormRequest
  - `visitAt` string, date-time
  - `sendAt` string, date-time
  - `expiresAt` string, date-time
  - `resend` boolean
  - `cancel` boolean

## Response `200`

The request after the change.

- FormRequest
  - `formRequestId` string, uuid, required
  - `reference` string, required
  - `status` 'scheduled' | 'sent' | 'opened' | 'in_progress' | 'submitted' | 'completed' | 'expired' | 'cancelled' | 'failed', required
  - `channel` 'remote' | 'walk_in' | 'kiosk', required
  - `externalId` string, nullable
  - `templateVersionIds` string[], required
  - `respondent` object
    - `name` string, nullable
    - `phone` string, nullable
    - `email` string, nullable
  - `visitAt` string, date-time, nullable
  - `sendAt` string, date-time, nullable
  - `expiresAt` string, date-time, nullable
  - `sentAt` string, date-time, nullable
  - `openedAt` string, date-time, nullable
  - `submittedAt` string, date-time, nullable
  - `completedAt` string, date-time, nullable
  - `createdAt` string, date-time, required
  - `filler` object
    - `who` 'subject' | 'guardian'
    - `name` string, nullable
    - `relation` string, nullable
  - `events` object[], required
    - `type` string
    - `actor` string
    - `at` string, date-time
  - `values` object: Present once submitted. Values by semantic identifier.
  - `document` object
    - `url` string, uri
    - `sha256` string

## Other responses

- `400`: An RFC 9457 problem document.
- `401`: An RFC 9457 problem document.
- `402`: An RFC 9457 problem document.
- `403`: An RFC 9457 problem document.
- `404`: An RFC 9457 problem document.
- `409`: An RFC 9457 problem document.
- `429`: An RFC 9457 problem document.
- `503`: An RFC 9457 problem document.

---

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