Data Fetcher Help Center
🚀 Try for free📮 Support
  • 👋Welcome
  • Create Requests
    • Create a request
    • Use table values in requests
    • Use variables in requests
    • Response field mapping
    • Schedule a request
    • Add a request trigger
    • Troubleshoot errors
    • Run request using webhook URL
    • List of Airtable integrations
  • Custom Requests
    • Create a custom request
    • Set request method
    • Set request parameters
    • Request authorization
    • Set request headers
    • Add request body
    • Connect to a preset OAuth API
    • Create a custom OAuth connection
  • Advanced settings
    • Write modes
    • Update based on field(s)
    • Pagination
    • Response data transformations
    • Response JMESPath
    • Add fixed value to output
    • No output mode
    • Rate limit
    • Max response records
    • Run request from button field
    • Denormalize response
    • XML array handling
    • Fixed IP Address
  • Organise Requests
    • Run history
    • Duplicate a request
    • Delete a request
    • Add request description
    • Import request from cURL command
    • Export requests as JSON file
    • Import requests from JSON file
  • Create Sequences
    • Create a sequence
    • Schedule a sequence
    • Run sequence from button field
    • Run sequence using webhook URL
  • Account
    • Upgrade workspace
    • Authorize Data Fetcher and Airtable
    • Add user to workspace
    • Roles and permissions
    • View monthly usage
    • Update name or email address
    • Update payment card
    • Update billing information
    • View invoices
    • Switch workspace
  • Get a Google Maps API key
Powered by GitBook
On this page
  • How to manage request headers
  • Common header examples
  1. Custom Requests

Set request headers

HTTP headers allow you to send additional information with your API requests, such as authentication tokens, API version specifications, or content type declarations. Many APIs require specific headers to function properly.

Check your target API's documentation to see which headers you need to include with your requests. You can also learn more about HTTP headers in general here.

How to manage request headers

Add a request header

  1. On the custom request screen, click the Headers tab.

  2. Click + Add to create a new header.

  3. Enter the header name in the left input field and its corresponding value in the right input field.

  4. Use the + icon next to the value field to use table values from your Airtable base into the header.

  5. Repeat steps 2-4 to add additional headers as needed.

Remove a request header

  1. On the create request screen, click the Headers tab.

  2. Find the header you want to remove.

  3. Click the - button next to that header to delete it.

Common header examples

Here are some frequently used headers you might need:

  • Authorization: Used for API authentication (e.g., Bearer your-token-here)

  • Content-Type: Specifies the format of your request body (e.g., application/json)

  • Accept: Tells the API what response format you prefer (e.g., application/json)

  • User-Agent: Identifies your application to the API server

Last updated 29 days ago