curl --request PATCH \
--url https://app.instantcompliance.ai/api/v1/customers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fullName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"risk": {
"isNewCustomer": true,
"isDesignatedService": true,
"handlesCashOrCrypto": true,
"metFaceToFace": true,
"operatesCashBusiness": true,
"unusualTransactions": true,
"unexplainedWealth": true,
"falseIdentityIndicators": true,
"complexStructure": true
}
}
'import requests
url = "https://app.instantcompliance.ai/api/v1/customers/{id}"
payload = {
"fullName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"risk": {
"isNewCustomer": True,
"isDesignatedService": True,
"handlesCashOrCrypto": True,
"metFaceToFace": True,
"operatesCashBusiness": True,
"unusualTransactions": True,
"unexplainedWealth": True,
"falseIdentityIndicators": True,
"complexStructure": True
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
fullName: '<string>',
email: 'jsmith@example.com',
phone: '<string>',
risk: {
isNewCustomer: true,
isDesignatedService: true,
handlesCashOrCrypto: true,
metFaceToFace: true,
operatesCashBusiness: true,
unusualTransactions: true,
unexplainedWealth: true,
falseIdentityIndicators: true,
complexStructure: true
}
})
};
fetch('https://app.instantcompliance.ai/api/v1/customers/{id}', 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://app.instantcompliance.ai/api/v1/customers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'fullName' => '<string>',
'email' => 'jsmith@example.com',
'phone' => '<string>',
'risk' => [
'isNewCustomer' => true,
'isDesignatedService' => true,
'handlesCashOrCrypto' => true,
'metFaceToFace' => true,
'operatesCashBusiness' => true,
'unusualTransactions' => true,
'unexplainedWealth' => true,
'falseIdentityIndicators' => true,
'complexStructure' => true
]
]),
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://app.instantcompliance.ai/api/v1/customers/{id}"
payload := strings.NewReader("{\n \"fullName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"risk\": {\n \"isNewCustomer\": true,\n \"isDesignatedService\": true,\n \"handlesCashOrCrypto\": true,\n \"metFaceToFace\": true,\n \"operatesCashBusiness\": true,\n \"unusualTransactions\": true,\n \"unexplainedWealth\": true,\n \"falseIdentityIndicators\": true,\n \"complexStructure\": true\n }\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://app.instantcompliance.ai/api/v1/customers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fullName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"risk\": {\n \"isNewCustomer\": true,\n \"isDesignatedService\": true,\n \"handlesCashOrCrypto\": true,\n \"metFaceToFace\": true,\n \"operatesCashBusiness\": true,\n \"unusualTransactions\": true,\n \"unexplainedWealth\": true,\n \"falseIdentityIndicators\": true,\n \"complexStructure\": true\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.instantcompliance.ai/api/v1/customers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"fullName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"risk\": {\n \"isNewCustomer\": true,\n \"isDesignatedService\": true,\n \"handlesCashOrCrypto\": true,\n \"metFaceToFace\": true,\n \"operatesCashBusiness\": true,\n \"unusualTransactions\": true,\n \"unexplainedWealth\": true,\n \"falseIdentityIndicators\": true,\n \"complexStructure\": true\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "crm-7741",
"type": "INDIVIDUAL",
"full_name": "Jane Doe",
"email": "jane@example.com",
"kyc_status": "VERIFIED",
"kyc_started_at": "2026-06-23T01:00:00Z",
"kyc_completed_at": "2026-06-23T01:12:00Z",
"identity": {
"verified_legal_name": "JANE DOE",
"verified_country": "AUS"
},
"aml": {
"status": "CLEAR",
"screened_at": "2026-06-23T01:12:00Z",
"last_reviewed_at": null,
"flags": {
"pep": false,
"sanctions": false,
"adverse_media": false,
"terrorism": false
}
},
"added_via": "INTEGRATION",
"created_at": "2026-06-22T22:14:00Z",
"updated_at": "2026-06-23T01:12:05Z"
}{
"error": {
"code": "unauthorized",
"message": "Invalid or revoked API key."
}
}{
"error": {
"code": "forbidden_scope",
"message": "This API key does not have the required scope. customers:write",
"details": {
"required_scope": "customers:write"
}
}
}{
"error": {
"code": "not_found",
"message": "Customer not found."
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "validation_failed",
"message": "Invalid customer payload.",
"details": {
"issues": {
"email": [
"Must be a valid email address."
]
}
}
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Slow down and retry shortly.",
"details": {
"limit": 60,
"window_seconds": 60
}
}
}Update a customer
Partial update of a record you have ingested. Identity fields
(fullName, email) are frozen once the customer has been verified
— attempting to change them returns 422 validation_failed.
curl --request PATCH \
--url https://app.instantcompliance.ai/api/v1/customers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fullName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"risk": {
"isNewCustomer": true,
"isDesignatedService": true,
"handlesCashOrCrypto": true,
"metFaceToFace": true,
"operatesCashBusiness": true,
"unusualTransactions": true,
"unexplainedWealth": true,
"falseIdentityIndicators": true,
"complexStructure": true
}
}
'import requests
url = "https://app.instantcompliance.ai/api/v1/customers/{id}"
payload = {
"fullName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"risk": {
"isNewCustomer": True,
"isDesignatedService": True,
"handlesCashOrCrypto": True,
"metFaceToFace": True,
"operatesCashBusiness": True,
"unusualTransactions": True,
"unexplainedWealth": True,
"falseIdentityIndicators": True,
"complexStructure": True
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
fullName: '<string>',
email: 'jsmith@example.com',
phone: '<string>',
risk: {
isNewCustomer: true,
isDesignatedService: true,
handlesCashOrCrypto: true,
metFaceToFace: true,
operatesCashBusiness: true,
unusualTransactions: true,
unexplainedWealth: true,
falseIdentityIndicators: true,
complexStructure: true
}
})
};
fetch('https://app.instantcompliance.ai/api/v1/customers/{id}', 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://app.instantcompliance.ai/api/v1/customers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'fullName' => '<string>',
'email' => 'jsmith@example.com',
'phone' => '<string>',
'risk' => [
'isNewCustomer' => true,
'isDesignatedService' => true,
'handlesCashOrCrypto' => true,
'metFaceToFace' => true,
'operatesCashBusiness' => true,
'unusualTransactions' => true,
'unexplainedWealth' => true,
'falseIdentityIndicators' => true,
'complexStructure' => true
]
]),
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://app.instantcompliance.ai/api/v1/customers/{id}"
payload := strings.NewReader("{\n \"fullName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"risk\": {\n \"isNewCustomer\": true,\n \"isDesignatedService\": true,\n \"handlesCashOrCrypto\": true,\n \"metFaceToFace\": true,\n \"operatesCashBusiness\": true,\n \"unusualTransactions\": true,\n \"unexplainedWealth\": true,\n \"falseIdentityIndicators\": true,\n \"complexStructure\": true\n }\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://app.instantcompliance.ai/api/v1/customers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fullName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"risk\": {\n \"isNewCustomer\": true,\n \"isDesignatedService\": true,\n \"handlesCashOrCrypto\": true,\n \"metFaceToFace\": true,\n \"operatesCashBusiness\": true,\n \"unusualTransactions\": true,\n \"unexplainedWealth\": true,\n \"falseIdentityIndicators\": true,\n \"complexStructure\": true\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.instantcompliance.ai/api/v1/customers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"fullName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"risk\": {\n \"isNewCustomer\": true,\n \"isDesignatedService\": true,\n \"handlesCashOrCrypto\": true,\n \"metFaceToFace\": true,\n \"operatesCashBusiness\": true,\n \"unusualTransactions\": true,\n \"unexplainedWealth\": true,\n \"falseIdentityIndicators\": true,\n \"complexStructure\": true\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "crm-7741",
"type": "INDIVIDUAL",
"full_name": "Jane Doe",
"email": "jane@example.com",
"kyc_status": "VERIFIED",
"kyc_started_at": "2026-06-23T01:00:00Z",
"kyc_completed_at": "2026-06-23T01:12:00Z",
"identity": {
"verified_legal_name": "JANE DOE",
"verified_country": "AUS"
},
"aml": {
"status": "CLEAR",
"screened_at": "2026-06-23T01:12:00Z",
"last_reviewed_at": null,
"flags": {
"pep": false,
"sanctions": false,
"adverse_media": false,
"terrorism": false
}
},
"added_via": "INTEGRATION",
"created_at": "2026-06-22T22:14:00Z",
"updated_at": "2026-06-23T01:12:05Z"
}{
"error": {
"code": "unauthorized",
"message": "Invalid or revoked API key."
}
}{
"error": {
"code": "forbidden_scope",
"message": "This API key does not have the required scope. customers:write",
"details": {
"required_scope": "customers:write"
}
}
}{
"error": {
"code": "not_found",
"message": "Customer not found."
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "validation_failed",
"message": "Invalid customer payload.",
"details": {
"issues": {
"email": [
"Must be a valid email address."
]
}
}
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Slow down and retry shortly.",
"details": {
"limit": 60,
"window_seconds": 60
}
}
}What you can update
| Field | Editable after VERIFIED? |
|---|---|
fullName | No — identity fields freeze on verification. |
email | No — identity fields freeze on verification. |
phone | Yes |
risk.* | Yes |
fullName or email after kyc_status becomes
VERIFIED returns 422 validation_failed. This is by design — once
the document-verified identity is captured, it must not silently drift.
Idempotency
LikePOST, supports Idempotency-Key for safe retries.
What you cannot update
The API will not let you change:type(re-ingest with the correct type instead)external_id(treated as immutable once set)- Any KYC / AML status field (those move via the verification flow, not the integration API)
PUT /customers/{id}/designated-services to replace the customer’s
designated-service assignments without resending their identity details.Authorizations
Bearer API key issued from Settings → Developers in your
Instant Compliance organisation. Format: ic_live_….
Headers
Caller-supplied unique key for safe retries. Repeat the same key within 24 hours and we replay the original response instead of repeating the side effect. Reusing the key with a different request body returns 409 idempotency_conflict.
255Path Parameters
Customer identifier. Accepts either Instant Compliance's UUID
(550e8400-…) or your own external_id.
Body
1 - 25525532Optional risk pre-answers. Your back-office team will complete the full risk assessment in-app before triggering KYC; these values seed it.
Show child attributes
Show child attributes
Response
Updated customer record.
Instant Compliance customer UUID.
Individual customer types — /customers only ingests these.
Entity customers (companies, trusts, partnerships, SMSFs) live on
/entities with their own EntityType.
INDIVIDUAL, SOLE_TRADER NOT_STARTED, PENDING, IN_PROGRESS, VERIFIED, FAILED, NOT_REQUIRED, AWAITING_RESUBMISSION Show child attributes
Show child attributes
How the record entered Instant Compliance.
ADMIN_MANUAL, AI_EXTRACTED, CONTACT_PORTAL, BULK_IMPORT, INTEGRATION, SYSTEM Populated only when kyc_status = VERIFIED. Deliberately minimal —
full date of birth and full address are never exposed.
Show child attributes
Show child attributes

