Developer Docs - Trust Swiftly
  • Developer Documentation
  • Web
    • Integration
    • Button Link
    • WordPress
    • WebView iOS and Android
    • Bubble ID Verify Integration
    • FlutterFlow Identity Verification
    • Webflow ID Verification
    • Zapier Identity Verification
  • API
    • Getting an API Key
    • Authentication
    • Users
    • Reverify User
    • Documents
    • Stats
    • Templates
    • Errors
    • Pagination
    • Filtering and Sorting
    • Rate Limits
  • Webhooks
    • Setup and Handling Webhooks
    • Webhook Code Examples
  • Hosted Link
    • Share hosted link
  • Self Sign Up and Create Autofill
    • Configure self verifications
    • Prefill User Creation
  • Single Sign On
    • SAML2 SSO (Okta, etc)
    • Rippling SSO App
    • Azure Entra ID SAML
  • Notifications
    • Slack
    • Zoho Cliq
    • Email and Web Push
  • Stripe App
    • Install and Demo Guide
    • Disconnect Stripe App
  • References
    • Supported Documents
  • Links
    • Trustswiftly.com
    • Sign Up
Powered by GitBook
On this page
  1. API

Reverify User

Use the reverify API to automatically verify the facial attributes of a user on subsequent verifications.

The reverification endpoint is useful for customers looking to streamline their identity verification process. There are multiple methods for reverifications and Trust Swiftly supports each one depending on the level of assurance required.

Example use cases:

  1. User enrolls / registers themselves with their base verification case. i.e. Identity Document + Selfie

  2. User revisits service in the future and is required to reverify themselves with only a selfie. Instead of asking them for multiple checks a quicker verification can be completed with just their face.

Other reverification use cases can be through a Passkey (Phone Authenticator) or OTP Authenticator. Using this method the API for reverify is not needed as the reverify API is only for Facial reverifications, instead the normal Users API can be used to update the verification template.

  1. User enrolls / registers themselves with their base verification template.

  2. User revisits service for another verification and only is required to authenticate through Face ID / Fingerprint or other bound device-based authenticator.

Reverify Document

POST https://{sub-domain}.trustswiftly.com/api/user/document/reverify

Get the workflow ID of the current and new documents in the Trust Swiftly dashboard for document settings.

Headers

Name
Type
Description

Authorization

string

is used for server-to-server communication to fetch sensitive data that you already have access to.

Request Body

Name
Type
Description

current_workflow_id

string

The document workflow id that has the reference image.

re_verify_workflow_id

string

The new workflow that has a different set of verifications.

user_id

string

The user id to reverfiy

{
	"success": true
}

{

"Error_type":"already_assigned",

"error_message":"Already assigned"

}

curl --request POST \
  --url https://{sub-domain}.trustswiftly.com/api/user/document/reverify \
  --header 'Authorization: Bearer {api_key}' \
  --header 'Content-Type: application/json' \
  --header 'User-Agent: insomnium/1.0' \
  --data '{
  "current_workflow_id": "flow_MzA",
  "re_verify_workflow_id": "flow_Mjk",
  "user_id": "647"
}'
PreviousUsersNextDocuments

Last updated 6 months ago

API Key