chatformdocs
API referenceV1

Replace the working document, returning lint issues

PUT
/v1/forms/{id}/doc

Authorization

AuthorizationBearer <token>

A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/forms/string/doc" \  -H "Content-Type: application/json" \  -d '{    "doc": null  }'
{  "ok": true,  "issues": [    {      "level": "string",      "code": "string",      "message": "string",      "path": "string",      "refs": [        "string"      ]    }  ]}