- Retrieve Candidates API workflow
- Retrieve Candidates API reference
- Authenticate
- Asset types
- Best practices
- Register employer
- リクエスト – Register employer
- レスポンス – Register employer
- Get unacknowledged assets
- Request – Get unacknowledged assets
- Response – Get unacknowledged assets
- Get assets by time range
- Request – Get assets by time range
- Response – Get assets by time range
- Create test assets
- Requirements
- Request – Create test assets
- Troubleshoot errors
Retrieve Candidates API guide
Get candidate information from Indeed for employers.
このAPIとそのドキュメントを使用して連携を構築すると、APIに関する追加の利用規約およびガイドラインに同意したことになります。
Call the Retrieve Candidates API to get candidate information from Indeed for employers.
Retrieve Candidates API workflow
After you integrate with the Retrieve Candidates API, review the:
- Asset types that the Retrieve Candidates API returns.
- Best practices.
Then you can call these operations:
- 1.Authenticate.
- 2.Register employer — Register an employer and return the registration details.
- 3.Get unacknowledged assets — Get unacknowledged assets from oldest to newest, in the order you staged them.
- 4.Get assets by time range — Get acknowledged assets for a time range.
- 5.Create test assets — Create test candidate assets in sandbox mode for integration testing.
- 6.Troubleshoot GraphQL errors.
Retrieve Candidates API reference
registerEmployer— Registers an employer. Authenticate with a 3-legged OAuth token that represents an employer and theemployer.ats_candidate.syncscope.fetchAssets— Returns unacknowledged assets in the order you staged them, from oldest to newest.assetsByTimeRange— Returns acknowledged assets in a time range.stageAssets— Creates test assets for integration testing.
Authenticate
Indeed パートナーになると、Indeed が連携用のアプリを作成します。Partner Console にサインインして、アプリと OAuth 認証情報(クライアント ID、シークレット、および 3-legged OAuth の認可コード)を確認します。これらの認証情報をアクセストークンと交換し、API 呼び出しを認証します。
Candidate Sync API の各オペレーションには OAuth トークンが必要です。
| API とオペレーション | OAuth トークン種別 |
|---|---|
| 雇用主を表す 3-legged OAuth トークン を使用し、 |
| 2-legged OAuth トークン で認証します。アプリケーションは、ユーザー操作なしで Indeed の認可サーバーに直接認証します。 |
アクセストークンは ATS 内に安全に保存し、ユーザー間で共有しないでください。Indeed は、お客様のシステムが求人の信頼できる情報源であることを前提としています。あるユーザーが投稿した求人に別のユーザーのアクセストークンを使うと、Indeed 上でそのユーザーに別のユーザーの求 人へのアクセスを付与する可能性があります。
アクセストークンを取得したら、クエリまたはミューテーションにこのトークンを含めます。最新の求人ステータスを確認するたびにユーザーへサインインを求めることがないよう、アクセストークンは有効期限が切れる前に更新することを推奨します。
Indeed と連携して API を呼び出す と スコープをご覧ください。
Asset types
The Retrieve Candidates API returns these candidate asset types, which implement the AtsSyncCandidateSyncAsset interface:
-
AtsSyncCandidateSyncInterestedCandidateAssetfrom Smart Sourcing.Includes this candidate information (
AtsSyncCandidateSyncInterestedCandidate):AtsSyncCandidateSyncInterestedCandidate fields Field Description Type:
String!The candidate's full name. Type:
EmailAddress!The candidate's email address.
Type:
StringThe candidate's location, if provided.
A presigned S3 URL to download the candidate's resume. See Download and upload objects with presigned URLs.
-
AtsSyncCandidateSyncSmartScreeningUpdateAssetfrom Smart Screening updates.Smart Screening updates apply to the partner, not one employer registration. Any Smart Screening job can produce application updates. Fetch results omit
employerIdentifier. Staging input omitsmetadata.employerIdentifier.Use the Indeed Apply ID to identify the application.
Smart Sourcing requires
employerIdentifierbecause it targets one employer registration.AtsSyncCandidateSyncSmartScreeningUpdateAssetincludes this candidate information (AtsSyncCandidateSyncSmartScreeningUpdate):AtsSyncCandidateSyncSmartScreeningUpdate fields Field Description Application ID for the screening update. This field is a union. Set indeedApply.indeedApplyId.Type:
FloatThe candidate's smart fit score, if available. Returns
nullif no score was staged.The candidate's resume file. Use:
resume {url,name,contentType}The download URL is a short-lived presigned URL. See Download and upload objects with presigned URLs
Type:
DateTime!When the screening update was created. Order updates by this timestamp.
These fetch operations can return both types:
Create test assets (stageAssets) accepts either asset type as input when creating test assets.
Best practices
| Best practice | Description |
|---|---|
| Handle interfaces and unions defensively | For the For the |
| Apply updates in order | Order Smart Screening updates by Do not order Smart Screening updates by If you apply updates out of order, older data can overwrite newer data. |