Vobiz Sub-Account KYC API
Per-sub-account KYC verification (PAN, GST, CIN, Aadhaar, DigiLocker) and hosted email/redirect KYC sessions. Authenticated as the parent main account.
Per-sub-account KYC verification (PAN, GST, CIN, Aadhaar, DigiLocker) and hosted email/redirect KYC sessions. Authenticated as the parent main account.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/vobiz-ai:vobiz-ai-sub-account-kyc-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Vobiz Sub-Account KYC API
description: 'The Vobiz API lets you make calls, manage phone numbers, configure SIP trunks,
and access account data programmatically.
**Base URL:** `https://api.vobiz.ai`
**Authentication:** All requests require `X-Auth-ID` and `X-Auth-Token` headers.
Obtain these from your Vobiz Console.
**Versioning and deprecation:** The API is versioned in the URL (`/api/v1/`). Breaking changes go through a published deprecation lifecycle: the change is announced and marked `deprecated` in this spec, deprecated endpoints carry `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) response headers, and a deprecated field or endpoint stays available for a minimum of 90 days between the sunset announcement and removal. See the versioning and deprecation policy.'
version: '1.0'
contact:
email: support@vobiz.ai
url: https://www.vobiz.ai
servers:
- url: https://api.vobiz.ai
description: Production
security:
- AuthID: []
AuthToken: []
tags:
- name: Sub-Account KYC
description: Per-sub-account KYC verification (PAN, GST, CIN, Aadhaar, DigiLocker) and hosted email/redirect KYC sessions. Authenticated as the parent main account.
paths:
/api/v1/sub-accounts/{sub_auth_id}/kyc/status:
get:
operationId: get-subaccount-kyc-status
summary: Get sub-account KYC status
description: 'Returns the aggregated KYC state for a `customer_use` sub-account —
which verifications have passed, whether calls are still blocked, and
the business type. The caller must be the parent main account that owns
the sub-account (or an admin).'
tags:
- Sub-Account KYC
parameters:
- $ref: '#/components/parameters/SubAuthId'
responses:
'200':
description: Aggregated KYC state
content:
application/json:
schema:
$ref: '#/components/schemas/SubAccountKycStatus'
example:
sub_account_id: SA_XXXXXX
kyc_mode: customer_use
business_type: private_limited
overall_status: pending
kyc_calls_blocked: true
verifications:
pan: verified
gst: pending
aadhaar: not_started
cin: not_started
'403':
description: Caller is not the parent of this sub-account
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Sub-account not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/sub-accounts/{sub_auth_id}/kyc/verify-pan:
post:
operationId: verify-subaccount-pan
summary: Verify PAN
description: 'Runs a real PAN verification (Perfios) for the sub-account. `pan` must
be exactly 10 characters. Persists a `kyc_verifications` row and
recomputes the sub-account''s aggregated `kyc_status`.'
tags:
- Sub-Account KYC
parameters:
- $ref: '#/components/parameters/SubAuthId'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- pan
properties:
pan:
type: string
minLength: 10
maxLength: 10
example: ABCDE1234F
responses:
'200':
description: Verification result
content:
application/json:
schema:
$ref: '#/components/schemas/KycVerificationResult'
example:
verification_type: pan
status: verified
pan: ABCDE1234F
registered_name: ACME PRIVATE LIMITED
name_match: true
kyc_calls_blocked: true
'400':
description: Invalid PAN format
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/sub-accounts/{sub_auth_id}/kyc/verify-gst:
post:
operationId: verify-subaccount-gst
summary: Verify GST
description: Runs a real GSTIN verification. `gstin` must be a 15-character GSTIN.
tags:
- Sub-Account KYC
parameters:
- $ref: '#/components/parameters/SubAuthId'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- gstin
properties:
gstin:
type: string
minLength: 15
maxLength: 15
example: 29AAJCN5983D1Z0
responses:
'200':
description: Verification result
content:
application/json:
schema:
$ref: '#/components/schemas/KycVerificationResult'
example:
verification_type: gst
status: verified
gstin: 29AAJCN5983D1Z0
legal_name: ACME PRIVATE LIMITED
'400':
description: Invalid GSTIN format
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/sub-accounts/{sub_auth_id}/kyc/cin/search:
post:
operationId: search-subaccount-cin
summary: CIN search
description: 'Name-based CIN lookup. Returns candidate company matches; pick one and
pass it to CIN confirm.'
tags:
- Sub-Account KYC
parameters:
- $ref: '#/components/parameters/SubAuthId'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- company_name
properties:
company_name:
type: string
example: ACME PRIVATE LIMITED
responses:
'200':
description: Candidate matches
content:
application/json:
example:
matches:
- cin: U72900KA2024PTC123456
company_name: ACME PRIVATE LIMITED
status: Active
/api/v1/sub-accounts/{sub_auth_id}/kyc/cin/confirm:
post:
operationId: confirm-subaccount-cin
summary: CIN confirm
description: Confirm the CIN selected from the search results.
tags:
- Sub-Account KYC
parameters:
- $ref: '#/components/parameters/SubAuthId'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- company_name
- selected_cin
properties:
company_name:
type: string
example: ACME PRIVATE LIMITED
selected_cin:
type: string
example: U72900KA2024PTC123456
responses:
'200':
description: Verification result
content:
application/json:
schema:
$ref: '#/components/schemas/KycVerificationResult'
example:
verification_type: cin
status: verified
cin: U72900KA2024PTC123456
/api/v1/sub-accounts/{sub_auth_id}/kyc/digilocker/initiate:
post:
operationId: subaccount-digilocker-initiate
summary: DigiLocker initiate
description: 'Returns the DigiLocker authorization link and an `access_request_id`.
The customer completes the OAuth flow on the DigiLocker portal, after
which you finalize with
DigiLocker verify.'
tags:
- Sub-Account KYC
parameters:
- $ref: '#/components/parameters/SubAuthId'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- redirect_url
properties:
redirect_url:
type: string
format: uri
example: https://partner.example.com/kyc/callback
oauth_state:
type: string
description: Opaque value echoed back on the redirect for CSRF protection.
example: opaque-state-xyz
responses:
'200':
description: DigiLocker authorization link
content:
application/json:
example:
auth_url: https://api.digitallocker.gov.in/public/oauth2/1/authorize?...
access_request_id: AR_xxxxxxxx
/api/v1/sub-accounts/{sub_auth_id}/kyc/digilocker/verify:
post:
operationId: subaccount-digilocker-verify
summary: DigiLocker verify
description: Finalize Aadhaar via DigiLocker after the customer completes OAuth.
tags:
- Sub-Account KYC
parameters:
- $ref: '#/components/parameters/SubAuthId'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- access_request_id
properties:
access_request_id:
type: string
example: AR_xxxxxxxx
linked_number:
type: string
description: Optional. Binds the Aadhaar to a specific number (92-series).
example: +91XXXXXXXXXX
responses:
'200':
description: Verification result
content:
application/json:
schema:
$ref: '#/components/schemas/KycVerificationResult'
example:
verification_type: aadhaar
status: verified
source: digilocker
/api/v1/sub-accounts/{sub_auth_id}/kyc-sessions:
post:
operationId: create-subaccount-kyc-session
summary: Create a hosted KYC session
description: 'Creates a Vobiz-hosted KYC session for the sub-account. With
`flow_type=email` (default) Vobiz emails the customer a signed link
(from `kyc@vobiz.ai`, hosted at `kyc.vobiz.ai`) and `customer_email` is
required. With `flow_type=redirect`, omit `customer_email`, pass a
`redirect_url`, and the `widget_url` is returned directly for an inline
redirect.
This is the sub-account–scoped equivalent of the partner-level
KYC Sessions endpoint.'
tags:
- Sub-Account KYC
parameters:
- $ref: '#/components/parameters/SubAuthId'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- account_auth_id
- flow_type
properties:
account_auth_id:
type: string
description: The sub-account's auth_id (typically equal to the path `sub_auth_id`).
example: SA_XXXXXX
flow_type:
type: string
enum:
- email
- redirect
default: email
customer_email:
type: string
format: email
description: Required when `flow_type` is `email`.
example: customer@example.com
redirect_url:
type: string
format: uri
description: 'Required when `flow_type` is `redirect`. After verification the customer''s
browser is sent to this URL.
'
example: https://your-app.example.com/kyc/done
webhook_url:
type: string
format: uri
description: HTTPS endpoint VoBiz POSTs the KYC result to. Omit it and no callbacks are sent.
example: https://your-app.example.com/kyc/webhook
expires_in_days:
type: integer
default: 7
example: 30
examples:
email-flow:
summary: Email flow (Vobiz emails the link)
value:
account_auth_id: SA_XXXXXX
flow_type: email
customer_email: customer@example.com
webhook_url: https://your-app.example.com/kyc/webhook
expires_in_days: 30
redirect-flow:
summary: Redirect flow (you redirect to widget_url)
value:
account_auth_id: SA_XXXXXX
flow_type: redirect
redirect_url: https://your-app.example.com/kyc/done
webhook_url: https://your-app.example.com/kyc/webhook
expires_in_days: 30
responses:
'201':
description: KYC session created
content:
application/json:
examples:
email-flow:
summary: Email-flow response
value:
session_id: a5f8da3c-b47f-40c3-a3e6-d2c9a0f27065
account_auth_id: SA_XXXXXX
customer_email: customer@example.com
status: email_sent
expires_at: '2026-06-24T19:37:01.316686Z'
widget_url: null
message: KYC email dispatched successfully
redirect-flow:
summary: Redirect-flow response
value:
session_id: 1a0f7da5-2abb-47bf-a6c3-eb5cff7feda5
account_auth_id: SA_XXXXXX
customer_email: null
status: link_ready
expires_at: '2026-06-24T19:37:01.841263Z'
widget_url: https://kyc.vobiz.ai/verify?token=kst_cb1b3fda...
message: Redirect your customer to widget_url to begin.
'422':
description: Validation error (email flow missing `customer_email`, or redirect flow missing `redirect_url`)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
KycVerificationResult:
type: object
description: Outcome of a single KYC verification step.
properties:
verification_type:
type: string
enum:
- pan
- gst
- cin
- aadhaar
status:
type: string
enum:
- verified
- failed
- pending
kyc_calls_blocked:
type: boolean
description: Recomputed sub-account call-blocking state after this verification.
mock:
type: boolean
description: Present and `true` on responses from the test-mode endpoints.
required:
- verification_type
- status
Error:
type: object
properties:
api_id:
type: string
error:
type: string
message:
type: string
SubAccountKycStatus:
type: object
description: Aggregated KYC state for a sub-account.
properties:
sub_account_id:
type: string
kyc_mode:
type: string
enum:
- personal_use
- customer_use
business_type:
type: string
overall_status:
type: string
enum:
- not_started
- pending
- verified
- failed
kyc_calls_blocked:
type: boolean
description: True while the sub-account still needs KYC before it can place calls.
verifications:
type: object
description: Per-document state keyed by verification type.
additionalProperties:
type: string
enum:
- not_started
- pending
- verified
- failed
parameters:
SubAuthId:
name: sub_auth_id
in: path
required: true
description: The sub-account's Auth ID.
schema:
type: string
example: SA_XXXXXX
securitySchemes:
AuthID:
type: apiKey
in: header
name: X-Auth-ID
description: Your Vobiz account Auth ID
AuthToken:
type: apiKey
in: header
name: X-Auth-Token
description: Your Vobiz account Auth Token
externalDocs:
description: API versioning and deprecation policy
url: https://www.vobiz.ai/docs/api-reference/versioning