An admin endpoint that runs server-side fetchers taking credentials explicitly (bypassing the per-caller proxy) so it can validate credentials before they are saved and operate on an account the caller is not currently in. It returns contact and opportunity counts plus elapsed time for the onboarding wizard.
Also called: test connection · first sync check · found 47 contacts
- 1Admin supplies credentials, optionally with pipeline id overrides not yet saved.
- 2serverListContacts pages the contacts endpoint (cursor-paginated, capped).
- 3serverListOpportunities pages each pipeline's opportunity search.
- 4Counts are returned for the wizard to display.
ghlBackend.ts explains why a separate server-side fetcher exists at all: the browser engine proxies through a route that injects the caller's stored credentials, 'convenient but only usable for the current tenant. Migration + backfill flows need to (a) validate fresh credentials BEFORE they're saved and (b) operate on a tenant the caller isn't currently impersonating.'
- Credentials could only be tested by saving them and waiting.
- There was no way to validate a tenant's connection from an operator context.
See it on your own jobs
Twenty minutes, your numbers, no slide deck. We’ll build one of your real buildings in front of you and send you the estimate link at the end — yours to keep either way.
or keep browsing features →