This endpoint initializes a new chat-based onboarding session. Each session represents one borrower journey.
Endpoint
POST /v1/flow/init
JWT access token obtained from /authtoken.
Request body
Your internal identifier for the borrower or application.
Defines onboarding flow and required documents.
The name of the borrower who is being onboarded.
Your internal identifier for the borrower.
Webhook URL where Atlas sends final results and data.
Webhook URL where Atlas sends the chat messages.
Response
Unique identifier for the chat session.
Example
curl --request POST \
--url https://api.helloatlas.in/v1/flow/init \
--header "Token: <TOKEN>" \
--header "Content-Type: application/json" \
--data '{
"application_id": "12345",
"product_type": "POC_CDL"
"username": "Ajay"
"external_reference_id": "CDL32786732"
"callback_url": "https://your-system.example.com/atlas/callback"
"chat_notification_url": "https://your-system.example.com/atlas/chat"
}'