The TrueContact API
A check can return Real when it matches a contact the company confirmed, or a link it told us it was sending. The reason code is registered_by_owner.
Answers whether a phone number, link, email, text sender or company name matches an official contact. Only http and https links can be Real. Any other scheme is not them. A text sender id matches ignoring letter case. A phone can contain only digits, spaces, dashes, dots, brackets and a leading +61. Lookalikes are judged on the host, not the path or query. Results are real, couldnt_confirm, not_them, or null when a company name is checked on its own.
slug, displayName, domain, name, email, role, claimId, secret, token, code, action, id, type, value, drafts, review, newListing, verified, status, configVersion, gitCommit, input, claimedCompany, website, checkId, result, reasonCode, notes, inputType, company, otherCompany, candidates, checkedAt, normalisedInput, claimStatus, officialDomains, officialContacts, scamBrake, purpose, sourceUrl, sourceTitle, confirmedAt, kind, label, phone, url, items, results, helpful, organisation, message, intendedUse, at, summary, eventId, actorType, actorId, targetType, targetId, before, after, requestId, addressHash, accepted, error
GET /v1/health
Service health
Sample request
GET /v1/health
Sample response
{"status":"ok","configVersion":1,"gitCommit":"<deployed commit>"}
GET /health
Service health on the short path
Sample request
GET /health
Sample response
Service health on the short path
POST /v1/check
Check an input
Sample request
{"input":"+61 491 571 266"}
Sample response
{"result":"real","reasonCode":"confirmed_match"}
GET /v1/check
Check an input with a query string
Sample request
GET /v1/check?input=%2B61491571266&claimedCompany=Example%20Bank
Sample response
The same JSON object as POST /v1/check. claimedCompany is optional.
GET /v1/checks/{checkId}
Read a stored check by its id
Sample request
GET /v1/checks/{checkId}
Sample response
The stored check, using the checkId returned by POST /v1/check. An unknown id returns 404. The raw input is not stored.
GET /v1/orgs
Search public organisation names
Sample request
GET /v1/orgs?query=Example%20Bank
Sample response
{"results":[/* company objects, hidden listings omitted */]}
GET /v1/orgs/{slug}
Read one public organisation
Sample request
GET /v1/orgs/your-company
Sample response
One company object: slug, displayName, claimStatus, officialDomains, officialContacts and scamBrake. A hidden listing returns 404.
GET /org/{slug}
Read one public organisation page
Sample request
GET /org/{slug}
Sample response
Read one public organisation page
GET /sitemap.xml
Sitemap of public organisation pages
Sample request
GET /sitemap.xml
Sample response
Sitemap of public organisation pages
GET /feed.json
Feed of public organisations
Sample request
GET /feed.json
Sample response
Feed of public organisations
POST /v1/feedback
Record whether a check was helpful
Sample request
{"checkId":"<checkId from the check>","helpful":true}
Sample response
{"accepted":true}
POST /v1/demo-requests
Ask for a demonstration
Sample request
{"name":"Alex Example","email":"alex@examplebank.example","organisation":"Example Bank","message":"Our listing"}
Sample response
{"accepted":true}
POST /v1/api-access-requests
Ask for API access
Sample request
{"name":"Alex Example","email":"alex@examplebank.example","organisation":"Example Bank","intendedUse":"Check numbers from our app"}
Sample response
{"accepted":true}
POST /v1/orgs/claim-target
Look up the listing a claim would cover
Sample request
{"slug":"your-company"}
Sample response
{"slug":"your-company","displayName":"Example Bank","domain":"examplebank.example"}
POST /v1/claims
Start a claim
Sample request
{"slug":"your-company","name":"Ada","email":"ada@examplebank.example","role":"Owner","subdomainsDelegated":false}
Sample response
201 with claimId, a secret returned once, domain and token. The secret is stored only as a hash. More than rateLimits.claimPerMinute claim calls a minute from one viewer returns 429.
POST /v1/claims/{claimId}/verify-dns
Check the DNS TXT record
Sample request
{"secret":"<secret from the claim>"}
Sample response
{"code":"success"} or notfound, mismatch, or expired with a replacement token.
PUT /v1/claims/{claimId}/contacts
Confirm, edit, remove or add a contact
Sample request
{"secret":"<claim secret>","action":"confirm","id":"<draft id>"}
Sample response
{"drafts":[...]} An unchanged contact is confirmed. An add or edit is under_review.
POST /v1/claims/{claimId}/contacts
Confirm, edit, remove or add a contact
Sample request
{"secret":"<claim secret>","action":"confirm","id":"<draft id>"}
Sample response
The same JSON object as PUT /v1/claims/{claimId}/contacts.
POST /v1/claims/{claimId}/submit
Save the claim
Sample request
{"secret":"<claim secret>"}
Sample response
{"review":false}
POST /v1/claims/{claimId}/view
Read the claim drafts
Sample request
{"secret":"<claim secret>"}
Sample response
The domain, token and drafts. The secret is not returned.
POST /v1/sent
Register a link, email or phone number this listing is sending
Bearer key issued by an admin and shown once. kind is link, email or phone. A link or email must use a verified domain of the listing, or any subdomain of one. The default expiry is 7 days and the longest is 30 days. An exact check can return registered_by_owner.
Sample request
POST /v1/sent
Sample response
Register a link, email or phone number this listing is sending
GET /v1/sent
List this listing's registered items
Sample request
GET /v1/sent
Sample response
List this listing's registered items
DELETE /v1/sent/{id}
Delete one registered item belonging to this listing
Sample request
DELETE /v1/sent/{id}
Sample response
Delete one registered item belonging to this listing