| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| en:guide_du_developpeur_capture [2026/01/12 16:39] – modification externe 127.0.0.1 | en:guide_du_developpeur_capture [2026/04/10 13:48] (Version actuelle) – [7. Retrieving the idClaim (optional)] jsellame |
|---|
| |
| ^ Parameter ^ Required ^ Details ^ | ^ Parameter ^ Required ^ Details ^ |
| | ''username'' | Yes | Login identifier | | | ''username'' | Yes | Login identifier (by default, the application login)| |
| | ''password'' | Yes | Password | | | ''password'' | Yes | Password | |
| | ''token'' | No (except for admin) | Unnecessary for `application` accounts. Required only for `admin` accounts with two-factor authentication | | | ''token'' | No (except for admin) | Unnecessary for `application` accounts. Required only for `admin` accounts with two-factor authentication | |
| * **''group''**: optional – Allows consumption exports based on user-defined groups. | * **''group''**: optional – Allows consumption exports based on user-defined groups. |
| |
| > For more information about callback_endpoints, see [[https://wiki.id360docaposte.com/doku.php?id=en:guide_callbacks|this dedicated guide]]. | > For more information about callback_endpoints, see [[https://id360.doca-id.com/doku.php?id=en:guide_callbacks|this dedicated guide]]. |
| |
| ---- | ---- |
| * This call **must be performed server-side**, never from the user's browser. | * This call **must be performed server-side**, never from the user's browser. |
| * ⚠️ **It is essential to keep both the enrollment ''id'' and the ''api_key''** for the next steps in the process. | * ⚠️ **It is essential to keep both the enrollment ''id'' and the ''api_key''** for the next steps in the process. |
| | * If you need to **customize the interface** (text and button colors as well as the logo and the favicon) **per folder** (and not per process), you will need to **create themes** in the ID360 administration interface and add the following in the request body : <code>"theme": X</code> (X corresponding to the theme ID). For more details, please refer to the page [[en:guide_de_parametrage|Process Configuration]], section "Interface customization". |
| |
| ====== 3. Data Comparison (optional) ====== | ====== 3. Data Comparison (optional) ====== |
| |
| In the process configuration, it is essential to select **at least one data field to compare**. | In the process configuration, it is mandatory to select **at least one data field to compare**. |
| To do this, go to the **''Information Entry''** block and choose the elements to compare. | To do so, go to the **''Information input''** block and choose the elements to compare. |
| | |
| | Then, under the “Validations selection”, click on “Identity” and check the controls you want to enable. |
| | For example, “Verify coherence with the identity name.” |
| |
| [[https://preprod.id360docaposte.com/static/swagger.html#/Enrollment%20Control/control_data|See the method in Swagger]] | [[https://preprod.id360docaposte.com/static/swagger.html#/Enrollment%20Control/control_data|See the method in Swagger]] |
| | **Liveness** | ''"documents": { "liveness": [{"name": "liveness_video$0", "files": [{"url": "xxxxxxxxxxxxxxx"}]},{"name": "liveness_video$1","files": [{"url": "xxxxxxxxxxxxxxx"}]}]'' | | | **Liveness** | ''"documents": { "liveness": [{"name": "liveness_video$0", "files": [{"url": "xxxxxxxxxxxxxxx"}]},{"name": "liveness_video$1","files": [{"url": "xxxxxxxxxxxxxxx"}]}]'' | |
| |
| ====== 7. Retrieving the idClaim ====== | ====== 7. Retrieving the idClaim (optional) ====== |
| | |
| | === Conditions to retrieve the phone number in the idClaim === |
| | |
| | //In the administration console, configure the process as follows:// |
| | |
| | * //In **Information input**, check **"Mobile phone with SMS control"**// |
| | * //In the **Validations selection**, click on **Profile** and check **"Extract phone number"**// |
| | |
| | //Then, in the user record creation request body, add:// |
| | |
| | <code json> |
| | "custom_data": { |
| | "authenticators": { |
| | "phone_number": "{{$.identity.phone_number}}" |
| | } |
| | } |
| | </code> |
| | ---- |
| |
| [[https://preprod.id360docaposte.com/static/swagger.html#/enrollment/enrollment_idclaim|See the method in Swagger]] | [[https://preprod.id360docaposte.com/static/swagger.html#/enrollment/enrollment_idclaim|See the method in Swagger]] |
| === 🔧 CURL Request – Production === | === 🔧 CURL Request – Production === |
| <code javascript> | <code javascript> |
| curl -X GET \ | curl -X POST \ |
| "https://id360docaposte.com/api/1.0.0/enrollment/{id}/control/discontinue" \ | "https://id360docaposte.com/api/1.0.0/enrollment/{id}/control/discontinue" \ |
| -H "Authorization: Token 0123456789abcdef01234567" | -H "Authorization: Token 0123456789abcdef01234567" |
| === 🔧 CURL Request – Preproduction === | === 🔧 CURL Request – Preproduction === |
| <code javascript> | <code javascript> |
| curl -X GET \ | curl -X POST \ |
| "https://preprod.id360docaposte.com/api/1.0.0/enrollment/{id}/control/discontinue" \ | "https://preprod.id360docaposte.com/api/1.0.0/enrollment/{id}/control/discontinue" \ |
| -H "Authorization: Token 0123456789abcdef01234567" | -H "Authorization: Token 0123456789abcdef01234567" |
| |
| The enrollment status will be changed to **DISCONTINUED**. | The enrollment status will be changed to **DISCONTINUED**. |
| |
| |