Skip to main content
Version: v2

Send verification links

note

This article explains how to call the API to create verification links. For a general introduction into what verification links are, read this article.

This article uses us-east to illustrate examples. Replace it with your own region code.

To create a verification link, authenticate using your API credentials as described in the Authentication guide.

Then, send a POST request (application/json) to your endpoint, for example:

curl --url https://api.us-east.platform.microblink.com/agent/api/v2/verification-link --user "$CLIENT_ID:$CLIENT_SECRET" --json @request_body.json

There are several required and optional parameters which can be provided to modify the behavior of the link:

request_body.json
{
"userId": "example", // required
"expiresOn": "2025-03-04T22:33:44.555Z", // required
"workflowId": "66d99fa9edc165df54072f8a", // required
}

The userId is the identifier of your user in your system, as explained in User IDs.

Verification links always open in our managed app (vl.platform.microblink.com). Self-hosted verification link apps aren't supported.

The verification link endpoint accepts additional fields, see the API reference.

Response​

If the request was successful, the API returns this object:

{
"id": "0266d99fa9edc165df54072f8b",
"url": "https://api.us-east.platform.microblink.com/edge/api/v2/verification-link/0266d99fa9edc165df54072f8b"
}

The value in the url field is the verification link. Send this link to your users.