Back to Settings

Custom Headers

Settings api 235

Add custom headers to API requests for specialized authentication or routing requirements. Useful for enterprise deployments with custom authentication systems or API gateways that require additional metadata.

Install Command
npx claude-code-templates@latest --setting api/custom-headers
View on GitHub
claude-code — custom-headers

Content

JSON
{
"description": "Add custom headers to API requests for specialized authentication or routing req..."
"env": {
"ANTHROPIC_CUSTOM_HEADERS": "X-Company-ID: your-company-id\nX-Environment: production\nX-API-Version: v1"
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.