> For the complete documentation index, see [llms.txt](https://manual.formwise.ai/formwise/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.formwise.ai/formwise/integrations/formwise-api/post-a-form-completion-to-formwise.md).

# POST a Form Completion to Formwise

{% embed url="<https://youtu.be/Oik6e7creA8?si=Y9_PrekiI3R4DGZX>" %}

## Form Completion

## POST a Form Completion to Formwise

{% hint style="warning" %}
Some settings such as Web Scraping and Web Searching are unavailable via the API due to timeout issues. Your tool will still run, however it will not conduct any searching.
{% endhint %}

{% openapi src="/files/pQPIhErKEI2IbfUmA1qL" path="/wf/form\_completion" method="post" %}
[form\_completion.yaml](https://728196400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Lugni2T5TewiPeYs1ka%2Fuploads%2Fl01a9q76yN3cEci51fBz%2Fform_completion.yaml?alt=media\&token=3cdedbc5-c843-4d7f-98d0-01478c0ce181)
{% endopenapi %}

#### Headers

| Name                                            | Type               | Description                                           |
| ----------------------------------------------- | ------------------ | ----------------------------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | Bearer \<YOUR-KEY> | Your API Token which can be found on the Account page |

#### Request Body

| Name                                            | Type                                       | Description                                                                                                                                                                                                   |
| ----------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| form\_id<mark style="color:red;">\*</mark>      | "1679493702554x213757137604050940"         | The Live Form ID of the Form you are processing the responses with.                                                                                                                                           |
| answer\_array<mark style="color:red;">\*</mark> | \["Yes","No","Maybe","Certainly","Unsure"] | <p>An array of answers which represent the form response. Ensure the order of the answers matches the order of the questions on your form. Example: \["Yes","No","Maybe","Certainly","Unsure"]</p><p><br></p> |

{% tabs %}
{% tab title="200: OK Returns the Response ID of the response if successfully created." %}

{% endtab %}

{% tab title="400: Bad Request See Errors Below" %}

{% endtab %}
{% endtabs %}

After a successful POST, you will see the form response within your Live form responses. You will also receive your own email which is used to reference the account when using Zapier.

#### Example Response

```
{
    "Response ID": "1689116584424x991255285110145000"
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://manual.formwise.ai/formwise/integrations/formwise-api/post-a-form-completion-to-formwise.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
