KYC API
Your onboarding screens. The same checks and the same sign-off.
Some customers reach a carrier through a platform: a reseller, a dialer, a messaging service. The KYC API lets that platform collect the application inside its own product and send it across, signature and all. It is a business verification API: the customer is a company, and it is checked, flagged and reviewed like any other.
KYC API integration in eight calls
Four take an application from start to review. The rest read its state, fix it after a send-back, and test the integration. Every call carries the platform’s key in theX-Partner-Key header and is made from the platform’s server, never from a browser. Bodies and answers are JSON, except document uploads, and no answer is cached.
GET /requirementsThe fields, questions and documents to collect, and the statements and terms to show word for word.
POST /applicationsThe answers plus the signature record. Returns the reference and the documents still needed.
GET /applications/{ref}Where the application stands, what is still owed, and the website pre-check.
POST /applications/{ref}/documentsOne file per call: an ID, an incorporation document, consent proof, a tax ID letter, a logo.
POST /applications/{ref}/submitHands the application to the review desk, or back to it after a fix.
PATCH /applications/{ref}Corrected fields after a send-back or a decline that can be fixed, with a new signature when a value changed.
POST /applications/{ref}/simulateTest applications only: set the outcome yourself and receive the real events.
GET /statusLook an application up by its reference or by your own customer id.
The carrier makes the key on its desk. It is shown once, can be replaced at any time, and the old one stops working at once. How a carrier sets up a platform
What to show the customer
The requirements call returns everything a platform needs to build its screens, so the wording the customer agrees to is the carrier’s, not a paraphrase.
- Fields
- Twenty-three required fields in five groups: the company (legal name, tax ID, type, address, phone, email, state of registration), the signer (name, title, phone, email), the main and billing contacts, a description of the business and its calls, and four yes or no answers. Fifteen more are optional, including the website, the industry, the year of incorporation, a traceback contact, and the Do-Not-Call subscription number and scrubbing service, which are printed beside the Do-Not-Call answer on the agreement.
- Fields that depend on an answer
- A trade name when agents do not use the legal name. An explanation when there was a past government action or lawsuit. The Do-Not-Call and consent answers when the customer sells by phone. The written-consent answer when calls use an AI or prerecorded voice.
- Seven questions, worded
- The compliance questions come back in the exact words the customer must see.
- Three statements and the terms
- Good standing, agreement to the carrier’s terms, and certification that the answers are true. Each is shown as its own box that the customer ticks, with the terms and their effective dates linked beside the agreement. A fourth statement is optional: the customer authorizes the platform to receive its credentials and administer the service. When it is sent, it is printed on the signed agreement.
- Industries
- The industries the carrier serves and the ones it does not, as the owners currently have them. Sending one it does not serve is refused, so a platform can screen for it in its own sign-up.
- Documents and texting
- Which documents are required and when, the file types and limits, and the shape of the optional texting answers, with a marker that says whether the carrier is building sign-up pages.
- A version
- The answer carries a dated version stamp, and each platform’s private guide keeps a dated list of every change with what, if anything, the platform has to do. The guide states that a change which could break an integration is announced at least 30 days ahead.
Creating an application
One call sends the answers and the proof that the customer signed.
- Your customer id
- Every application carries the platform’s own id for the customer, up to 120 characters. The answer returns the carrier’s reference. Events and lookups work with either.
- Safe to retry
- A second create for the same customer id is refused, and the refusal returns the existing application. A declined or archived application frees the id for a new one, and test applications have their own ids.
- The signature record
- The typed name, which must match the signer’s name; the time of signing, no more than seven days old; the customer’s own internet address; and the browser. All three statements must be sent as true.
- Every problem at once
- A create that fails validation lists each missing or invalid field in one answer, so a customer is not sent around the form twice.
- What comes back
- The reference, the status, a count of documents by kind, and the kinds still needed: an ID and an incorporation document, plus consent proof when the answers call for it.
- Checks start now
- The automated checks begin when the application is created, not when it is submitted, so the website result is ready while the customer is still in the platform’s onboarding.
The website pre-check
A website that does not show the business is the most common reason an application is sent back. So the website result is shared with the platform before submit: whether the site loads, whether it shows the business name, and whether it mentions a privacy policy, with a sentence the platform can show the customer.
The result reads pending while the check runs, usually under half a minute, then ok or fix. It runs again when the customer corrects the website. It is the only check result a platform ever sees: the OFAC, registry, connection and phone results stay on the carrier’s desk.
GET /applications/KV-7F3A21
"precheck": {
"website": {
"status": "fix",
"loads": true,
"shows_name": false,
"privacy_policy": false,
"message": "Your website doesn't show your
business name. Your website doesn't link
to a privacy policy."
}
}Documents
One file per call, as a form upload with its kind. A PDF or an image (PNG, JPEG, WebP, HEIC, HEIF or GIF), up to 4 MB each and up to ten files of a kind. A logo has to be a PNG, JPEG, WebP or GIF image.
| Kind | Document | Required |
|---|---|---|
id | Driver’s license of the signer, not expired | Always |
incorp | Proof of incorporation showing the legal name and state | Always |
consent | Screenshots of how people agree to be contacted | When the customer sells by phone or uses an AI or prerecorded voice |
ein | The IRS letter for the tax ID | Optional |
other | Anything else | Optional |
logo | A logo for a text sign-up page made for the customer | Optional |
Consent proof has to be uploaded before submit when it is owed; submit is refused with the missing kinds otherwise. No certificate of good standing is asked for: the customer confirms good standing and the carrier checks the state’s records. Documents are accepted before submit and again only while something is open to fix. They travel one way: a platform sees counts by kind, never the files, and cannot fetch the signed agreement.
Statuses
An application moves along one line, with a side branch when something is owed.
uploading → new → in_review → approved or declined → live
uploading means created and waiting for documents.info_requested can happen during review. A decline that can be fixed returns tonew when the customer resubmits.
A platform never sees the carrier’s internal owner sign-off stage; an application waiting there readsin_review.
Submitted, information requested, approved, declined and live arrive by webhook. The quieter moves, such as a reviewer opening the application or a fix returning it to review, show only when the platform asks.
Reasons, and fixing the same application
A send-back or a decline carries one entry per problem: a code, a message written to the customer, the documents to send again and the field groups to correct. The codes are stable, and a decline also says whether it can be fixed.
| Code | Sent with | Meaning | Usual fix |
|---|---|---|---|
name_mismatch | Send-back | The legal name does not match state records. | Incorporation document, legal name |
address_mismatch | Send-back | The address does not match state records. | Address |
website | Send-back | The website does not show the business name or a privacy policy. | Website |
license | Send-back | The license is unreadable or expired. | ID |
incorp_doc | Send-back | The incorporation document is unreadable or for another company. | Incorporation document |
consent | Send-back | Consent proof is missing. | Consent screenshots |
dnc | Send-back | The customer sells by phone without removing Do-Not-Call numbers. | Do-Not-Call answer |
no_response | Decline | No reply to a request. | What was last asked for |
inactive | Decline | The company is inactive with its state. | None by default |
industry | Decline | A type of business the carrier does not accept. | None by default |
ai_consent | Decline | AI or prerecorded calls without written consent. | Consent screenshots |
other | Decline | Written by the reviewer. Read the message. | As the reviewer chose |
not_verified | Decline | Could not be verified. Never says why, cannot be fixed, always sent alone. | None |
Three steps to fix
The customer fixes the same application. Nothing sent before is sent again.
- Correct the fields, only when field groups were asked for. There are eight groups: legal name, address, tax ID, state of registration, entity type, website, signer, and the Do-Not-Call answer. A group is sent whole.
- Upload each document kind that was asked for, one call per file.
- Submit again. It is refused, with what is still missing, until everything asked for has arrived.
A changed value needs a new signature
Every correctable field is printed on the signed agreement. If a value changes, the customer ticks the agreement and certification again in the platform’s onboarding and a new signature record is sent. The carrier keeps the original signed copy and adds a new one.
Sending the same values back counts as confirming them and needs no signature. A decline that is closed takes no corrections and no documents; a new application is needed.
Four webhook events, each with an HMAC signature
Every event is a JSON message to the one https address the platform gave the carrier. Any answer in the 200 range counts as received. A status message carries the reference, the state and what to fix. It does not carry a tax ID, a document, a flag or an internal note.
Each message is signed. The X-Signature header holds a Unix time, a comma, and an HMAC-SHA256 of that time followed by the raw body, made with the platform’s key. Recompute it over the bytes exactly as received, compare in constant time, and drop anything that does not match or is more than a few minutes old.
If the platform’s endpoint also checks a secret header of its own, the carrier saves it and it is sent on every event beside the signature.
POST https://platform.example/hooks/kyc
X-Signature: 1794787380,9f2c4e…b71a
{
"event": "kyc.status",
"reference": "KV-7F3A21",
"external_id": "cust_48213",
"status": "info_requested",
"reason": "consent",
"reasons": [{
"code": "consent",
"message": "We need screenshots showing
how people agree to be contacted.",
"needs": ["consent"],
"fix_fields": []
}],
"needs": ["consent"],
"fix_fields": []
}| Event | Sent when | Carries |
|---|---|---|
kyc.status | A status change: submitted, information requested, approved, declined, live, or resubmitted after a decline that could be fixed. | The reference, your customer id, the legal name, the status and the time. On a send-back or a decline: the reasons, the message, the documents and fields to fix, and whether a decline can be fixed. |
kyc.sip | The carrier recorded the customer’s calling address and dialing prefix, or changed one of them. | The reference, your customer id, the legal name, the calling address, the prefix and the time. |
kyc.credentials | Only when the customer’s account comes with keys your system needs. | The account keys, plus the calling address and prefix when they are already known. |
kyc.test | Someone on the carrier’s desk pressed Test on your webhook. | The event name and the time. |
Each event is sent once. The carrier’s side waits about ten seconds and does not retry, so a platform whose endpoint was down catches up with the two read calls. Those return status and reasons; calling details and keys come by webhook only. New fields may be added to any event, so ignore the ones you do not recognize.
Build against it before a customer does
- Test applications
- Add a test marker when creating an application. It goes through the same field checks, uploads and submit, stays off the review team’s board and alerts, and keeps its own space of customer ids.
- Simulate a decision
- After submit, a simulate call sets the outcome: information requested with the reasons you choose, declined (fixable or not), approved, or live. Approved also sends the keys event and the calling-details event, with dummy values that work nowhere.
- See what was sent
- The simulate answer lists each event, its full body and how your endpoint answered, even when your endpoint is down. Every test event carries a test marker and the usual signature.
- Try the fix calls
- Simulate a send-back or a fixable decline, then correct and resubmit the same test application.
- A test webhook
- The carrier can send a signed test event from its desk to confirm your signature check works.
- Nothing skipped
- A real API application gets the same checks, flags and sign-off rules as one from the invitation form. The signed agreement notes that the customer signed inside the platform’s onboarding.
Errors and limits
Every error is a JSON answer with a sentence that says what went wrong, and a list of what is missing where that applies.
- 400
- Submit with documents or corrections still owed, a bad upload (kind, type, size or count), or a status lookup with no reference and no customer id.
- 401
- A wrong, missing or revoked key.
- 403
- Simulate called on a real application.
- 404
- An unknown reference, or one that belongs to another platform.
- 405
- A method the address does not take. Nothing can be deleted.
- 409
- This customer id already has an application (the answer is that application), nothing on it needs correcting, a document sent while nothing is open, or simulate before submit.
- 422
- Missing or invalid fields, all listed at once; an industry the carrier does not serve; or changed details without a new signature.
Limits: files up to 4 MB, ten per kind. A customer id up to 120 characters. The signing time no more than seven days old. Text answers longer than their field are cut, not refused: 3,000 characters for the business description and the enforcement explanation, 2,000 for the consent explanation, 200 for the legal name, the trade name and the street, 120 for names and titles. Calling submit twice changes nothing. A status lookup answers with a list, because a customer id can have a test application and a real one.
Texting answers, by API
A platform can send the customer’s texting answers with the application: whether the customer will text, what kinds of messages (updates, support, offers), one real sample text, and how people sign up. That is either links to the customer’s own sign-up page and privacy policy, or a request for the carrier to build the pages, with one public line about the business and where each sign-up should be sent.
Questions about the API
Who is the KYC API integration for?
Platforms whose customers should never leave their own sign-up: resellers, dialer platforms and messaging platforms that onboard businesses onto a carrier. The platform collects the answers and the signature in its own screens and sends them through the API.
How are webhooks signed?
Each webhook carries a signature header with a Unix time and an HMAC-SHA256 of that time plus the body, made with the platform’s key. The receiver recomputes it and rejects anything that does not match.
Is there a test mode?
Yes. An application marked as a test stays off the review team’s board and alerts. After it is submitted, a simulate call sets its outcome: information requested, declined, approved or live. The platform receives the same signed events a real decision sends, with dummy keys and calling details, so the integration can be built before a real customer applies.
Does an API application skip the checks or the review?
No. It gets the same automated checks, the same flags and the same sign-off rules as an application from the invitation form.
What webhook events does the KYC API send?
Four. A status event for each change of state, with the reasons and what to fix on a send-back or a decline. A calling-details event when the carrier records the customer’s calling address and dialing prefix. A credentials event, only when the customer’s account comes with keys the platform needs. And a test event the carrier can send from its desk. Each is signed, sent once and not retried.
How does a platform fix an application that was sent back?
On the same application. The platform sends the corrected field groups, uploads each document that was asked for, and submits again. If a value changed, the customer signs again in the platform’s onboarding and a new signature record is sent; the original signed copy is kept. A decline marked as fixable is corrected the same way.
What does a platform learn about the checks?
Only the website pre-check: whether the site loads, shows the business name and mentions a privacy policy, with a sentence to show the customer. It is available before submit so the customer can fix the site first. The OFAC, state registry, connection and phone results, and every flag, stay on the carrier’s desk.
In beta. Available by invitation only.
Carriers and SMS providers can join the waitlist with a company name, an address and a contact.