Skip to main content

Guide

Authentication, paging, filtering, errors and limits: the conventions every operation of the StrategyOverview External API follows.

Overview

The StrategyOverview External API gives you REST access to your StrategyOverview data. The OpenAPI document is the machine contract; these guides are its human companion.

Base URLs​

RegionBase URL
UShttps://api.us.strategyoverview.com
EUhttps://api.eu.strategyoverview.com

The other pages write this base URL as <gateway>.

REST<gateway>/v1/...
OpenAPI document<gateway>/swagger/v1/swagger.json

Formats​

The API speaks JSON only (application/json). A body that is only a JSON Patch array is application/json-patch+json; any object body is application/json. Eight PATCH operations take a bulk wrapper object (an id list plus the operation array in patch): patchCompanies, patchTechnologyItems, patchReportTechnologyItems, patchPlanItems, patchReportPlanItems, patchPlanTemplateItems, patchInitiativeItems and patchReportInitiativeItems. Two more take a typed object: patchGroupTemplateExecutiveSummary and patchGroupTemplateNote. A write sent with the wrong Content-Type answers 415; see Errors.

Versioning​

Versioning is path-based. v1/ is the current version; breaking changes ship as v2/, never inside v1.

Contract stability​

Everything in these guides and in the OpenAPI document is frozen contract inside v1: response fields, error codes, query parameter names and operationIds. Additive changes (new optional fields, new optional query parameters, new error codes) may appear inside v1; removals and renames are breaking and require v2.

Authentication

Every request authenticates as one StrategyOverview user, and everything that follows (client scoping, role, visibility) is that user's. Send one of three credentials:

CredentialWho it is forHow to send it
API key pair (recommended for integrations)A headless integrationExchange the public key and the private key for an access token at Microsoft Entra ID's token endpoint, then send Authorization: Bearer <access_token>
Legacy API key (deprecated)Existing integrations onlyX-Api-Key: <key> on every request
Microsoft Entra ID user sign-inAn interactive client acting as a signed-in person, such as an MCP connectorAuthorization: Bearer <token> from the authorization-code flow

An administrator of your StrategyOverview account issues integration credentials on Settings → API Users, for a dedicated API user: an account that exists to hold an integration's credentials.

Send one credential per request, never both an X-Api-Key and a bearer token.

API key pair​

A key pair is an OAuth 2.0 client-credentials identity: the public key is the OAuth client_id and the private key is the client_secret. When an administrator generates a key pair, you get four values:

ValueWhat it is
Public keyThe OAuth client_id (a GUID); safe to log
Private keyThe OAuth client_secret; a secret, shown once
Token endpointMicrosoft Entra ID's v2.0 token endpoint, of the form <Entra instance>/<tenant id>/oauth2/v2.0/token. Use the exact URL shown with the key pair
Scopeapi://<api-client-id>/.default, where <api-client-id> is the External API's application id. Use the exact value shown with the key pair

The private key cannot be retrieved again; the other three values stay visible in the key pair's details. The token endpoint belongs to Microsoft Entra ID, not to StrategyOverview: you send the private key to Microsoft only, and this API only ever sees the resulting bearer token.

Get an access token​

POST https://<entra-host>/<tenant id>/oauth2/v2.0/token
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentials
&client_id=<public key>
&client_secret=<private key>
&scope=api://<api-client-id>/.default
curl -X POST "<token endpoint>" \
-H "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "grant_type=client_credentials" \
--data-urlencode "client_id=<public key>" \
--data-urlencode "client_secret=<private key>" \
--data-urlencode "scope=api://<api-client-id>/.default"

The response is standard OAuth 2.0 JSON (access_token, token_type, expires_in); a token lives about an hour. Cache it until shortly before it expires, send it on every request, and request a new one when it expires; do not request a token per API call. Every standard HTTP library has a client-credentials helper; nothing StrategyOverview-specific is needed on your side.

Then call the API with it:

Authorization: Bearer <access_token>

A freshly generated or regenerated private key can be rejected by the token endpoint for about 10 seconds while Microsoft Entra ID propagates it. Retry after a short delay instead of treating the first rejection as a wrong key.

Regenerate or revoke​

The private key expires 365 days after it is generated; an administrator can set 1 to 730 days when creating the key pair, and every regeneration issues a new 365-day key. The expiry date is shown in the Expires column of the key pairs table. After that date the token endpoint refuses the key, so regenerate it before then.

An administrator can regenerate the private key: a new private key is issued and the old one stops working. If the old private key cannot be removed, the regeneration still succeeds and the dialog showing the new private key says until when the old one keeps working; revoke the key pair and generate a new one if it must stop working at once.

