Task Configuration

Custom Headers and Cookies

22 Oct, 2025 7 min read

Add custom HTTP headers and cookies to access authenticated content or configure API requests.

Custom Headers

HTTP headers provide additional information with requests:

Authorization Headers

Authorization: Bearer your-api-token-here

API Keys

X-API-Key: your-api-key

Content Type

Content-Type: application/json

Custom Cookies

Cookies maintain session state and authentication:

How to Get Cookies

  1. Log into the website in your browser
  2. Open Developer Tools (F12)
  3. Go to Application/Storage → Cookies
  4. Copy the cookie name and value
  5. Add to task configuration

Cookie Format:

session_id=abc123xyz; user_token=def456uvw

Common Use Cases

Logged-In Content

Use session cookies to access user dashboard or account pages.

API Authentication

Add API keys or bearer tokens in Authorization header.

Private APIs

Include custom headers required by private endpoints.

Session Persistence

Maintain login sessions across multiple checks.

Security Warning

Cookies and tokens can provide full access to your accounts. Keep them secure and use service accounts when possible.

Still need help?

Our support team is available to help you with any questions.