Add request body
Adding a request body lets you send data from your Airtable base to other platforms. You can use table values or variables anywhere in the request body.
The supported body types are:
Typically, you want to add a request body when the request method is POST, PATCH or PUT. Check the API documentation to understand what type of body to use.
Add JSON request body
On the create request screen, click "Body".
Click the "JSON" tab, if it's not already active.
Enter some JSON into the input. You can check your JSON is valid using this tool.
Add x-www-form-urlencoded request body
On the create request screen, click "Body".
Click the "x-www-form-urlencoded" tab.
Click "+ Add".
Enter a key and value in the inputs.
Add more keys and values, as required.
Add form-data request body
On the create request screen, click "Body".
Click the "form-data" tab.
Click "+ Add".
Enter a key and value in the inputs.
Add more keys and values, as required.
Add XML request body
On the create request screen, click "Body".
Click the "XML" tab.
Enter some XML in the input. You can check your XML is valid using this tool.
Add GraphQL Request Body
On the create request screen, click "Body".
Click the "GraphQL" tab.
Add your GraphQL query in the Query input and any variables as JSON in the Variables input. When the request runs, the GraphQL query and variables will be turned into a JSON body. You can see what this looks like with our GraphQL to JSON Body Converter.
Last updated