---
title: "Update existing Contact_form object"
method: PUT
path: "/api/v1/content/contact_form/{id}"
tags: ["Content: Contact form"]
---

# Update existing Contact_form object

`PUT /api/v1/content/contact_form/{id}`

## Request

- Base URL: `https://api.flotiq.com`
- URL: `https://api.flotiq.com/api/v1/content/contact_form/{id}`
- Auth: API key in header `X-AUTH-TOKEN`

Allows update of the Contact form object, it has to have all fields, as this operation overwrites the object. All properties not included in the payload will be lost. <br />

## Path parameters

- `id` string, required

## Request body

- ContactFormWithoutInternal
  - `id` string, required: Unique ID of the object
  - `name` string, required
  - `email` string, required
  - `question` string

## Response `200`

OK

- ContactForm
  - `id` string, required: Unique ID of the object
  - `internal` object: Immutable object containing system information, it will be automatically generated on object creation and regenerated on updates.
    - `contentType` string, required: Name of Content Type Definition of object
    - `createdAt` string, required: Date and time of creation of Content Object, in ISO 8601 date format
    - `updatedAt` string, required: Date and time of last update of Content Object, in ISO 8601 date format
    - `deletedAt` string, required: Date and time of deletion of Content Object, in ISO 8601 date format
    - `workflowState` string: Information about object's current state in workflow
    - `status` string: Information about object's current status. Available states: draft, public, modified
    - `objectTitle` string: Object title
    - `latestVersion` number: Latest version of the Content Object
    - `workflowPublicVersion` number: number of latest published version of Content Object
    - `workflowPublishedAt` string: publication date of latest publish version of Content Object
    - `publishedAt` string: Publication date
    - `scheduledAtTimeZone` string: string with tz timezone name (np. Europe/Warsaw)
    - `publicVersion` number: number of latest published version of Content Object
  - `name` string, required
  - `email` string, required
  - `question` string

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Access denied or quota limit exceeded
- `404`: Not found

---

[API](https://skmtc.dev/flotiq/apis/flotiq-user-api.md) · [All operations](https://skmtc.dev/flotiq/apis/flotiq-user-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flotiq/apis/flotiq-user-api/revisions/7237c4268052?raw)