An administrator can also revoke the key pair: its registration is deleted, and any token already issued for it is refused on the next request.

Legacy API key​

Header API keys are deprecated. New keys cannot be generated; keys already issued are still accepted until they are removed. Removal is planned but not yet scheduled; the notice will be published in these guides. Use an API key pair for a new integration: a key pair sends its private key only to Microsoft Entra ID and calls this API with a short-lived bearer token, while a header key is a static secret that travels with every request.

Send an existing key in the X-Api-Key header:

X-Api-Key: <key>

The API reads the key from this header only; do not put it in the query string. An empty X-Api-Key header counts as no key at all. Each key keeps the expiry set when it was created, and an administrator can revoke it at any time.

Microsoft Entra ID user sign-in​

An interactive client, such as an MCP connector, signs the person in through the browser (authorization-code flow) and sends the resulting user token:

Authorization: Bearer <token>

A user token cannot be obtained without a browser sign-in, so it is not for server-to-server integrations. An API user has no sign-in of its own; an older API user that still has a sign-in account can sign in to this API, but not to the StrategyOverview application.

Identity and data scope​

Each credential resolves to one StrategyOverview user account and its client (tenant):

  • an API key pair: the API user it was issued for;
  • a legacy API key: the user who owns the key, an API user or a regular user;
  • a user sign-in token: the person who signed in.

Your role is read from that account, so the same client scoping, the same roles and the same access areas apply whichever credential you send.

All data access is scoped to your client: you can never see or affect another client's data. Non-administrator users are also subject to per-user visibility rules, so the API behaves exactly like the StrategyOverview application does for the same user.

Who may call the API​

Every operation requires the account behind the credential to be active and to hold one of the roles Admin, Manager, Builder, Editor or Read Only. A legacy key or a user sign-in token passes whether or not the account is an API user; a key pair always belongs to an API user.

  • The two External Client roles (External Client - Editor, External Client - Read Only) and the Billing role are refused with 403 accessDenied on every credential.
  • A key pair or legacy key whose user is deactivated, or whose user's role is deactivated, is refused with 401 unauthenticated. A key pair is also refused with 401 when its user is no longer an API user.
  • A user sign-in token of a deactivated user, or of a user whose role is deactivated, is refused by the sign-in layer; see Refusals without the standard error body.

When authentication fails​

SituationHTTP statuscode
No credential; a token that fails validation; a legacy key that is unknown, revoked or expired; a key pair that was revoked or whose user is no longer an API user; a key pair or legacy key whose user or role is deactivated401unauthenticated
An active account whose role may not use the API (External Client - Editor, External Client - Read Only, Billing)403accessDenied
A valid credential whose role or permissions do not allow the operation, for example a write without the Admin or Manager role403accessDenied

These responses carry the standard error body described in Errors, even when the request is rejected before it reaches an operation. The exceptions are listed below.

A 401 issued by the API gateway rather than by the API itself may arrive without that body. Treat any 401 as "authenticate and retry", whatever its shape.

Refusals without the standard error body​

Three user sign-in refusals are answered by the sign-in layer, not by the API's error contract: your user account is deactivated, your role is deactivated, or the token was issued through another client's custom sign-in domain. Each answers 403 with a different body: an errors array holding one entry, whose code names the reason (InactiveUserAccessDenied, InactiveRoleAccessDenied or CrossClientDomainAccessDenied) and whose message explains it. The standard error body never has an errors array, so use it to tell the two apart, and treat this 403 as "this account cannot use the API; contact your administrator". See Errors.

Pagination

Every list operation accepts and returns the same paging shape.

Request parameters​

ParameterTypeDefaultNotes
pageint11-based; values below 1 are floored to 1
pageSizeint25capped at 100; values below 1 reset to the default

Response envelope​

{
"items": [ { "id": 1, "name": "..." } ],
"page": {
"page": 1,
"pageSize": 25,
"totalCount": 137,
"hasMore": true,
"nextPage": 2
},
"requestId": "7ce13c6a0f5f4e21a2d0c4f8b6c1e9aa"
}

Walking a list​

Iterate while page.hasMore is true, requesting page.nextPage each time. Every sort is total, so a paged walk never serves the same row twice and never skips one; see Sorting.

requestId correlates with server logs; include it in support requests. See Response shapes.

Sorting

List operations that support sorting take two parameters:

ParameterValues
sortBya per-resource whitelist; the operation's sortBy parameter in the OpenAPI document lists it
sortDirasc (default) or desc

