If you have many custom account properties to attach all at once, you can use this API.

This API has the same endpoint as Add Account Properties. The only difference is that it takes an accounts array of objects, with account_id and properties keys. There is a max of 1000 accounts per request.

curl -X POST https://heapanalytics.com/api/add_account_properties \
  -H "Content-Type: application/json" \
  -d '{ 
    "app_id": "123456789",
    "accounts": [{
      "account_id": "Fake Account",
      "properties": {
        "is_in_good_standing": "true",
        "revenue_potential": "123456",
        "account_hq": "United Kingdom",
        "subscription": "Monthly"
      }
    }, {
      "account_id": "Other Account",
      "properties": {
        "is_in_good_standing": "false",
        "will_churn": "true",
        "account_hq": "Germany",
        "subscription": "Yearly"
      }
    }] 
  }'