---
title: "Prefill smart fields"
method: POST
path: "/document/{document_id}/integration/object/smartfields"
---

# Prefill smart fields

`POST /document/{document_id}/integration/object/smartfields`

## Request

- Base URL: `https://api.signnow.com`
- URL: `https://api.signnow.com/document/{document_id}/integration/object/smartfields`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/signnow/apis/signnow-api/docs/document/:document_id/integration/object/smartfields/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows API users to prefill smart fields in a document.

**Note:** names of smart fields are case-sensitive.

## Request body

- object
  - `data` object[], required
    - `field_name1` string
    - `field_name2` string
  - `client_timestamp` string, required

## Response `200`

The smart fields were prefilled.

- object
  - `status` string: Result of the request. Always `success`.

## Other responses

- `400`: Bad request.

---

[API](https://skmtc.dev/signnow/apis/signnow-api.md) - [All operations](https://skmtc.dev/signnow/apis/signnow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signnow/apis/signnow-api/revisions/1c9c30a6142b?raw)
