Add request body
Adding a request body lets you send data from your Airtable base to other platforms. You can use table values, variables, and even attachment files 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 body type to use.
Add JSON request body
On the create request screen, select the Body tab.
Make sure the JSON tab is active.
Enter some JSON into the input. You can check your JSON is valid using this tool.
You can use the Beautify button to format the JSON.
Add x-www-form-urlencoded request body
On the create request screen, select the Body tab.
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, select the Body tab.
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, select the Body tab.
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, select the Body tab.
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 preview what this looks like with our GraphQL to JSON Body Converter.
Add Binary request body
On the create request screen, select the Body tab.
Click the Binary tab.
Use the + button on the right of the input to reference an attachment field in Airtable. When the request runs, the raw attachment data will be posted.
Last updated