Returns the completed webhook payload for a flow.
curl --request GET \
--url https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin} \
--header 'Authorization: Bearer <token>'import requests
url = "https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}', 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://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyJourney API
Returns the completed webhook payload for a flow.
This endpoint retrieves the final webhook payload generated for a journey identified by its pin.
The journey must exist and must already be in a completed state. If the journey is still in progress, the payload cannot be retrieved. The stored webhook payload is deserialized and transformed into the final outbound payload format before being returned.
Use this endpoint when a client or downstream system needs to fetch the final verification result payload after a journey has completed.
Returns the completed webhook payload for a flow.
curl --request GET \
--url https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin} \
--header 'Authorization: Bearer <token>'import requests
url = "https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}', 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://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://verify.dev.securecitizen.cloud/journey/request-flow-results/{pin}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body
