Network: Create or close an HTTP session

Create or close an HTTP session for reuse across requests.

Help Centre › Building Processes

Create or close an HTTP session for reuse across requests.

Add it to a process

In the process designer, open the Add step tab. Find Create or close an HTTP session under Network › Session, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Base URLNoBase URL prepended to all request URLs (e.g. https://api.example.com/v1)
Session nameYesSession name Default: default.
Private key (PEM)NoThe private key for JWT signing (PEM format)
Default headers (JSON object)Noe.g. {"Accept": "application/json"}
Proxy URLNoThe proxy server address (e.g. http://proxy:8080)
Client certificate pathNoPath to a client certificate file for mutual TLS
AuthenticationNoThe authentication method to use Choices: Basic auth, Bearer token, API key, OAuth2 client credentials, OAuth2 authorization code, OAuth2 PKCE, OAuth2 device code, OAuth2 JWT bearer, AWS Signature V4, NTLM (Windows), OAuth 1.0a.
UsernameNoThe username for authentication
Password / TokenNoThe password for authentication
API key nameNoThe API key name for authentication
API key valueNoThe API key value for authentication
API key locationNoWhere to send the API key (header or query parameter) Choices: Header, Query parameter.
Token URLNoThe URL to request an OAuth2 access token from
Client IDNoThe OAuth2 client ID
Client secretNoThe OAuth2 client secret
ScopeNoThe OAuth2 scope(s) to request (space-separated)
Authorization URLNoOAuth2 authorization endpoint (auth_code, PKCE, device_code)
Redirect URINoThe redirect URI registered with the OAuth2 provider
JWT issuerNoThe JWT issuer claim
JWT subjectNoThe JWT subject claim
AWS access keyNoThe AWS access key ID for Signature V4 signing
AWS secret keyNoThe AWS secret access key for Signature V4 signing
AWS regionNoThe AWS region for Signature V4 signing (e.g. us-east-1)
AWS serviceNoThe AWS service name for Signature V4 signing (e.g. s3, execute-api)
AWS session tokenNoThe temporary AWS session token (for assumed roles / STS)
OAuth1 consumer keyNoThe OAuth 1.0 consumer key
OAuth1 consumer secretNoThe OAuth 1.0 consumer secret
OAuth1 tokenNoThe OAuth 1.0 access token
OAuth1 token secretNoThe OAuth 1.0 token secret
OAuth1 signature methodNoThe OAuth 1.0 signature method (e.g. HMAC-SHA1) Choices: HMAC-SHA1, HMAC-SHA256.
Timeout (seconds)NoRequest timeout in seconds Default: 30.
Max retriesNoMaximum number of retry attempts on failure
Backoff factorNoExponential backoff multiplier between retries
Retry on status codesNoComma-separated HTTP status codes that trigger a retry
Rate limit (seconds between requests)NoMaximum requests per second Default: 0.
Verify SSL certificatesNoVerify the server SSL/TLS certificate Default: on.

See all Network steps.

Errors

ErrorDescription
Invalid auth configThe authentication configuration is incomplete or invalid
OAuth2 token failedUnable to obtain an OAuth2 access token with the provided client credentials

Tips

  • Use sessions for APIs that require authentication – the auth token is automatically included in every request
  • Set base_url to avoid repeating the API host in every request URL (e.g. "https://api.example.com/v1")
  • Configure retry for flaky APIs – set max_retries, backoff_factor, and retry_on status codes
  • Set rate_limit to stay within API rate limits and avoid being throttled

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.