curl --request POST \
--url https://pro.resocom.com/api/v1/verifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workflowId": "WFL-20260706-BEF798",
"externalRef": "DOSSIER-88412",
"expiresInMinutes": 1440
}
'import requests
url = "https://pro.resocom.com/api/v1/verifications"
payload = {
"workflowId": "WFL-20260706-BEF798",
"externalRef": "DOSSIER-88412",
"expiresInMinutes": 1440
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
workflowId: 'WFL-20260706-BEF798',
externalRef: 'DOSSIER-88412',
expiresInMinutes: 1440
})
};
fetch('https://pro.resocom.com/api/v1/verifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pro.resocom.com/api/v1/verifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'workflowId' => 'WFL-20260706-BEF798',
'externalRef' => 'DOSSIER-88412',
'expiresInMinutes' => 1440
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pro.resocom.com/api/v1/verifications"
payload := strings.NewReader("{\n \"workflowId\": \"WFL-20260706-BEF798\",\n \"externalRef\": \"DOSSIER-88412\",\n \"expiresInMinutes\": 1440\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pro.resocom.com/api/v1/verifications")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"workflowId\": \"WFL-20260706-BEF798\",\n \"externalRef\": \"DOSSIER-88412\",\n \"expiresInMinutes\": 1440\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pro.resocom.com/api/v1/verifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"workflowId\": \"WFL-20260706-BEF798\",\n \"externalRef\": \"DOSSIER-88412\",\n \"expiresInMinutes\": 1440\n}"
response = http.request(request)
puts response.read_body{
"id": "5f2b7c1e-…",
"verificationUrl": "https://pro.resocom.com/parcours/verification/PAR-…?s=…",
"externalRef": "DOSSIER-88412",
"workflowId": "WFL-20260706-BEF798",
"expiresAt": "2023-11-07T05:31:56Z"
}{
"error": "invalid_api_key"
}{
"error": "invalid_api_key"
}Créer une vérification
Crée une session de vérification adossée à un workflow et rend l’URL du parcours à transmettre à votre client (e-mail, SMS, ou intégrée à votre tunnel). Appelez cette route depuis votre serveur — jamais depuis un navigateur.
curl --request POST \
--url https://pro.resocom.com/api/v1/verifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workflowId": "WFL-20260706-BEF798",
"externalRef": "DOSSIER-88412",
"expiresInMinutes": 1440
}
'import requests
url = "https://pro.resocom.com/api/v1/verifications"
payload = {
"workflowId": "WFL-20260706-BEF798",
"externalRef": "DOSSIER-88412",
"expiresInMinutes": 1440
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
workflowId: 'WFL-20260706-BEF798',
externalRef: 'DOSSIER-88412',
expiresInMinutes: 1440
})
};
fetch('https://pro.resocom.com/api/v1/verifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pro.resocom.com/api/v1/verifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'workflowId' => 'WFL-20260706-BEF798',
'externalRef' => 'DOSSIER-88412',
'expiresInMinutes' => 1440
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pro.resocom.com/api/v1/verifications"
payload := strings.NewReader("{\n \"workflowId\": \"WFL-20260706-BEF798\",\n \"externalRef\": \"DOSSIER-88412\",\n \"expiresInMinutes\": 1440\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pro.resocom.com/api/v1/verifications")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"workflowId\": \"WFL-20260706-BEF798\",\n \"externalRef\": \"DOSSIER-88412\",\n \"expiresInMinutes\": 1440\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pro.resocom.com/api/v1/verifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"workflowId\": \"WFL-20260706-BEF798\",\n \"externalRef\": \"DOSSIER-88412\",\n \"expiresInMinutes\": 1440\n}"
response = http.request(request)
puts response.read_body{
"id": "5f2b7c1e-…",
"verificationUrl": "https://pro.resocom.com/parcours/verification/PAR-…?s=…",
"externalRef": "DOSSIER-88412",
"workflowId": "WFL-20260706-BEF798",
"expiresAt": "2023-11-07T05:31:56Z"
}{
"error": "invalid_api_key"
}{
"error": "invalid_api_key"
}Authorizations
Clé API créée dans Administration → Développeurs → Clés API (licence Groupe). Une clé en lecture seule ne peut appeler que les opérations GET.
Body
Workflow qui évaluera le document. Listez vos workflows via GET /api/v1/workflows, ou copiez l'identifiant depuis l'onglet Diffusion du workflow dans la plateforme.
"WFL-20260706-BEF798"
Votre référence de dossier — renvoyée dans chaque webhook et lecture. Posée ici par votre serveur, elle fait autorité.
255"DOSSIER-88412"
Validité du lien, de 5 minutes à 7 jours.
5 <= x <= 10080Response
Session créée.
Identifiant de la session de parcours.
"5f2b7c1e-…"
URL unique à transmettre à votre client.
"https://pro.resocom.com/parcours/verification/PAR-…?s=…"
"DOSSIER-88412"
"WFL-20260706-BEF798"
Fin de validité du lien.

