curl --request POST \
--url https://app.herondata.io/api/integrations \
--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"
}
}
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": {
"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"
}
}
Created
The response is of type object
.
Was this page helpful?