

# POST /api/partner/v2/oauth/token
curl --location $SEEK_PASS_URL/api/partner/v2/oauth/token.json
--header 'Accept: application/json'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode grant_type=client_credentials
--data-urlencode client_id=$CLIENT_ID
--data-urlencode client_secret=$CLIENT_SECRET
--data-urlencode 'scope=write.digital_identity read.digital_identity'# POST /api/partner/v2/verify/requests/digital_identity.json
{
"request_id": "7cbc7e51-82f5-43ec-8d63-b7cdf1170425", // Optional. For tracking requests. If not passed, it will be auto-generated.
"callback_url": "https://www.partner.com/callback", // Optional. For redirecting users
"display_options": { // Required
"partner_name": "string", // Required
"partner_logo_url": "string" // Optional
},
"request_source": [ // Optional
{
"name": "string"
}
],
"metadata": { // Optional - context about the verification
"position_title": "string",
"position_url": "string",
"position_location": "string",
"job_categories": "string",
"applied_on_seek": true
},
"options": { // Optional - configure the SEEK Pass experience
"email_hint": "string", // Optional. Pre-fills the user's email address
"locale": "string" // Optional. Sets the language for the verification flow (e.g. en-AU)
}
}{
"request_id": "7cbc7e51-82f5-43ec-8d63-b7cdf1170425",
"redirect_uri": "https://app.seekpass.co/partner/verify/digitalIdentity?clientId=[CLIENT_ID]&requestId=fa651300-b91a-49cb-8ee7-cac68b3fdf74"
}redirect_uri และยืนยันตัวตน ข้อมูลเอกสารรับรองจะถูกแนบกับบัญชีของผู้ใช้redirect_uri และเริ่มการส่งภายใน 48 ชั่วโมง คำขอจะถูกยกเลิกโดยอัตโนมัติ และข้อมูลเดิมจะถูกลบอย่างถาวร หลังจากนั้น คำขอที่มีอยู่จะสิ้นสุดและถูกยกเลิก และคุณสามารถใช้ ID เดิมซ้ำเพื่อสร้างคำขอใหม่ส่งให้ผู้ใช้redirect_uri ได้ แต่จากนั้นออกจากกระบวนการและไม่ยืนยันการเพิ่มข้อมูลรับรองไปยังบัญชีของตน ผู้ใช้มีเวลาสูงสุด 30 วันในการกลับมายังแพลตฟอร์มและยืนยัน ทั้งนี้ขึ้นอยู่กับประเภทข้อมูลรับรอง หลังจากช่วงเวลานี้ คำขอจะถือว่าสิ้นสุดและถูกยกเลิก และคุณสามารถใช้ ID เดิมซ้ำเพื่อสร้างคำขอใหม่สำหรับส่งให้ผู้ใช้redirect_uri จะแจ้งให้ผู้ใช้ยอมรับredirect_uri เดิม ผู้ใช้จะถูกนำไปยังข้อมูลรับรองที่ส่งไว้