Lookups
A Lookup is a one-off check on a person. It isn't linked to an onboarding flow. It runs the same checks as Lookups in the dashboard:
AML screening: sanctions, PEP and adverse media.
Australian document check: confirms an Australian identity document's details against the issuing record.
You can run one check or both in a single request. Lookups created through the API appear in the dashboard's Lookups list next to the ones your team creates there.
Authentication
Use your workspace API key as a Bearer token, the same as for the other endpoints. A lookup belongs to the workspace that the key belongs to, and only that workspace can retrieve it.
Create a lookup
POST https://app.personr.co/api/1.1/wf/api-lookup-create
Body parameters
aml
boolean
One of aml or documentCheck
Run AML screening
documentCheck
boolean
One of aml or documentCheck
Run the Australian document check
documentType
string
When documentCheck is true
One of the values in the table below
firstName
string
Yes
Given name(s)
middleName
string
No
Middle name(s)
lastName
string
Yes
Family name
birthDate
string
Yes
YYYY-MM-DD
country
string
No
ISO 3166 alpha-3 code (for example AUS). Used to narrow AML screening
displayName
string
No
Label shown in the dashboard. Defaults to first and last name
singleName
string
No
For a person who has only one name, put the name here and leave firstName empty
Document types and their fields
documentType
Extra fields
drivers_license
licenceNumber, cardNumber, stateTerritory (ACT, NSW, NT, QLD, SA, TAS, VIC, WA)
passport
passportNumber, gender (M, F or X)
visa
passportNumber, visaCountry (ISO alpha-3 of the passport country)
medicare_card
medicareNumber, medicareIrn, cardType (card colour, as in the dashboard), expiryDate
immicard
immiCardNumber
centrelink_card
centrelinkNumber, cardType, expiryDate
citizenship_certificate
stockNumber, acquisitionDate
descent_certificate
stockNumber, acquisitionDate
birth_certificate
registrationNumber, registrationDate, certificateNumber, stateTerritory
marriage_certificate
partnerGivenName, partnerFamilyName, certificateNumber, registrationNumber, eventDate, stateTerritory
name_change_certificate
certificateNumber, stateTerritory
All dates use YYYY-MM-DD.
Example request
Responses
Errors are returned with HTTP status 200 and "status": "error". Check status in the body, not only the HTTP code.
Retrieve a lookup
GET https://app.personr.co/api/1.1/wf/api-lookup-retrieve?lookupId=<lookupId>
Responses
Result fields
lookupStatus
Pending while checks run. Reviewed once every requested check has finished
result
Approved or Rejected
sources
One entry per check that ran
rejectLabels
Why it was rejected: Data Mismatch (the document details didn't match) or AML Match Found
amlMatchCount / amlMatches
Number and names of the AML hits. Open the lookup in the dashboard to review each hit
createdDate
When the lookup was created, in Unix milliseconds
Billing
A lookup created through the API is billed the same way as a Lookup created in the dashboard. Sandbox workspaces aren't billed.
Sandbox
In a sandbox workspace no provider is contacted. You choose the result with the last name:
anything else
No hits
Approved
fail
—
Rejected, Data Mismatch
incomplete
—
Rejected, Data Mismatch (the document couldn't be fully checked)
error
—
Stays Pending (simulates a lookup that didn't finish)
pep, sanction, adverse
One hit of that type, Rejected AML Match Found
—
Was this helpful?