Start KYC for an invite
curl --request POST \
--url https://sandbox.apocor.ai/v1/onboarding/{token}/kycimport requests
url = "https://sandbox.apocor.ai/v1/onboarding/{token}/kyc"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://sandbox.apocor.ai/v1/onboarding/{token}/kyc', 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://sandbox.apocor.ai/v1/onboarding/{token}/kyc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://sandbox.apocor.ai/v1/onboarding/{token}/kyc"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.apocor.ai/v1/onboarding/{token}/kyc")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.apocor.ai/v1/onboarding/{token}/kyc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"data": {}
}{
"error": {
"code": "NOT_FOUND",
"message": "Not found"
}
}Onboarding (invite)
Start KYC for an invite
Kicks off identity verification for the applicant behind an onboarding invite token. Public — no access token required.
POST
/
v1
/
onboarding
/
{token}
/
kyc
Start KYC for an invite
curl --request POST \
--url https://sandbox.apocor.ai/v1/onboarding/{token}/kycimport requests
url = "https://sandbox.apocor.ai/v1/onboarding/{token}/kyc"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://sandbox.apocor.ai/v1/onboarding/{token}/kyc', 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://sandbox.apocor.ai/v1/onboarding/{token}/kyc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://sandbox.apocor.ai/v1/onboarding/{token}/kyc"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.apocor.ai/v1/onboarding/{token}/kyc")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.apocor.ai/v1/onboarding/{token}/kyc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"data": {}
}{
"error": {
"code": "NOT_FOUND",
"message": "Not found"
}
}⌘I