Skip to main content
GET
/
v1
/
widget
/
embed
/
config
curl "https://api.vouchmark.com/v1/widget/embed/config?token=elt_..."
{
  "success": true,
  "data": {
    "widgetId": "wgt_aBcD...",
    "name": "Acme KYB",
    "status": "live",
    "environment": "live",
    "config": {
      "branding": {
        "brandName": "Acme",
        "logoUrl": "https://example.com/logo.png",
        "accentColor": "#6466AE",
        "cornerRadius": "soft",
        "welcomeTitle": "Verify your business",
        "welcomeMessage": "This takes about 10 minutes.",
        "completionTitle": "All done!",
        "completionMessage": "We'll review within 24 hours.",
        "supportEmail": "support@acme.com"
      },
      "flow": {
        "order": ["business_profile", "cac_verification", "tin_verification"],
        "enableSavedProgress": true,
        "enableResume": true,
        "sessionTimeoutMinutes": 60,
        "successRedirectUrl": "",
        "failureRedirectUrl": "",
        "abandonRedirectUrl": ""
      },
      "modules": {
        "business_profile": { "enabled": true, "required": true },
        "cac_verification": { "enabled": true, "required": true },
        "tin_verification": { "enabled": true, "required": true }
      }
    }
  }
}
This is an embed runtime endpoint. It is called by the embedded Vouchmark widget in the applicant’s browser, not by your backend. It uses the widget’s token and does not take a Bearer token.
Returns the public-facing configuration (branding, flow, and modules only) for a widget. The widget must be live. If the widget is configured to require signed requests, it cannot be opened via direct link and this endpoint returns an error. Authenticate with either a direct-link token or SDK credentials (widgetId, publicKey, env). All SDK values must match the same environment — see SDK environments.

Query parameters

Use one of the following parameter sets.
token
string
The widget’s embed link token (embedLinkToken, starts with elt_). Required when not using SDK credentials.

SDK (mobile / web embed)

widgetId
string
Widget ID from the dashboard. Required with publicKey and env.
publicKey
string
Publishable API key: test_pk_… (sandbox) or live_pk_… (live).
env
string
Widget environment: sandbox or live. Must match the key prefix and the widget’s environment field.
curl "https://api.vouchmark.com/v1/widget/embed/config?token=elt_..."
{
  "success": true,
  "data": {
    "widgetId": "wgt_aBcD...",
    "name": "Acme KYB",
    "status": "live",
    "environment": "live",
    "config": {
      "branding": {
        "brandName": "Acme",
        "logoUrl": "https://example.com/logo.png",
        "accentColor": "#6466AE",
        "cornerRadius": "soft",
        "welcomeTitle": "Verify your business",
        "welcomeMessage": "This takes about 10 minutes.",
        "completionTitle": "All done!",
        "completionMessage": "We'll review within 24 hours.",
        "supportEmail": "support@acme.com"
      },
      "flow": {
        "order": ["business_profile", "cac_verification", "tin_verification"],
        "enableSavedProgress": true,
        "enableResume": true,
        "sessionTimeoutMinutes": 60,
        "successRedirectUrl": "",
        "failureRedirectUrl": "",
        "abandonRedirectUrl": ""
      },
      "modules": {
        "business_profile": { "enabled": true, "required": true },
        "cac_verification": { "enabled": true, "required": true },
        "tin_verification": { "enabled": true, "required": true }
      }
    }
  }
}
The public config exposes only the branding, flow, and modules sections — never security, risk, or notifications. Rate limited to 60 requests per minute.