Create EndUser
curl --request POST \
--url https://app.herondata.io/api/end_users \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'{
"end_user": {
"end_user_id": "d398d4a7-192e-475d-8973-336ebaa6b2c4",
"confidence": 0.42,
"created": "2026-05-15T19:44:51.427900",
"criteria": [
{
"context": "higher_is_better",
"currency": "<string>",
"date_range": "last_180_days",
"description": "The number of unique transactions with a timestamp",
"group": "data_quality",
"label": "unique_transactions",
"status": "not_available",
"unit": "n",
"value": 42.42
}
],
"data_sources": [
{
"type": "pdf",
"status": "new"
}
],
"heron_id": "eus_JP4PBgWSKWoFJtWhHJt3PB",
"is_portfolio": true,
"last_processed_at": "2026-06-26T19:44:51.428208",
"last_updated": "2026-06-26T19:44:51.427939",
"meta": {},
"name": "Company Name Inc.",
"profit_and_loss_layout": null,
"status": "ready"
}
}EndUsers
Create EndUser
Create a new end user. If transactions have previously been sent for this end_user_id, use PUT end_users to update instead.
POST
/
api
/
end_users
Create EndUser
curl --request POST \
--url https://app.herondata.io/api/end_users \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'{
"end_user": {
"end_user_id": "d398d4a7-192e-475d-8973-336ebaa6b2c4",
"confidence": 0.42,
"created": "2026-05-15T19:44:51.427900",
"criteria": [
{
"context": "higher_is_better",
"currency": "<string>",
"date_range": "last_180_days",
"description": "The number of unique transactions with a timestamp",
"group": "data_quality",
"label": "unique_transactions",
"status": "not_available",
"unit": "n",
"value": 42.42
}
],
"data_sources": [
{
"type": "pdf",
"status": "new"
}
],
"heron_id": "eus_JP4PBgWSKWoFJtWhHJt3PB",
"is_portfolio": true,
"last_processed_at": "2026-06-26T19:44:51.428208",
"last_updated": "2026-06-26T19:44:51.427939",
"meta": {},
"name": "Company Name Inc.",
"profit_and_loss_layout": null,
"status": "ready"
}
}Was this page helpful?
⌘I