Versioning and changes
The version is in the path: /v1. Within v1, IDEALX only adds:
- new endpoints;
- new optional request fields, and new response fields;
- new values in lists of states, kinds and types (order states, activity kinds, account types…);
- new webhook events and new fields in event payloads.
A change that would break an integration (removing or renaming a field, changing its type or meaning, making an optional field required) comes as a new version, announced in the changelog ahead of time.
Build for additions
Section titled “Build for additions”- Ignore response fields you do not know.
- Handle an unknown state or kind: show it as-is, or treat it like the closest one you know. Never fail on it.
- Do not depend on the order of fields in JSON, or on the order of lists unless the endpoint says so (“newest first”).
- Treat ids as opaque strings; do not parse their prefixes into logic.
- Verify webhooks by the signature, not by the IP address they come from.
The contract
Section titled “The contract”The OpenAPI documents are generated from the API’s code and checked in; every change to them is reviewed. They are
served by each environment (/v1/openapi/public.json, /v1/openapi/firm.json) and this site is rebuilt from them,
so the reference always matches what the API accepts.