Skip to content

fix(segment): use batch endpoint for Jitsu compatibility - #24

Merged
vklimontovich merged 1 commit into
mainfrom
fix/segment-batch-endpoint
Feb 10, 2026
Merged

fix(segment): use batch endpoint for Jitsu compatibility#24
vklimontovich merged 1 commit into
mainfrom
fix/segment-batch-endpoint

Conversation

@vklimontovich

@vklimontovich vklimontovich commented Feb 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Switch segment backend from /v1/page and /v1/track to /v1/batch endpoint
  • Use X-Write-Key header instead of Basic auth (Jitsu's recommended auth method)
  • Fixes 401 errors when using Jitsu's ingest endpoint

Test plan

  • Typecheck passes
  • Lint passes
  • Format check passes
  • Unit tests pass
  • Manual test with Jitsu ingest endpoint

🤖 Generated with Claude Code

@vklimontovich
vklimontovich merged commit 452102f into main Feb 10, 2026
4 checks passed
@vklimontovich
vklimontovich deleted the fix/segment-batch-endpoint branch February 10, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant