Two-way sync
Changes in Lever or TiDB instantly reflect in both systems. No stale data, no manual imports.
Keep Lever and TiDB in sync without custom scripts. Cut weeks of integration work, eliminate silent data drift, and give your team a single, reliable source of truth.
Lever is the system of record for the people side of the business — employees, candidates, roles, and the org structure around them. TiDB is where internal tools, dashboards, provisioning jobs, and analytics actually read and store records. The overlap is the workforce itself: Opportunities, Postings, Requisitions, Offers in Lever need to exist as queryable Columns, Indexes, Sequences, Databases in TiDB before an app can act on them. When that bridge is a nightly export or a hand-run CSV, every downstream system spends the day working from a roster that has already moved on.
Stacksync syncs Columns, Indexes, Sequences, Databases in TiDB with Opportunities, Postings, Requisitions, Offers in Lever field by field, in real time. You decide which system owns which fields — Lever typically owns identity and org attributes, while operational or computed values can flow back the other way — and Stacksync keeps every copy consistent, matching records on a stable key and resolving conflicts by rules you set.
The result is one live picture of the workforce on both sides: HR keeps its source of truth, and the database keeps a current mirror that internal apps, reports, and access controls can trust without a batch window in between.
Opportunities, Postings, Requisitions, Offers replicate into TiDB where they join operational tables, so headcount, roles, and status reports run on the live state without manual pulls.
Groups, departments, managers, and reporting lines from Lever stay consistent in TiDB, so hierarchy-driven logic and permissions don't drift.
Values assembled or corrected in TiDB write onto the matching record in Lever where those fields are writable, keeping the people system enriched.
Representative objects on each side — any object or custom field can map to any target. Schemas are auto-detected; types are converted between the two systems.
| Lever objects | TiDB objects | How this pairing syncs | |
|---|---|---|---|
| Users Lever team members (recruiters, hiring managers) with configurable roles; can be created via POST /users, deactivated, and reactivated through the API. | Columns MySQL-compatible types mapped to fields in the paired system. | Users is specific to Lever and Columns to TiDB — each maps to any object or custom field on the other side. | |
| Stages Pipeline stage definitions that Opportunities move through; read to model funnel state and stage transitions in a database. | Indexes Secondary indexes that keep incremental sync queries efficient. | Stages is specific to Lever and Indexes to TiDB — each maps to any object or custom field on the other side. | |
| Feedback Interview feedback and scorecard forms attached to Opportunities; created via POST /opportunities/:id/feedback and consolidated into a warehouse for interviewer analytics. | Sequences Server-side ID generation relevant when external systems write rows. | Feedback is specific to Lever and Sequences to TiDB — each maps to any object or custom field on the other side. | |
| Interviews Scheduled interview panel events with times and interviewers; read for scheduling reporting and time-to-hire metrics, and creatable via the panels endpoint. | Databases MySQL-style schemas addressed by any MySQL-compatible client. | Interviews is specific to Lever and Databases to TiDB — each maps to any object or custom field on the other side. | |
| Notes and Contacts Free-text Notes on Opportunities plus the underlying Contact (person) that dedupes multiple Opportunities; notes are posted via POST /opportunities/:id/notes and contact-level tags, sources, and links can be added back for attribution. | Tables Row data stored in TiKV; the primary unit for reads, writes, and CDC. | Notes and Contacts is specific to Lever and Tables to TiDB — each maps to any object or custom field on the other side. | |
| Opportunities The core pipeline record for a candidate applying to a role; replaced the deprecated Candidates endpoint. Created via POST /opportunities and updated (stage, archive, links, tags, sources, files) through the API, and synced two-way with a database or HRIS. | Views Logical views for shaping reads before syncing outward. | Opportunities is specific to Lever and Views to TiDB — each maps to any object or custom field on the other side. |
Each direction of the sync is driven by what the source system can signal and what the destination accepts — detection, delivery, and expected latency below.
DetectionLever notifies Stacksync of record changes through webhook events. Webhooks for candidate and application lifecycle events (applicationCreated, candidateStageChange, candidateArchiveStateChange, candidateHired,.
DeliveryEach detected change is applied to TiDB as a row-level write, with types converted between the two schemas.
DetectionChanges in TiDB are captured at the source via change data capture — no polling loop against its API. Log-based CDC via TiCDC, which captures row changes from TiKV and streams them to downstream sinks.
DeliveryEach detected change is written to Lever through its API, with automatic retries and rate-limit backoff.
Real-time sync, workflow automation, event queues, EDI, and monitoring, for every Lever–TiDB connection.
Changes in Lever or TiDB instantly reflect in both systems. No stale data, no manual imports.
Trigger automated workflows whenever Lever or TiDB data changes, update records, fire webhooks, or kick off sequences without brittle API scripts.
Handle millions of events per minute without losing a single Lever or TiDB record.
Track your Lever ⇄ TiDB sync health, view errors, and replay failed events in one click.
Transform legacy EDI complexity into simple database interactions between Lever and TiDB.
Configure and sync within minutes, no code. Whether you sync 50k or 100M+ records, Stacksync handles the queues, infra, and plumbing. Integrations are non-invasive and need zero setup on your systems.
Authenticate Lever and TiDB with each platform's native method — OAuth, API keys, or service accounts — plus secure options like SSH tunneling, IP whitelisting, and VPC peering.
Pick the Lever and TiDB objects to sync — Stacksync auto-detects both schemas, including custom fields where the platform exposes them. Sync to existing tables, or let Stacksync create new ones with ideal data types.
Fields map automatically even when names and types differ. Stacksync handles transformation and type casting for you, zero configuration required.
Yes. Stacksync provides a managed, real-time two-way integration between Lever and TiDB: authenticate both systems, choose the objects to sync (such as Lever's Users and Stages), map fields visually, and changes propagate both ways in milliseconds — no code required.
Yes. Each object mapping can be bidirectional or restricted to a single direction (both systems accept writes). Read-only mirrors, one-way pushes, and full two-way sync can be mixed in the same integration.
Common patterns for Lever and TiDB: Reporting and analytics on current data; Org and structure stay aligned; Computed and operational fields flow back. Opportunities, Postings, Requisitions, Offers replicate into TiDB where they join operational tables, so headcount, roles, and status reports run on the live state without manual pulls.
Lever: REST Data API (api.lever.co/v1). Authentication: API key over HTTP Basic auth (key as username, blank password) for internal integrations, or OAuth 2.0 with 1-hour access tokens for partner integrations (auth.lever.co). TiDB: MySQL wire protocol (SQL). Authentication: Database credentials (MySQL-compatible username/password). Stacksync manages authentication, retries, and rate limits on both sides.
TiDB: TiDB is MySQL-protocol compatible, so existing MySQL drivers, ORMs, and tools connect without modification. Lever: The /candidates endpoint is deprecated; the current model is Opportunities, where one person (Contact) can hold multiple Opportunities across postings, so deduplication keys on the Contact. Stacksync's field mapping accounts for these differences between Lever and TiDB without custom code.
Stacksync is SOC 2 Type II and ISO 27001 certified with HIPAA BAA support. Data is encrypted in transit, and a zero-persistent-storage architecture means Lever and TiDB records are not retained after a sync operation.
As a data company, we understand the importance of keeping your data secure. Stacksync is built with security best practices to keep your data safe at every layer, and is DPF-certified for US, EU, UK and CH data transfers.
Let your users access Stacksync from your centralized user management systems. Works with Okta, Azure, Google SSO and more.
Immediately get alerted about record syncing issues over email, Slack, PagerDuty and WhatsApp. Resolve issues from a centralized dashboard with retry and revert options.
Securely connects to your systems with:
Every pair below is a real-time, two-way sync. Search all 429 integrations available for Lever and TiDB.