Legacy (v1)
The legacy v1 accounts lookup. Use the v2 endpoints for new integrations.
Legacy endpoint
GET /v1/accounts is maintained for backwards compatibility and its response shape is frozen — it will not change. Use the v2 endpoints for new integrations.
The one thing this endpoint still does that v2 doesn't is look up an account by external identifier — domain, name, or tracking ID — rather than by internal Accoil ID. If that's what you need, this is the right endpoint.
It also predates the current response conventions: it returns _expansions inside the account object rather than alongside it at the response level. The v2 endpoints put it at the response level.
Endpoints
| Endpoint | Description |
|---|---|
| GET /v1/accounts | Look up a customer account by external identifier |