跳到主要内容

MOKA

This page contains the setup guide and reference information for MOKA (mokahr.com), a recruiting system.

Prerequisites​

  • A MOKA Open API key. Your MOKA customer success manager (CSM) issues it and switches on the API for your company.

Features​

FeatureSupported?
Full Refresh SyncYes
Incremental SyncYes (applications, offers)
SSL connectionYes
NamespacesNo

Setup guide​

Step 1: Get a MOKA API key​

  1. Ask your MOKA CSM for an Open API key with access to candidate (ehrApplications) and Offer data.

  2. Keep the key private. Anyone holding it can read your candidates' personal data.

Step 2: Set up MOKA in Daspire​

  1. Select MOKA from the Source list.

  2. Enter a Source Name.

  3. Enter your MOKA API Key.

  4. Optional: enter a Start Date (UTC, for example 2025-01-01T00:00:00Z). The first sync reads applications updated on or after it. The default is 2020-01-01T00:00:00Z.

  5. Optional: set Lookback Hours (default 24). Each incremental sync re-reads this many hours before the last saved position, so late updates are not missed. With a deduplicating destination mode (append + dedup on applicationId), re-read rows replace earlier copies; with plain append they are added again.

  6. Click Save & Test.

Supported streams​

StreamPrimary keySync modesMOKA API
applicationsapplicationIdFull refresh, incremental on updatedAtPOST /api-platform/v2/data/ehrApplications
offersapplicationIdFull refresh, incremental on updatedAtthe same call: one row for each application that has an offer
offer_custom_fieldsgroup, idFull refreshGET /api-platform/v1/offers/custom_fields
  • applications keeps MOKA's groups as they are (basicInfo, jobInfo, offerInfo, interviewInfo, examInfo, shigongInfo, activities) and adds applicationId, candidateId, updatedAt, archived, stageId, stageName and stageType at the top level.
  • offers holds the offer fields (status, approvalStatus, checkinDate, salaryNumber, customFields and the rest) with applicationId, candidateId, candidateName, candidateEmail, archived, stageName, stageType and updatedAt. MOKA sends checkinDate (the expected start date) as Beijing midnight written in UTC, so 2026-12-02T16:00:00.000Z means 3 December. checkinDateBeijing holds that calendar date (2026-12-03).
  • Links that open MOKA files or pages while they are valid are not synced: resumes, ID card images, attachments, offer attachments, avatars, personal files, interview feedback PDF exports and the signed candidate page link.

Notes​

  • MOKA returns at most 20 applications per request, so the first sync of a large account takes a while.
  • MOKA answers an unknown API key with HTTP 500 and the message "无法识别的认证信息". Daspire reports it as a rejected key.