Overview

This page documents the API Key Authentication feature of Request Man.

API Key Authentication GET https://api.example.com/data API Key Add API Key To Header Query Params Key Name X-API-Key Value 🔒 Secure sk_live_51Hxyz... Use {{var}} HEADER PREVIEW X-API-Key: sk_live_51Hxyz...
Documentation in Progress: Full documentation for this feature coming soon!

Key Features

The API Key Authentication feature provides powerful capabilities for API testing and development.

🔑 Header or Query ✓ Add to request header ✓ Add to query parameters ✓ Custom key names Header Example: X-API-Key: abc123 Query Example: ?api_key=abc123 Both methods supported! 🔑 Multiple Keys ✓ Multiple API keys per request ✓ Different key names ✓ Mix header & query X-API-Key: key1 X-Client-ID: client1 Authorization: Bearer tok Use multiple keys together! {{ Dynamic Keys ✓ Use environment variables ✓ Switch keys per environment ✓ Keep keys secure Dev Environment: {{devApiKey}} Prod Environment: {{prodApiKey}} Auto-switch with env!

Getting Started

Access the Feature

Navigate to API Key Authentication in the Request Man interface.

Configure Settings

Set up your API Key Authentication preferences.

Start Using

Begin using API Key Authentication in your API workflows!

Step 1: Choose where to add API key Header Step 2: Enter key name X - A P I - K e y Step 3: Enter value sk_live_51Hxyz... Or use {{apiKey}} RESULT ✓ X-API-Key: sk_live_51Hxyz... ✓

Examples

Here are practical examples of using API Key Authentication:

Example: API Key in Header vs Query Option 1: API Key in Header Request URL: https://api.stripe.com/v1/customers Header: Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc Option 2: API Key in Query Parameter Request URL: https://api.openweathermap.org/data/2.5/weather ?q=London&appid=abc123xyz789 Query Parameters: appid = abc123xyz789

Tips & Best Practices

Tip 1

Learn the keyboard shortcuts for faster workflow.

Tip 2

Use variables for flexibility across environments.

Tip 3

Save and organize your work in collections.

Tip 4

Check the console for detailed logging information.