Callback

Set callback URLs per authorization request and see how metadata appears in the callback body.

Configure where Tecalis sends callbacks and see how the metadata you send appears in the callback body.

If you reuse the same callback URLs across authorization requests, set them once in your workflow configuration. You don't need to send them in every POST /api/auth request. Override a URL per request only when you need a different destination for that authorization.

In your workflow's Callback settings, enter the destination URL for each outcome you want to receive: Process approved, Process rejected, or Process cancelled.

Callback endpoint requirements

  • Use a URL that Tecalis Bridge can reach. The endpoint doesn't have to accept unauthenticated requests: if it requires OAuth, configure it in your workflow.
  • Accept POST requests with a JSON body and the Content-Type: application/json header.

Callback types

Process outcomeCallback field
OKcallback
KOcallback_ko
Cancelledcallback_cancelled

Set a callback URL per request

  1. Add the optional replacements object to your Authorization request body.
  2. To override the URL for an OK or KO outcome, set replacements.callback or replacements.callback_ko, respectively. Each field takes a URL string.
{
  "replacements": {
    "callback": "http://callback",
    "callback_ko": "http://callback_ko"
  }
}

Authorization request and callback body

This POST /api/auth request sends two fields in metadata without overriding the callback URLs set in the workflow.

{
  "api_key": "API_KEY",
  "profile_uuid": "UUID",
  "short_url_pwcs": true,
  "metadata": {
    "variable1": "value1",
    "variable2": "value2"
  }
}

In the callback body, variable1 and variable2 appear at the top level alongside auth_uuid (the authorization ID), not inside a metadata object.

{
  "variable1": "value1",
  "variable2": "value2",
  "auth_uuid": "UUID"
}

Optional: Authenticate callbacks with OAuth

If your callback endpoint requires OAuth, turn on Enable OAuth in your workflow. Bridge requests an OAuth token before calling your callback URL. Both the token URL and the callback URL must be reachable from Bridge; enabling OAuth does not make a private network reachable.

  1. Enter your provider's Token URL and Grant type. For client credentials, use client_credentials.
  2. Enter your Client ID and Client secret. Under Client auth, select basic to send client credentials in the header or body to send them as form fields, depending on what your provider expects.
  3. Enter a Scope if your provider requires one. The Username and Password fields apply only to the password grant.

Callback source IP

All callbacks come from the fixed IP address 34.78.205.27. If your endpoint restricts inbound traffic by IP address, add this address to your allowlist.


Did this page help you?