viaSocket Help

Basic Auth

Configure Basic Auth for APIs requiring an API Key or Username/Password combination.

#

Configuration Steps

  1. Configure your Fields: Create input fields for credentials (e.g., api_key).

  2. Configure Test (Me) API: Provide a lightweight GET endpoint (e.g., /me) to validate credentials.

  3. Add Connection Label: Set a dynamic display name for user connections (e.g., {{email}}).

  4. Add Icon: Enter the key from your Test Endpoint response containing the user's avatar URL (e.g., {{profile_image}}).

  5. Add URLs to Whitelist: Enter allowed base domains to secure your requests.

  6. Set Request Parameters: Define default headers/params applied to every API call.

Disable Whitelist Domain Validation - Allows API calls to any domain, not just the ones listed above.

#

Common Request Parameters

Use Case

Key

Value

Bearer Token

Authorization

Bearer {{access_token}}

API Key

x-api-key

{{api_key}}