curl --request POST \
--url https://app.herondata.io/api/integrations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"integration": {
"name": "Plaid Prod",
"resource": "transaction",
"type": "<string>",
"base_url": "https://sandbox.plaid.com",
"client_auth": {},
"client_id": "<string>",
"client_secret": "<string>",
"webhook_url": "https://your-server.yourdomain.com/hooks"
}
}
'{
"integration": {
"name": "Plaid Prod",
"resource": "transaction",
"type": "<string>",
"base_url": "https://sandbox.plaid.com",
"client_id": "<string>",
"client_secret": "<string>",
"heron_id": "<string>",
"webhook_url": "https://your-server.yourdomain.com/hooks"
}
}Create an integration e.g. with Plaid
curl --request POST \
--url https://app.herondata.io/api/integrations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"integration": {
"name": "Plaid Prod",
"resource": "transaction",
"type": "<string>",
"base_url": "https://sandbox.plaid.com",
"client_auth": {},
"client_id": "<string>",
"client_secret": "<string>",
"webhook_url": "https://your-server.yourdomain.com/hooks"
}
}
'{
"integration": {
"name": "Plaid Prod",
"resource": "transaction",
"type": "<string>",
"base_url": "https://sandbox.plaid.com",
"client_id": "<string>",
"client_secret": "<string>",
"heron_id": "<string>",
"webhook_url": "https://your-server.yourdomain.com/hooks"
}
}Show child attributes
A name for your integration
"Plaid Prod"
For integrations with multiple available resources, the specific resource
transaction, assets_report, end_user_application, invoice_factoring_processing, end_user_files, funder_decision The integration type, a specific provider
Base URL of the API integration. For Google Drive, use root_dir_path in client_auth instead.
"https://sandbox.plaid.com"
Client ID for API access (this is encrypted in transit and at-rest with a custom key). Required for Plaid integration
Client Secret for API access (this is encrypted in transit and at-rest with a custom key). Required for Plaid integration
URL provided by you to which we'll forward all webhooks (optional)
"https://your-server.yourdomain.com/hooks"
Created
Show child attributes
A name for your integration
"Plaid Prod"
For integrations with multiple available resources, the specific resource
transaction, assets_report, end_user_application, invoice_factoring_processing, end_user_files, funder_decision The integration type, a specific provider
Base URL of the API integration. For Google Drive, use root_dir_path in client_auth instead.
"https://sandbox.plaid.com"
Client ID for API access (this is encrypted in transit and at-rest with a custom key). Required for Plaid integration
Client Secret for API access (this is encrypted in transit and at-rest with a custom key). Required for Plaid integration
URL provided by you to which we'll forward all webhooks (optional)
"https://your-server.yourdomain.com/hooks"
Was this page helpful?