Update a compliance record

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required
Body Params
number

Id of the record type, from GET /record-types. Ids differ per environment, so look the entry up by key (national_id_card, passport, second_passport) instead of hardcoding the number.

string

Free-text name for a record filed under the generic "other" type.

countries
array of strings

ISO2 codes the record applies to.

countries
string

The document number. Optional on the request, but a passport or ID-card record without one is never used in a filing. When the caller writes to someone other than themselves, responses return referenceNumber: null and the masked number in referenceNumberMasked; the full number is still stored.

string

ISO 3166-1 alpha-2 code of the issuing country, stored uppercased. For a national ID card this decides whether filings may use it: only cards issued by an EU, EEA or Swiss state count.

string
string
string
string

Issue or start date, YYYY-MM-DD.

string

Expiry date, YYYY-MM-DD. A record whose expiry has passed is not used in filings.

boolean

The record is deliberately open-ended (a settlement permit, say). Distinct from omitting validUntil, which means "not supplied".

string
enum

Where the record came from. Defaults to MANUAL; send INTEGRATION when your system is the source.

Allowed:
string
enum

How the record is evidenced: an uploaded DOCUMENT, an ELECTRONIC registration, or NONE.

Allowed:
string
enum

Usually omitted: the state is then derived from validUntil. DRAFT, APPLIED_FOR, EXPIRED, INVALIDATED and ARCHIVED records are never used in filings.

Allowed:
number

The scan evidencing this record: the id returned by POST /users/file/upload (use fileType ID_CARD or PASSPORT). Send userId on that upload, set to the person this record is for: a file without an owner is rejected here with 404 Unknown file id.

number

The travel document this record was issued against — an ETA against a passport, say. Send null to clear the link; omit the key to leave it as it stands.

Responses
200

The updated record.

404

Unknown record id.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here!