Logo
Anvil API Documentation

Embeddable Webforms API

Number of APIs: 3


To demonstrate the capabilities of our Webform API, you need to sign up for an account. After signing up, we will be copy the IRS W-9 Workflow into your account, and interact with your copy of the Workflow to send form data (submissions) to be collected on your Workflow.

All examples require an APIKEY variable set here, at the collection level. Click on the 'Variables' tab and set the APIKEY variable with your API key from your Anvil organization settings. More info on API keys here.

First, go to this URL to copy the prebuilt Workflow into your account. Click the link that says Save to account. Complete the steps to get the IRS W-9 into your account.

From here on out use this Workflow for these requests. Replace any 'your-*-eid-here' with the eid for your Workflow, submission, weldData, etc. There will be tips along the way, let's get started!

As a general note, API information can be found at: https://app.useanvil.com/org/{your-org-slug}/w/{your-weld-slug}/api. Replace the link with your org slug and weld slug, and you'll be given example payloads, form URLs, and GraphQL variables.


1. Pass hidden data - Pass hidden data to submission

POST {{url}}



2. Set up: createWeldData - createWeldData

POST {{url}}



3. Submit webform data - Get submission status

POST {{url}}



ENDPOINTS