Download OpenAPI specification:Download
HERP Hire APIを利用する人はAPIキーを発行する必要があります。
HERP Hireの画面の右上のメニューから「APIキー」を選択して、指示に従ってAPIキーを発行してください。
APIキーは管理者権限を持つユーザーのみが発行・確認できます。
発行されたAPIキーを Authorization: Bearer ヘッダーに付加してリクエストを送信してください。
HERP HireではAPIアクセスを テナントごと に1分間100リクエストまでに制限しています。
APIのレスポンスヘッダーには以下のアクセス情報が付加されます。
x-remaining-request: 99 # 期間内にリクエストできる残りの回数
x-reset-at: 2025-03-24T00:00:00+09:00 # 残り回数がリセットされる時刻
レスポンスのステータスコードは以下のように解釈されます。
| ステータスコード | 説明 |
|---|---|
| 200 | 正常なレスポンス |
| 400 | パラメーターに不備があった |
| 401 | 認証に失敗した |
| 403 | アクセス権限がない |
| 404 | 存在しないリソースにアクセスした |
| 429 | アクセス回数が制限を超えた |
| 500 | サーバー側で予期しないエラーが発生した |
各リソースのIDは以下の方法で取得できます。
| リソース | IDの取得方法 |
|---|---|
| 応募ID | 個別の応募ページのURLの/id/以降の36文字 応募情報CSVや集計用データ > 応募でも確認可能 |
| 職種ID | 個別の職種の編集ページのURLの/id/と/basicの間の36文字 集計用データ > 職種でも確認可能 |
| 職種グループID | 個別の職種グループの編集ページのURLの/id/と/editの間の36文字 集計用データ > 職種グループ紐づけでも確認可能 |
| ユーザーID | 管理画面のメンバー管理ページでアカウントごとに記載されているU-xxxxx 集計用データ > ユーザーデータでも確認可能 |
個別の応募情報にファイルを追加することができます。下記ご留意ください。
・一つのフィールドに対して複数ファイルを添付できる
・ファイルの形式は white list に含まれるもののみ許可
・アップロードするファイルの合計サイズは 50MB 以下
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ write
・ candidacy:all
・ candidacy:write
| candidacyId required | string 応募のID |
| resumes | string <binary> 履歴書 |
| careerSummaries | string <binary> 職務経歴書 |
| otherFiles | string <binary> その他の添付ファイル |
{- "result": "success"
}応募に紐づく添付ファイルのメタデータを返すAPIです。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ candidacy:all
・ candidacy:read
| candidacyId required | string 応募ID |
{- "files": [
- {
- "id": "string",
- "candidacyId": "string",
- "type": "resume",
- "mimeType": "string",
- "size": 0,
- "originalName": "string",
- "uploadedAt": "string",
- "isPrivate": true
}
]
}応募ファイルのIDから、ファイルのバイナリデータを取得します。ファイルIDは応募ファイルのメタデータ一覧を取得するAPI(GET /v1/candidacies/{candidacyId}/files)経由で確認できます。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ candidacy:all
・ candidacy:read
| candidacyId required | string 応募ID |
| fileId required | string ファイルID |
{- "message": "string"
}応募を追加することができます。下記ご留意ください。
・追加された応募の経路が手動追加になる
・選考ステップはエントリーになる
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ write
・ candidacy:all
・ candidacy:write
required | object 応募経路 |
| requisitionId required | string 応募先の職種ID |
| appliedAt | string <date-time> 応募日時、指定しない場合は応募追加時の日時が設定されます |
| name required | string <= 200 characters 応募者の氏名 |
string <email> 応募者のメールアドレス | |
| telephoneNumber | string <= 20 characters 応募者の電話番号 |
| currentCompany | string <= 255 characters 応募者の現所属 |
| age | string <= 8 characters 応募者の年齢 |
| education | string <= 200 characters 応募者の最終学歴 |
| career | string <= 10000 characters 応募者の経歴 |
| links | Array of strings <uri> <= 10 items [ items <uri > <= 255 characters ] 関連リンク |
| note | string <= 1500 characters メモ |
{- "channel": {
- "kind": "agent",
- "description": "string"
}, - "requisitionId": "string",
- "appliedAt": "2017-03-24T00:00:00+09:00",
- "name": "string",
- "email": "user@example.com",
- "telephoneNumber": "string",
- "currentCompany": "string",
- "age": "string",
- "education": "string",
- "career": "string",
- "note": "string"
}{- "id": "string"
}応募一覧を取得することができます。下記の条件を指定することで絞り込むことが可能です。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ candidacy:all
・ candidacy:read
| status | string Enum: "active" "terminated" 応募の状態を指定して検索できます
| ||||||||||||||||||||
| page | string ページ番号を指定できます | ||||||||||||||||||||
| sort | string Default: "appliedAt" Enum: "appliedAt" "stepUpdatedAt" 応募をソートする項目を指定できます
| ||||||||||||||||||||
| direction | string Default: "desc" Enum: "asc" "desc" ソートする際の順序を指定できます
| ||||||||||||||||||||
| appliedAtFrom | string 応募日の範囲検索の開始日 | ||||||||||||||||||||
| appliedAtTo | string 応募日の範囲検索の終了日 | ||||||||||||||||||||
| stepUpdatedAtFrom | string 選考ステップ更新日の範囲検索の開始日 | ||||||||||||||||||||
| stepUpdatedAtTo | string 選考ステップ更新日の範囲検索の終了日 | ||||||||||||||||||||
| requisitionId | string 職種IDを指定して応募を検索できます | ||||||||||||||||||||
| step | string Enum: "entry" "casualInterview" "resumeScreening" "firstInterview" "secondInterview" "thirdInterview" "finalInterview" "offered" "offerAccepted" 選考ステップを指定して応募を検索できます
| ||||||||||||||||||||
| terminationReason | string Enum: "hired" "refusedByCandidate" "rejected" "notEligible" 選考終了理由を指定して応募を検索できます
|
{- "candidacies": [
- {
- "id": "string",
- "name": "string",
- "status": "active",
- "requisitionId": "string",
- "appliedAt": "2019-08-24T14:15:22Z",
- "step": "entry",
- "stepUpdatedAt": "2019-08-24T14:15:22Z",
- "email": "string",
- "telephoneNumber": "string",
- "age": "string",
- "company": "string",
- "channel": {
- "type": "manual",
- "kind": "agent",
- "description": "string"
}, - "education": "string",
- "career": "string",
- "note": "string",
- "terminationReason": "hired",
- "terminatedAt": "2019-08-24T14:15:22Z",
- "operators": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z"
}
], - "hasNextPage": true
}応募に紐づくコンタクトを一覧で取得します。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ candidacy:all
・ candidacy:read
| candidacyId required | string 応募ID |
{- "contacts": [
- {
- "id": "string",
- "step": "entry",
- "type": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "evaluations": [
- {
- "id": "string",
- "status": "completed",
- "requesterId": "string",
- "evaluatorId": "string"
}
], - "requireAssessmentSchedule": true,
- "assessmentSchedule": {
- "id": "string",
- "title": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "adjustBy": "string",
- "attendeeIds": [
- "string"
], - "webMeetingURL": "string",
- "status": "adjusting",
- "appointmentSchedulingUrl": "string",
- "schedule": {
- "startsAt": "2017-03-24T00:00:00+09:00",
- "endsAt": "2017-03-24T01:00:00+09:00"
}
}
}
]
}応募に対してコンタクトを作成し、オプションで選考予定の作成・調整、評価依頼を同時に行うことができます。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ write
・ candidacy:all
・ candidacy:write
| candidacyId required | string 応募のID |
| createBy required | string コンタクト作成者のユーザーID |
required | object コンタクトの基本情報 |
予定作成 (object) or 日程提案 (object) or 日程調整 (object) コンタクトに紐づく選考予定を作成できます | |
object コンタクトに紐づく評価依頼を作成できます |
{- "createBy": "string",
- "contact": {
- "type": "interview",
- "step": "entry"
}, - "assessmentSchedule": {
- "type": "register",
- "registerBy": "string",
- "title": "string",
- "description": "",
- "schedule": {
- "startsAt": "2017-03-24T00:00:00+09:00",
- "endsAt": "2017-03-24T01:00:00+09:00"
}, - "attendeeIds": [
- "string"
], - "calendarSetting": {
- "type": "ical"
}
}, - "evaluation": {
- "requesterId": "string",
- "formId": "string",
- "evaluatorIds": [
- "string"
], - "note": "string"
}
}{- "contactId": "string",
- "assessmentScheduleId": "string",
- "appointmentSchedulingUrl": "string",
- "googleMeetingUrl": "string",
- "evaluationRequestIds": [
- "string"
], - "errors": [
- {
- "message": "string",
- "details": {
- "property1": null,
- "property2": null
}
}
]
}応募のタイムラインにコメントを追加することができます。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ write
・ candidacy:all
・ candidacy:write
| candidacyId required | string 応募のID |
| mentionTo | Array of strings メンションを送るユーザーのIDの配列 | ||||||
| body required | string <= 20000 characters コメントの本文 | ||||||
| textType | string Enum: "text/plain" "text/markdown" コメントの本文のテキストタイプを指定できます
|
{- "mentionTo": [
- "string"
], - "body": "string",
- "textType": "text/plain"
}{- "id": "string"
}応募のタイムラインコメントを取得することができます。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ candidacy:all
・ candidacy:read
| candidacyId required | string 応募のID |
{- "comments": [
- {
- "id": "string",
- "body": "string",
- "mentionedTo": [
- "string"
], - "textType": "text/plain",
- "postedAt": "2019-08-24T14:15:22Z",
- "editedAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "id": "string",
- "name": "string"
}
}
]
}個別の応募情報に対して応募一覧に含まれていない情報も取得することができます。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ candidacy:all
・ candidacy:read
| candidacyId required | string 応募のID |
{- "id": "string",
- "name": "string",
- "status": "active",
- "requisitionId": "string",
- "appliedAt": "2019-08-24T14:15:22Z",
- "step": "entry",
- "email": "string",
- "telephoneNumber": "string",
- "age": "string",
- "company": "string",
- "channel": {
- "type": "manual",
- "kind": "agent",
- "description": "string"
}, - "education": "string",
- "career": "string",
- "note": "string",
- "links": [
- "string"
], - "operators": [
- "string"
], - "recommendationFromAgent": "string",
- "agentEmailAddress": {
- "mainEmailAddress": "user@example.com",
- "subEmailAddresses": [
- "user@example.com"
]
}, - "messageToCompany": "string",
- "terminationReason": "hired",
- "terminatedAt": "2019-08-24T14:15:22Z",
- "stepUpdatedAt": "2019-08-24T14:15:22Z"
}応募の選考ステップを更新することができます。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ write
・ candidacy:all
・ candidacy:write
| candidacyId required | string 応募のID |
| step required | string Enum: "entry" "casualInterview" "resumeScreening" "firstInterview" "secondInterview" "thirdInterview" "finalInterview" "offered" "offerAccepted" 応募の選考ステップ
|
{- "step": "entry"
}{- "id": "string"
}コンタクトに紐づく評価の詳細情報を取得します。
評価者、評価日時、評価フォーム、回答内容などが含まれます。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ candidacy:all
・ candidacy:read
| evaluationRequestId required | string 評価依頼のID |
{- "id": "string",
- "candidacyId": "string",
- "contactId": "string",
- "requesterId": "string",
- "evaluatorId": "string",
- "requestedAt": "2025-10-16T10:00:00+09:00",
- "note": "string",
- "status": "completed",
- "completedAt": "2025-10-16T10:00:00+09:00",
- "editedAt": "2025-10-16T10:00:00+09:00",
- "declineReason": "評価する時間が取れないため",
- "evaluationForm": {
- "formId": "string",
- "formName": "string",
- "items": [
- {
- "id": 1,
- "content": "この候補者の技術力をどう評価しますか?",
- "description": "この評価項目は、候補者の技術力を評価するための項目です。",
- "required": true,
- "type": "text",
- "options": [
- "非常に良い",
- "良い",
- "普通",
- "改善が必要"
], - "answer": [
- "string"
]
}
]
}
}評価依頼に対して回答を記入または更新します。
評価未記入の場合は新規記入、評価記入済みの場合は上書き更新となります。
バリデーションルール
| 項目 | ルール |
|---|---|
| 必須項目 | 必ず回答する必要があります |
| 任意項目 | 項目ごと省略、または空白な配列を指定することができます |
| 自由記述式 | 文字列1つのみ(配列の要素数は1) |
| 単一選択式 | 選択肢の中から1つのみ(配列の要素数は1) |
| 複数選択式 | 選択肢の中から複数(配列の要素数は1以上) |
allwritecandidacy:allcandidacy:write
| evaluationRequestId required | string 評価依頼のID |
required | Array of objects | ||||||
| textType | string Default: "text/plain" Enum: "text/plain" "text/markdown" コメントの本文のテキストタイプを指定できます。
|
{- "answers": [
- {
- "itemId": 1,
- "answer": [
- "この候補者は優れた技術力を持っています。"
]
}, - {
- "itemId": 2,
- "answer": [
- "非常に良い"
]
}, - {
- "itemId": 3,
- "answer": [
- "必須要件を満たしている",
- "カルチャーマッチしている"
]
}
], - "textType": "text/markdown"
}{- "evaluationRequestId": "string",
- "evaluationResultId": "string"
}職種一覧を取得することができます。
下記の条件を指定することで絞り込むことが可能です。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ requisition:all
・ requisition:read
| status | string Enum: "active" "archived" 職種の状態を指定して検索できます
| ||||||||
| careerPageStatus | string Enum: "published" "unlisted" "private" 職種求人ページの公開状態を指定して検索できます
| ||||||||
| page | string ページ番号を指定できます | ||||||||
| sort | string Default: "createdAt" Enum: "createdAt" "updatedAt" 職種をソートする項目を指定できます
| ||||||||
| direction | string Default: "desc" Enum: "asc" "desc" ソートする際の順序を指定できます
|
{- "requisitions": [
- {
- "id": "string",
- "name": "string",
- "summary": "string",
- "requiredSkills": "string",
- "preferredSkills": "string",
- "personality": "string",
- "salary": "string",
- "location": "string",
- "formOfEmployment": "string",
- "workingConditions": "string",
- "trial": "string",
- "welfare": "string",
- "others": "string",
- "careerPageStatus": "published",
- "careerPageUrl": "string",
- "operators": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isArchived": true
}
], - "hasNextPage": true
}職種グループの詳細を取得することができます。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ requisition:all
・ requisition:read
| requisitionGroupId required | string 職種グループのID |
{- "requisitionGroup": {
- "id": "string",
- "name": "string",
- "description": "string",
- "requisitions": [
- {
- "id": "string",
- "name": "string",
- "isArchived": true
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}職種グループの一覧を取得することができます。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ requisition:all
・ requisition:read
{- "requisitionGroups": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}ユーザー一覧を取得することができます。
下記の条件を指定することで絞り込むことが可能です。
このAPIを利用するには、APIキーを発行する際に、以下のいずれかのスコープを選択してください。
・ all
・ read
・ user:all
・ user:read
| status | string Enum: "active" "deactivated" ユーザーの状態を指定して検索できます
| ||||||||||
| page | string ページ番号を指定できる | ||||||||||
| role | string Enum: "admin" "recruiter" "assistant" "guest" ユーザーの種類を指定して検索できます
| ||||||||||
| direction | string Default: "desc" Enum: "asc" "desc" 作成日時でソートする際の順序を指定できます
|
{- "users": [
- {
- "id": "string",
- "name": "string",
- "email": "string",
- "role": "admin",
- "createdAt": "2019-08-24T14:15:22Z",
- "status": "active"
}
], - "hasNextPage": true
}