An unknown sortBy value returns 400 validationFailed.

Every sort is total​

None of the sortable fields is unique (report dates, names and last-login dates all repeat), so each list breaks ties on the resource's own id, following the requested direction. Two consequences you can rely on:

  • a paged walk never serves the same row twice nor skips one;
  • a desc page sequence is the exact reverse of the asc one.

Filtering

Filter parameters are discrete and typed. The operator is part of the parameter name, so there is no filter mini-language to learn. Which filters an operation offers differs per resource; the operation's parameters in the OpenAPI document list them.

Filter patterns​

PatternExampleMeaning
…EqualsnameEquals=Acme Corpexact match
…StartsWithnameStartsWith=Acmprefix match
…EndsWithnameEndsWith=Corpsuffix match
…ContainsnameContains=corpsubstring match
idid=5single id (equality)
idsids=5&ids=9id in-list; repeat the parameter per value
{related}IdcompanyStatusId=3exact match on a lookup id
{related}IdIncompanyStatusIdIn=1&companyStatusIdIn=3lookup-id in-list; repeat the parameter per value
…After / …BeforestartDateAfter=2024-01-01 / startDateBefore=2024-12-31date bound: on/after, on/before, UTC; send both for a range
flag nameisDefault=trueexact match on a flag

How filters combine​

  • Multiple filters combine with AND.
  • A declared parameter you do not send is ignored.
  • All text matching is case-insensitive.

Unknown parameters are rejected​

A query parameter the operation does not declare (a typo, a guessed filter such as statusId, a stray search=) answers 400 validationFailed with the message Unknown query parameter '…' instead of being silently ignored. An ignored filter therefore never looks like an empty match. The same rule applies to operations that declare no query parameters at all; see Field selection.

Every list* operation lets you filter by related entity ids (foreign keys and many-to-many links), not only by the resource's own id / ids and name. The shape is {related}Id (equality) and {related}IdIn (in-list), the same pattern as companyStatusId / companyStatusIdIn.

One exemption: a list that takes only page / pageSize binds no filters, not even id / ids. A filter sent to it answers 400 validationFailed like any other unknown query parameter, and the rule above does not apply to it. Thirteen of these lists are route-scoped sub-lists, already narrowed to the one parent their path names:

  • plans and plan templates: listPlanParts, listPlanColumns, listPlanTemplateParts, listPlanTemplateColumns
  • reports: listReportParts, listReportSummariesAndNotes, listReportPlanParts, listReportPlanColumns, listReportAssessmentColumns, listReportAssessmentGrades, listReportInitiativeColumns, listReportInitiativeTags
  • group templates: listGroupTemplateParts

listInitiativeColumns and listInitiativeTags have no parent in the path; they are whole-tenant lookups and are page-only as well.

Two kinds of sub-list carry a further foreign key the route cannot express, and both do publish filters for it:

  • the item sub-lists listPlanItems, listReportPlanItems and listPlanTemplateItems publish parentId as a foreign key to another item of the same part, so all three carry id / ids and parentId / parentIdIn;
  • the plan-user listings listPlanUsers and listPlanAvailableUsers publish the row's own user id, so both carry id / ids on it.

Related entities are returned as objects carrying at least id and name (never name only), so an id from a response round-trips into these filters and into the related list* / get* operations. Read the related id straight from the response, or resolve it through the related list* operation, then filter. See Field selection.

Field selection

A list response contains only the fields you ask for; id is always included.

ParameterMeaning
view=Summarydefault preset: the resource's compact field set
view=Fullall public fields
fields=Name,StartDateexact fields to return; overrides view entirely

fields replaces the preset​

fields= does not add to a preset; it replaces it. You get exactly the fields you listed plus id, and nothing from view. fields=Description returns { id, description }, not the Summary set plus description.

Absent keys mean "no value"​

Unselected fields are omitted from the JSON, not filled with null. A selected field is also omitted when its value is null: fields=Description on an item that has no description returns { "id": 42 } alone.

An absent key therefore means "no value", never "the parameter was ignored". An unknown fields= value is rejected with 400 validationFailed, so any 200 you get back has honoured every field you named. On a list you can confirm it by looking for the key on another row; on a single-resource get* the 400 rule is the whole answer.

