Skip to main content
POST
Create a verification link
A verification link lets you collect a verification without building a front end. You pick one of your workflow templates, set how many people can use the link and for how long, and share the returned url by email, SMS or chat. Each person who opens it runs the workflow in the hosted flow, and the results reach you as they do for any session: the session.completed webhook and the dashboard.

Authentication

These endpoints take a dashboard login token, not your X-Client-ID and X-API-Key. Sending only the API key pair returns 401 Not authenticated. Get a token by logging in with a dashboard user’s email and password at POST /auth/login; send it as Authorization: Bearer <token>. The token is valid for 12 hours. Team members with the owner, admin or developer role can create links.

Before you start

  • Your account needs an API client (create one under API credentials in the dashboard).
  • workflow_template_id must be an active workflow template assigned to your account.
  • Keep at least ₹100 in your idto balance. Below that, people who open the link see a message asking them to contact you, and no session starts.

Billing

Creating, listing and revoking links is not billed. Each verification a person completes through the link is billed as usual.

Environments

Errors

Test scenarios

Manage existing links with List links and Revoke a link. More answers in the Integration FAQ. Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

Authorization
string
header
required

Dashboard login token from POST /auth/login with a dashboard user's email and password, valid for 12 hours. X-Client-ID and X-API-Key are not accepted on these endpoints.

Body

application/json
label
string
required

Name for this link, shown in the dashboard link list. Must not be blank.

workflow_template_id
string<uuid>
required

A workflow template assigned to your account and active.

max_runs
integer
required

How many sessions the link can start before its status becomes spent.

Required range: 1 <= x <= 500
expires_in_days
integer
required

Days from creation until the link stops starting new sessions.

Required range: 1 <= x <= 90
brand
object
required
presentation
object
options
object

Response

The link was created. Share url with your end user.

A verification link as returned to the merchant dashboard.

id
string<uuid>
required
token
string
required

Opaque token identifying this link. Embedded in the redemption URL and used as the credential for the public redemption endpoints.

Example:

"Zm9vYmFyMDEyMzQ1Njc4OWFiY2RlZmdoaWprbG1ub3A"

url
string<uri>
required

The full shareable redemption URL for this link.

Example:

"https://try.idto.ai/v/Zm9vYmFyMDEyMzQ1Njc4OWFiY2RlZmdoaWprbG1ub3A"

label
string
required
workflow_template_id
string<uuid>
required
max_runs
integer
required
runs_used
integer
required
runs_left
integer
required
created_at
string<date-time>
required
expires_at
string<date-time>
required
revoked_at
string<date-time> | null
required
status
enum<string>
required

A link is active until it becomes expired (past expires_at), spent (runs_used has reached max_runs), or revoked (explicitly revoked). revoked is permanent and takes priority over the other two. An expired or spent link still lets a session already in progress finish; a revoked link blocks everything immediately, including sessions already in progress.

Available options:
active,
expired,
spent,
revoked
brand
object

Branding shown to the end customer on the hosted verification page.

presentation
object

Layout and presentation options for the hosted verification flow.

options
object
Last modified on October 4, 2026