curl --request PUT \
--url https://app.herondata.io/api/integrations/{heron_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"integration": {
"base_url": "https://sandbox.plaid.com",
"client_auth": {},
"client_id": "<string>",
"client_secret": "<string>",
"name": "Plaid Prod",
"resource": "transaction",
"type": "<string>",
"webhook_url": "https://your-server.yourdomain.com/hooks"
}
}'
{
"integration": {
"base_url": "https://sandbox.plaid.com",
"client_id": "<string>",
"client_secret": "<string>",
"heron_id": "<string>",
"name": "Plaid Prod",
"resource": "transaction",
"type": "<string>",
"webhook_url": "https://your-server.yourdomain.com/hooks"
}
}
Update an Integration
curl --request PUT \
--url https://app.herondata.io/api/integrations/{heron_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"integration": {
"base_url": "https://sandbox.plaid.com",
"client_auth": {},
"client_id": "<string>",
"client_secret": "<string>",
"name": "Plaid Prod",
"resource": "transaction",
"type": "<string>",
"webhook_url": "https://your-server.yourdomain.com/hooks"
}
}'
{
"integration": {
"base_url": "https://sandbox.plaid.com",
"client_id": "<string>",
"client_secret": "<string>",
"heron_id": "<string>",
"name": "Plaid Prod",
"resource": "transaction",
"type": "<string>",
"webhook_url": "https://your-server.yourdomain.com/hooks"
}
}
Integration
The body is of type object
.
OK
The response is of type object
.
Was this page helpful?