A related entity in a response is always an object with at least id and name, in every view. Any extra properties it carries (for example a company status's isDefault / isHideCompanies) are returned only in view=Full, which keeps default responses lean. fields= selects top-level fields; a selected related entity is still returned lean (id + name) unless you also send view=Full.

Part, column and plan item lists​

The part and column lists have exactly one public shape and declare no view parameter at all: listPlanParts, listPlanColumns, listPlanTemplateParts, listPlanTemplateColumns, listReportParts, listReportPlanParts and listReportPlanColumns. A view sent to them, view=Full included, is rejected by the unknown-parameter rule, as on every other page-only list.

The plan item lists (listPlanItems, listReportPlanItems, listPlanTemplateItems) do declare view, and there it defaults to Full. view=Summary returns the same row without description; descriptionLength is present in both, so a Summary row still says whether a description exists.

Get-by-id operations​

A get* operation that reads one resource by its id always returns the Full shape and takes route ids only. It declares no query parameters, so getCompany?view=Full is a 400 unknown query parameter, not a silent no-op.

Response shapes

Envelopes​

ResponseShape
single resource (get*, create*, update*, single patch*, closeReport)data + requestId
list (list*)items + page + requestId; see Pagination
bulk patch (for example patchCompanies, patchTechnologyItems)items + errors + requestId
failurecode + message + requestId, plus details when present; see Errors
delete*204, no body; the X-Request-Id header is the only correlation id

Every get*-by-id and every write echo (create*, update*, patch* of a single resource, closeReport) returns the resource under data:

{
"data": { "id": 42, "name": "Acme Corp" },
"requestId": "7ce13c6a0f5f4e21a2d0c4f8b6c1e9aa"
}

Correlation id​

Every response carries a correlation id. Successful bodies embed it as requestId; every response, including the ones with no body, repeats the same value in the X-Request-Id header.

requestId correlates with server logs; include it in support requests.

On an idempotent replay (Idempotent-Replayed: true) the stored body comes back byte for byte, so its requestId is the original request's while X-Request-Id is the current one. That is deliberate: it is what makes a replay identical to the response it replays. See Idempotency.

Company dates​

A company's startDate and endDate are stored and returned in UTC. When you send one, prefer an explicit Z or offset suffix (for example 2024-03-10T00:00:00Z). A value sent without an offset is interpreted as UTC; it is never shifted by the server's local time zone.

Errors

The error body​

Every failure the API itself returns carries one body shape:

FieldMeaning
codestable, machine-readable reason; one of the codes in the table below
messagehuman-readable explanation of the failure
detailsfurther errors when the request failed for more than one reason, each with its own code and message; absent when there are none
requestIdcorrelation id; include it in support requests. The X-Request-Id header carries the same value

Three user sign-in refusals (a deactivated user, a deactivated role, a token issued through another client's custom sign-in domain) are answered by the sign-in layer, not by this error contract: a 403 whose body carries an errors array instead, with one entry whose code names the reason. The body above never has an errors array; treat that 403 as "this account cannot use the API; contact your administrator". See Authentication.

A 405 never carries this body, because routing produces it before any operation runs. Neither does the 429 that the API gateway answers itself, and a 401 issued by the gateway may arrive without it. The table below describes all three.

Error codes by HTTP status​

HTTP statuscodeMeaningWhat to do
400validationFailedA parameter or input field failed validation: a bad sortBy, an invalid body, or a business-rule violation such as a duplicate name or editing an integration-synced fieldRead message (and details when present) and correct the input
401unauthenticatedNo credential, or a credential the API does not accept: a token that fails validation, a revoked key pair, an unknown, revoked or expired legacy API key, or a key pair or legacy API key whose user or role is deactivated. A 401 issued by the API gateway rather than the API may arrive without the bodyAttach a valid credential: a key pair's access token, a user sign-in token or an existing X-Api-Key. Treat any 401 as "authenticate and retry", whatever its shape. See Authentication
403accessDeniedYou are authenticated but not allowed, for example writing without the Admin or Manager role, or calling with an account whose role may not use the API (External Client - Editor, External Client - Read Only, Billing)Use an account with the required role; see Authentication
404notFoundThe resource does not exist or is not visible to you (another client's data, an unassigned group). A malformed path id (/companies/abc, an overflowing number) fails the route before any operation runs and answers the same 404 with the same bodyCheck that the id came from a list call made by the same user
405none: no bodyThe route exists, but not for that verb, for example PUT or DELETE on companies/{id}, or PATCH on companyGroups. Routing produces it before any operation runs, so there is no body and no requestId; only the X-Request-Id headerUse a verb the OpenAPI document lists for that path
409requestInProgressA request with the same Idempotency-Key is still being processedWait and retry; do not fire concurrent requests with the same key. See Idempotency
415validationFailedA write was sent with the wrong Content-Type; the message names the media typesSend a JSON Patch body as application/json-patch+json and every other body as application/json
422idempotencyKeyReusedThe Idempotency-Key was reused with a different request bodyUse a fresh key for a different operation; reuse a key only to retry the identical request. See Idempotency
429rateLimited, or none for the gateway's responseToo many requests. When the API refuses because your concurrent requests have filled their budget or the database is under load, it answers with this body, requestId included. When you exceed a gateway budget, the API gateway answers with its own body, { "statusCode": 429, "message": … }, which has no requestId. Both carry a Retry-After headerHonour Retry-After, then retry, and keep few calls in flight. See Rate limits
500internalErrorAn unexpected server-side failureRetry later; contact support with requestId
501notImplementedThe operation is published in the contract, but its implementation has not shipped yetNothing to fix on your side, and do not retry; see below

Operations that are not implemented yet​

An operation can appear in the contract, and therefore in the OpenAPI document, before its implementation ships. Calling one returns 501 with the standard error body naming the operation. Such a call never partially applies anything.

The operation starts working in place, under the same operationId and with no change on your side, on the day its implementation ships. Until then only its verb, path and operationId are contract: its request body, query filters and role gate arrive with the implementation, so it may gain required parameters on the day it goes live.

Rate limits

The API gateway enforces two budgets, both renewed every 60 seconds:

BudgetKeyed onCalls per 60 seconds
per credentialyour X-Api-Key, or your Authorization bearer token120
per source IPthe IP address the request comes from, whatever credential it carries600

Each credential has its own budget of 120 calls per 60 seconds by default. The wider per-source-IP backstop of 600 calls per 60 seconds catches floods of requests without a valid credential. A request that carries neither header counts against the per-credential budget of its source IP.

Remaining calls​

Every response carries the X-RateLimit-Remaining header with the calls left in your per-credential budget.

When you exceed a budget​

The gateway, not the API, answers 429 with its own body:

{ "statusCode": 429, "message": … }

That body has no requestId. The response carries a Retry-After header: honour it, then retry. See Errors.

Concurrent requests​

Behind the gateway, the API can also limit how many of your requests are in flight at once, per user and per client, with tighter limits for heavy operations such as the report and assessment reads. A request that finds its limit full waits for a slot, or is refused at once when too many requests are already waiting. When no slot frees in time, the API answers 429 with code rateLimited in the standard error body and a Retry-After header. That body carries a requestId, which is how you tell it from the gateway's 429 above.

While the database is under load, the limits shrink, Retry-After grows, and heavy operations may be refused at once. The limits are tuned per environment, so do not code against a number: honour Retry-After and keep few calls in flight per credential.

Idempotency

Write operations accept an optional Idempotency-Key request header, so a retried request replays the original outcome instead of acting twice. Use it if your client retries, especially if it is an MCP agent: generate a fresh UUID per logical operation and reuse the same key when you retry it.

  • Key shape: [A-Za-z0-9_-]{1,255} (a UUID is ideal). An invalid key answers 400 validationFailed.
  • Replay: a retry with the same key and the same body replays the original status and body verbatim and adds the response header Idempotent-Replayed: true; it does not execute again.
  • What is replayable: outcomes the API completed: every 2xx, and validation or business 4xx such as a duplicate name or a rejected field value. A request that fails by throwing (an unknown patch path, an id that resolves to nothing, a server fault) stores nothing: your retry executes again, carries no Idempotent-Replayed header and, the request being deterministically invalid, returns the same error live. A failed write is therefore never pinned as a success for the retention window.
  • Key reuse: the same key with a different body answers 422 idempotencyKeyReused and is not executed.
  • In flight: a second request with the same key while the first is still processing answers 409 requestInProgress.
  • Scope: keys are scoped to your client; the same key string from another client never collides.
  • Retention: stored outcomes are kept for about 24 hours; after that, a request reusing the key executes fresh.
  • Without the header: the write executes normally and nothing is stored. GET is never affected. Duplicate-name protection still applies: a duplicate create returns 400 validationFailed.
  • Bulk writes (patchCompanies): a valid bulk request returns 200 with a partial-success envelope even when some companies failed (including a per-id internalError). That 200 is a completed outcome, so it is stored and replayed on a retry with the same key; the retry does NOT re-attempt the failed companies. To retry the failures, send a new key. Per-company merges are convergent, so re-running the whole batch is safe.

On a replay, the body's requestId is the original request's while the X-Request-Id header is the current one; see Response shapes. The 409 and 422 codes are listed in Errors.