Skip to main content
POST
/
partners
/
v2
/
webhooks
Example subscription
curl --request POST \
  --url https://api-sandbox.argyle.com/partners/v2/webhooks \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "events": [
    "verifications.creation_failed"
  ],
  "name": "name-for-the-webhook-subscription",
  "url": "https://your-webhook-backend.com",
  "secret": "optional-secret"
}
'
{
  "event": "verifications.creation_failed",
  "name": "name-for-the-webhook-subscription",
  "data": {
    "user": "018051aa-f7a9-a0db-2f38-6cfa325e9d69",
    "client": "39096494-45c8-4fd8-9454-3d1cb2d62db7",
    "context": {
      "user": "018051aa-f7a9-a0db-2f38-6cfa325e9d69",
      "attempted_at": "2023-03-09T16:22:06.081Z",
      "channel": "encompass",
      "data_source": "banking",
      "report_type": "voa",
      "loan": {
        "number": "1234",
        "borrower_id": "ABC789",
        "application_id": "2121313",
        "officer_email": "john.doe@mortgage.com"
      },
      "billing": {
        "cost_center": "5"
      }
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.argyle.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Username = api_key_id, Password = api_key_secret

Body

application/json
events
enum<string>[]
required

verifications.creation_failed

Available options:
verifications.creation_failed
name
string
required

Your name for the webhook subscription.

Example:

"name-for-the-webhook-subscription"

url
string
required

Where you want to receive webhook delivery. Argyle handles URL encoding for webhook URLs. Send the URL in its normal, unencoded form.

Example:

"https://your-webhook-backend.com"

secret
string

Optional secret used to verify webhooks.

Example:

"optional-secret"

Response

200 - application/json
event
string

verifications.creation_failed

Example:

"verifications.creation_failed"

name
string

Name used for the webhook subscription.

Example:

"name-for-the-webhook-subscription"

data
object