Request authorization
Last updated
Last updated
Many APIs require authentication to verify your identity and authorize access to their services. Data Fetcher makes this easy by automatically handling the necessary headers and parameters when you configure authorization on the Authorization tab.
Data Fetcher supports six different authentication methods:
Check your API's documentation for an "Authentication" section that explains which method to use.
All authorization methods follow the same initial steps:
On the custom request screen, click the Authorization tab.
Use the Type dropdown to select your authentication method.
Fill in the required fields for your chosen method (detailed below).
When your request runs, Data Fetcher automatically adds the necessary authentication information.
Bearer tokens are commonly used by modern APIs and services.
Select Bearer Token from the Type dropdown.
Enter your bearer token in the Token input field.
When the request runs, Data Fetcher sends an Authorization
header with the value Bearer YOUR_BEARER_TOKEN
.
Basic authentication uses a username and password combination.
Select Basic from the Type dropdown.
Enter your username in the Username input field.
Optionally, enter your password in the Password input field.
When the request runs, Data Fetcher automatically sends an Authorization
header with the value Basic username:password
(base64 encoded).
OAuth provides secure, token-based authentication for third-party services. Data Fetcher offers two OAuth options:
Some APIs require custom authentication headers with specific names and values.
Select Header from the Type dropdown.
Enter the required header name in the Name input field.
Enter the corresponding header value in the Value input field.
When the request runs, Data Fetcher adds a header with the exact name and value you specified.
Parameter authentication adds authentication information directly to the request URL.
Select Parameter from the Type dropdown.
Enter the parameter name in the Name input field.
Enter the parameter value in the Value input field.
When the request runs, Data Fetcher adds the parameter to the URL with the name and value you specified.
AWS Signature V4 is required for authenticating requests to Amazon Web Services.
Select AWS Signature V4 from the Type dropdown.
Enter your AWS Access Key in the Access key input field.
Enter your AWS Secret Key in the Secret key input field.
Optionally, specify the AWS Region. If left blank, Data Fetcher attempts to infer it from the URL.
Optionally, specify the AWS Service. If left blank, Data Fetcher attempts to infer it from the URL.
If using temporary security credentials, enter your AWS Session token.
When the request runs, Data Fetcher automatically calculates and adds the X-Amz-Content-Sha256
, X-Amz-Date
, and Authorization
headers required for AWS authentication.
Preset OAuth connections - For popular APIs like Google, Facebook, and other major platforms that Data Fetcher supports out of the box. .
Custom OAuth connections - For APIs that require OAuth but aren't available as preset options. .