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
    • Pre-built 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 personal details
    • Update payment card
    • Update billing information
    • View invoices
    • Switch workspace
  • Get a Google Maps API Key
Powered by GitBook
On this page
  • Set up bearer token authentication
  • Set up basic authentication
  • Set up OAuth authentication
  • Set up header authentication
  • Set up parameter authentication
  • Set up AWS Signature V4 authentication
  1. Custom Requests

Request authorization

Last updated 6 months ago

Some APIs require you to set headers or parameters in order to authorize API requests.

You can set this up on the Authorization tab, and the necessary headers/ parameters will be sent when the request runs.

Data Fetcher supports:

Most API documentation will have an "Authentication" section which explains what type you should use.

Set up bearer token authentication

  • On the create request screen, click "Authorization".

  • Use the Type dropdown to select "Bearer Token".

  • Enter the bearer token in the Token input.

  • When your request runs, Data Fetcher will send an Authorization header with a value of Bearer YOUR_BEARER_TOKEN

Set up basic authentication

  • On the create request screen, click "Authorization".

  • Use the Type dropdown to select "Basic".

  • Enter the username in the Username input.

  • Optionally, enter the password in the Password input.

  • When your request runs, Data Fetcher will automatically send an Authorization header with a value of Basic username:password (base64 encoded).

Set up OAuth authentication

Set up header authentication

  • On the create request screen, click "Authorization".

  • Use the Type dropdown to select "Header".

  • Enter the header Name in the input.

  • Enter the header Value in the input.

  • When your request runs, Data Fetcher will add a header with the name and value you specified.

Set up parameter authentication

  • On the create request screen, click "Authorization".

  • Use the Type dropdown to select "Parameter".

  • Enter the parameter Name in the input.

  • Enter the parameter Value in the input.

  • When your request runs, Data Fetcher will add a parameter to the URL with the name and value you specified.

Set up AWS Signature V4 authentication

  • On the create request screen, click "Authorization".

  • Use the Type dropdown to select "AWS Signature V4".

  • Enter your AWS Access key in the input.

  • Enter your AWS Secret key in the input.

  • Optionally, enter the AWS Region. If you leave this blank, Data Fetcher will try to infer it from the URL.

  • Optionally, enter the AWS Service. If you leave this blank, Data Fetcher will try to infer it from the URL.

  • If you are using temporary security credentials, enter the AWS Session token.

  • When your request runs, Data Fetcher will calculate and add the X-Amz-Content-Sha256, X-Amz-Date & Authorization headers to authenticate with AWS.

Check out this guide for how to set up OAuth authentication.
OAuth
Bearer token
Basic authentication
Header
Parameter
AWS signature V4