No-code Onboarding Flows
Creates an invite to a hosted KYC journey you designed, sends the link to the customer and returns each step's results and a PDF report when they finish.
- Source
- Our hosted journey pages calling the verification APIs you choose
- Turnaround
- Journeys can go live in days; each customer usually finishes in minutes
- Endpoint
- POST /v1/flows/invite
- Who can use it
- Any business. Each step has the same eligibility as the underlying API, for example Aadhaar eKYC.
Overview
Not every team has developers free to build KYC screens. With no-code onboarding you pick the steps in a builder (PAN, DigiLocker, bank account, selfie, eSign and so on), add your logo and colours, and send customers a link by SMS, email or WhatsApp. Results show up in a dashboard and through the API, with a PDF report per customer.
Good to know
A hosted page is less flexible than your own UI. Very custom flows are better built on the APIs directly.
What you get
- Drag-and-drop stepsChoose and order the checks your journey needs, and change them without a release.
- Your brandingLogo, colours and wording on a page that feels like part of your product.
- PDF report per customerA single report with every check, ready for your file or your lender partner.
- Dashboard and APIOps teams use the dashboard; developers can pull the same results by API.
Request
POST https://api.ampletrails.com/v1/flows/invite
| Field | Type | Status | Description |
|---|---|---|---|
flow_id | string | Required | The journey you designed in the builder |
name | string | Optional | Customer name to pre-fill |
mobile | string | Required | Customer mobile to send the link to |
email | string | Optional | Customer email to send the link to |
reference_id | string | Optional | Your internal reference |
Response
Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.
| Field | Meaning | Example |
|---|---|---|
invite_id | Invite identifier | inv_6b2f10 |
journey_url | Hosted journey link for the customer | https://verify.example/j/… |
status | Progress (invited, started, completed, expired) | invited |
results | Per-step verification results once complete | {…} |
report_pdf_url | Downloadable verification report | null |
Example
curl -X POST https://api.ampletrails.com/v1/flows/invite \
-H "Authorization: Bearer $AMPLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"flow_id": "flow_merchant_onboarding", "name": "Ravi Kumar", "mobile": "9876543210", "email": "ravi@example.com", "reference_id": "LEAD-4471"}'import os, requests
resp = requests.post(
"https://api.ampletrails.com/v1/flows/invite",
headers={"Authorization": f"Bearer {os.environ['AMPLE_API_KEY']}"},
json={
"flow_id": "flow_merchant_onboarding",
"name": "Ravi Kumar",
"mobile": "9876543210",
"email": "ravi@example.com",
"reference_id": "LEAD-4471"
},
timeout=30,
)
resp.raise_for_status()
print(resp.json()["data"])const resp = await fetch("https://api.ampletrails.com/v1/flows/invite", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AMPLE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"flow_id": "flow_merchant_onboarding",
"name": "Ravi Kumar",
"mobile": "9876543210",
"email": "ravi@example.com",
"reference_id": "LEAD-4471"
}),
});
const { data } = await resp.json();$ch = curl_init("https://api.ampletrails.com/v1/flows/invite");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AMPLE_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode(["flow_id" => "flow_merchant_onboarding", "name" => "Ravi Kumar", "mobile" => "9876543210", "email" => "ravi@example.com", "reference_id" => "LEAD-4471"]),
]);
$data = json_decode(curl_exec($ch), true)["data"];{
"status": "success",
"request_id": "req_7f3a9c21e4",
"data": {
"invite_id": "inv_6b2f10",
"journey_url": "https://verify.example/j/…",
"status": "invited",
"results": "{…}",
"report_pdf_url": null
}
}Example data. The exact field list for your account comes with your sandbox documentation.
Use cases
Pilot before you build
Launch KYC in days, learn what customers struggle with, then decide whether to build your own screens.
Partner and dealer onboarding
Send a link to every new distributor or channel partner.
Sales-assisted onboarding
Your sales team sends the link while on a call with the customer.
Questions about this API
Can we use our own domain?
Yes, the journey can run on a subdomain you own, so customers see your brand in the address bar.
How are links sent?
We can send them by SMS or WhatsApp with your templates, or you can send the link yourself.
Can a customer finish later?
Yes. Progress is saved and the link works until it expires.
Is it mobile friendly?
It's designed for phones first, since that's where most customers open the link.
Try the No-code Onboarding Flows API
Sandbox keys, the full field reference and a Postman collection, usually within a working day.