CLI · ENTERPRISE

Enterprise 命令

企業帳號可用 wport enterprise 把重複的招募作業自動化:建立與發佈職缺、回覆應徵者、更新公司資訊、管理招募活動。需要企業帳號與 API 權限。

一次性儲存 API key,並確認目前生效的憑證:

bash
wport enterprise login
wport enterprise whoami

建立與管理職缺

用 JSON 檔建立職缺,再發佈或關閉(破壞性操作需 --confirm):

bash
wport enterprise jobs list --status published
wport enterprise jobs view <enc_id>
wport enterprise jobs create --file new-job.json
wport enterprise jobs copy <enc_id>
wport enterprise jobs publish <enc_id>
wport enterprise jobs close <enc_id> --confirm

回覆應徵者

瀏覽人才庫並回覆特定應徵者(以 enc_resume_id 指定,內文由檔案帶入):

bash
wport enterprise talents list --tab applied
wport enterprise talents view <enc_resume_id>
wport enterprise talents respond <enc_resume_id> \
  --subject "Interview invite" --body-file reply.txt

更新公司資訊

用 JSON patch 檔更新公司簡介、福利與標籤,或上傳 logo:

bash
wport enterprise company view
wport enterprise company update --file company-patch.json
wport enterprise company logo upload ./logo.png

招募活動

建立與發佈招募活動:

bash
wport enterprise campaigns list --status open
wport enterprise campaigns create --file campaign.json
wport enterprise campaigns publish <enc_id>

API 金鑰

列出你的 API 金鑰,或就地輪替已過期的金鑰:

bash
wport enterprise keys list
wport enterprise keys rotate <enc_id> --reveal

配額與用量

查看每月配額與 rate-limit 餘裕:

bash
wport enterprise usage

提示

enterprise 指令支援 --output json,且可用 WPORT_API_KEY 環境變數在 CI/Agent 情境免落地金鑰。

接著看:Agent 整合指南 →