Help center
Browse help topics

Partner API endpoints

Every /partner/v1 endpoint a platform can call to run accounts, read summaries, report changes, read usage and manage its webhook.

For platformsUpdated Published by LegitGeo

Accounts

GET /partner/v1/whoami returns the partner, mode and key id. POST /partner/v1/accounts creates an account (201 new, 200 existing). GET /partner/v1/accounts lists with externalId, status, limit (1 to 100, default 25) and startingAfter. GET, PATCH and DELETE /partner/v1/accounts/{id} read, update (business, status of active or paused) and delete.

PATCH changes only the fields you send. A null name, city or category counts as not sent. A refused change names the field in error.param. Pausing stops weekly tracking and map scans until you set it back to active. A delete puts the account in a terminal deleting state, then drains its stored results; an interrupted delete can be retried.

Results

GET /partner/v1/accounts/{id}/summary is what the card shows: visibility by assistant, the question that names the business, rivals named, the sites cited, a weekly trend, a storefront check, local ranking if available, reviews and ranked fixes. A summary can be ready, partial or pending, and sample data carries sample: true.

POST /partner/v1/accounts/{id}/changes reports a change you made (title, and optionally kind, effectiveAt, platforms, urls, ref); a repeat of the same ref returns the same change. GET .../changes lists up to 50, newest first. A change finishes as an observational answer window, not a causal verdict.

POST /partner/v1/accounts/{id}/login_links returns a one-time hosted report link that expires in 5 minutes. Mint it on click and redirect at once; do not email it.

Usage and webhook

GET /partner/v1/usage?month=YYYY-MM returns active accounts and the month’s amount.

GET /partner/v1/usage/accounts?month=YYYY-MM&limit=&cursor= returns what each company used in one UTC month, newest account first, for the accounts in the key’s mode. limit is 1 to 100 (default 50). Each account has views (summary, report and total), checks, answers, engineCalls, questions, otherUsage (diagnoses, toolRuns, crawlPages, reviewDrafts), active, activeReason, activeSince and lastActivityAt. totals covers all your accounts in that mode and month, not only the page. When nextCursor is not null, send it as cursor for the next page. A bad month, limit or cursor is a 400. Views are counted from 12 November 2026, and nothing here changes what is billed. The console shows the same numbers on its Usage tab.

GET /partner/v1/webhook and PUT /partner/v1/webhook read and set the endpoint and event filter for the key’s mode; POST .../webhook/rotate_secret, POST .../webhook/test and GET .../webhook/deliveries rotate the secret, send a ping and list deliveries. See Partner webhook events.

Note

Outcome ingestion and the pooled lift library are held while causal lift is unavailable, so they are not documented here. The OpenAPI file in the repository lists the current routes.

Was this helpful?