ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Architecture
  2. ION Architecture V3
  3. V3 Structural Design
  4. ION V3 Platform Views
  5. Internal API
  6. Internal API consumer guide

Internal API consumer guide

security
architecturev3

Internal API consumer guide

This guide is for Ontinue teams and workloads outside ION engineering that need read-only access to selected ION customer configuration and consent-validation data. The Internal API is restricted to approved Ontinue consumers and is not a public contract. It is exposed through Azure Front Door, authenticated with Microsoft Entra ID, and authorized with application roles.

Use a managed identity whenever the caller runs in Azure. Do not put access tokens, client secrets, or credentials in source code, configuration files, logs, tickets, or command history.

As a consumer, call Front Door only. APIM validates the caller token and roles, then obtains its own managed-identity token for backend operations. Do not call APIM or the backend directly.

Environments

Use the Front Door base URL and Entra application for the same environment. The client ID is the token audience used in api://<client-id>/.default.

EnvironmentCodeFront Door base URLEntra applicationClient ID
Alphaapahttps://api.internal.alpha-ion.devazsp-ontinue-rome-idm-ion-internal-api-apa-0145aacb32-7844-4894-9986-d5e78886a8da
Betabtahttps://api.internal.beta-ion.devazsp-ontinue-rome-idm-ion-internal-api-bta-01470448ab-4f56-46f3-86d5-1d08f62a6048
Gammagmahttps://api.internal.gamma-ion.devazsp-ontinue-rome-idm-ion-internal-api-gma-01533c71b6-179d-4dd7-bdf5-20c1ef540e25
Productionprdhttps://api.internal.ion.ontinue.comazsp-ontinue-rome-idm-ion-internal-api-prd-0197f30357-df31-4707-b642-642983da854b

Append the operation path directly to the base URL, for example:

https://api.internal.alpha-ion.dev/v1/customers

The Front Door route adds APIM’s internal base path. Never add /intapi-ext to a consumer URL. Only /v1/* is routed for this service.

Access prerequisites

Before requesting access:

  • Choose the environment and operation needed. Validate in Alpha or another approved non-production environment before requesting production access.
  • Create or identify the workload’s managed identity. Prefer a user-assigned identity when its lifecycle must be independent from the compute resource.
  • Record the managed identity’s display name, client ID, object/principal ID, owning team, Azure resource, business use case, required role, target environment, and expected request rate.
  • Ensure the workload can reach the environment’s Front Door hostname over HTTPS and can obtain managed-identity tokens from its Azure hosting service.
  • Obtain data-owner approval for access to customer configuration. Request only the least-privileged role needed.

Application roles are assigned to the calling identity on the target environment’s Internal API enterprise application. The resulting role appears in the access token’s roles claim. Role checks use any-of semantics when an operation lists more than one accepted role.

RoleIntended access
Ion.Health.ReadAuthenticated Internal API liveness check
Ion.Internal.Customers.ReadRead one customer’s configuration
Ion.Internal.Customers.Read.AllList all customers and read individual customer configuration

Send the access request to the Internal API owners, the Architects team, and include all prerequisite details above. Access is environment-specific; a grant in Alpha does not grant Production access.

Operations

All paths are relative to the environment’s Front Door base URL.

MethodPathChecked-in runtime role requirementPurposeSuccess
HEAD/v1/healthcheck/livenessIon.Health.ReadAuthenticated synthetic gateway check200, no body
GET/v1/customersIon.Internal.Customers.Read.AllList customer base configurations200, JSON:API collection
GET/v1/customers/{customer-short}Ion.Internal.Customers.Read or Ion.Internal.Customers.Read.AllGet one customer by company_short200, JSON:API resource
GET/v1/customers/{customer-short}/ConsentValidationIon.Internal.Customers.Read or Ion.Internal.Customers.Read.AllGet the latest Entra application consent-validation status200, JSON:API resource

Consent-operation authorization mismatch: the OpenAPI/reference declares Ion.Platform.CustomerConfigurationData.Read and Ion.Platform.CustomerConfigurationData.ReadWrite, but the checked-in Terraform operation policy enforces Ion.Internal.Customers.Read and Ion.Internal.Customers.Read.All. Consumers must confirm the role to request with the Internal API owners until the contract and effective deployed policy are reconciled. Runtime enforcement follows the effective APIM policy.

{customer-short} is the customer’s short name, such as ontinuedev. The authoritative OpenAPI source defines operation contracts and schemas. The deployable bundled contract is at ion-internal-api/api/specs/openapi.yaml.

Implementation flow

1

Request the application role

Owner: Consumer team and Architects team

Provide the target environment, managed identity display name, client ID, object/principal ID, Azure resource, owning team, business justification, operation, least-privileged role, and expected traffic. For consent validation, call out the documented/deployed role mismatch and obtain explicit confirmation of the role that will be granted and tested.

Wait for the role assignment to the target environment’s Internal API enterprise application before testing. Entra role-assignment propagation can take time.

2

Configure the managed identity

Owner: Consumer team

Enable the selected system-assigned or user-assigned managed identity on the Azure workload. Grant the workload permission to use that identity where the hosting service requires it. Store non-secret values such as the Front Door URL, API client ID, and user-assigned identity client ID in environment-specific configuration.

Do not create a client secret when managed identity is available. Never persist or log the access token.

3

Acquire an environment-specific token

Owner: Consumer team

Request api://<client-id>/.default, using the client ID from the environment table. The .default scope asks Entra to include application roles already assigned to the managed identity; roles are not selected at token-request time. Cache tokens in memory and let the identity SDK refresh them before expiry.

Raw Azure managed-identity HTTP endpoints use the equivalent resource=api://<client-id> form rather than the SDK’s .default scope form.

4

Call Front Door only

Owner: Consumer team

Send the token as Authorization: Bearer <token> to the exact Front Door base URL plus the documented /v1/... path. Use HTTPS. Do not add /intapi-ext, call an azure-api.net hostname, or call the Doppio/backend hostname directly.

Set Accept: application/json for GET requests. Treat the liveness operation as HEAD: inspect its status and do not expect a response body.

5

Handle responses and rate limits

Owner: Consumer team

Parse successful GET bodies as JSON:API. Handle 401 by obtaining a token for the correct environment and audience; handle 403 as an authorization failure even if its body is empty. Apply bounded exponential backoff with jitter to 429 and transient 5xx responses, respecting Retry-After when supplied.

Read X-RateLimit-IonInternalApi-Remaining-User for the current remaining allowance. Do not depend on undocumented error bodies or assume that every failure is JSON.

6

Validate before production

Owner: Consumer team and service owner

In a non-production environment, verify the expected roles, aud, oid, and expiry claims without logging the token. Exercise each required operation and negative cases for missing role and wrong audience. Confirm JSON:API parsing, timeouts, retry limits, telemetry redaction, and behavior under throttling.

Before production, obtain the production-specific role assignment, update both the Front Door URL and client ID together, and complete the owning team’s operational-readiness and data-access review.

cURL with managed identity

These examples target Alpha. Change BASE_URL and API_CLIENT_ID together for another environment. They keep the token in a shell variable for the process; they do not print or persist it.

Azure VM or VM scale set

The Instance Metadata Service (IMDS) accepts resource, which is the raw HTTP equivalent of requesting the SDK scope api://<client-id>/.default.

BASE_URL="https://api.internal.alpha-ion.dev"
API_CLIENT_ID="45aacb32-7844-4894-9986-d5e78886a8da"
RESOURCE="api://${API_CLIENT_ID}"

ACCESS_TOKEN="$(curl --fail --silent --show-error \
  --header "Metadata: true" \
  "http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=${RESOURCE}" \
  | jq --raw-output '.access_token')"

curl --fail-with-body --silent --show-error \
  --header "Authorization: Bearer ${ACCESS_TOKEN}" \
  --header "Accept: application/json" \
  "${BASE_URL}/v1/customers/ontinuedev"

For a user-assigned identity, add &client_id=<managed-identity-client-id> to the IMDS token URL. The placeholder is the caller identity’s client ID, not the Internal API client ID.

App Service, Functions, or Container Apps identity endpoint

BASE_URL="https://api.internal.alpha-ion.dev"
API_CLIENT_ID="45aacb32-7844-4894-9986-d5e78886a8da"

ACCESS_TOKEN="$(curl --fail --silent --show-error \
  --header "X-IDENTITY-HEADER: ${IDENTITY_HEADER}" \
  "${IDENTITY_ENDPOINT}?api-version=2019-08-01&resource=api://${API_CLIENT_ID}" \
  | jq --raw-output '.access_token')"

curl --silent --show-error --include --request HEAD \
  --header "Authorization: Bearer ${ACCESS_TOKEN}" \
  "${BASE_URL}/v1/healthcheck/liveness"

The platform identity endpoint and its header are runtime-provided values. Do not copy them into source control or logs.

Python async example

Install azure-identity and aiohttp through the workload’s normal locked dependency process. This example uses a system-assigned managed identity; pass its client ID to ManagedIdentityCredential for a user-assigned identity.

import asyncio

import aiohttp
from azure.identity.aio import ManagedIdentityCredential

BASE_URL = "https://api.internal.alpha-ion.dev"
API_CLIENT_ID = "45aacb32-7844-4894-9986-d5e78886a8da"
SCOPE = f"api://{API_CLIENT_ID}/.default"


async def get_customer(customer_short: str) -> dict:
    credential = ManagedIdentityCredential()
    timeout = aiohttp.ClientTimeout(total=15)

    try:
        token = await credential.get_token(SCOPE)
        headers = {
            "Authorization": f"Bearer {token.token}",
            "Accept": "application/json",
        }
        url = f"{BASE_URL}/v1/customers/{customer_short}"

        async with aiohttp.ClientSession(timeout=timeout) as session:
            async with session.get(url, headers=headers) as response:
                remaining = response.headers.get(
                    "X-RateLimit-IonInternalApi-Remaining-User"
                )
                if response.status == 403:
                    raise PermissionError(
                        "Internal API denied the assigned application role"
                    )
                response.raise_for_status()
                print("remaining allowance:", remaining)
                return await response.json()
    finally:
        await credential.close()


async def main() -> None:
    customer = await get_customer("ontinuedev")
    print(customer["data"]["attributes"]["company_short"])


if __name__ == "__main__":
    asyncio.run(main())

For production code, reuse the credential and HTTP session, bound retries and concurrency, add jittered backoff for 429/transient 5xx, and redact the Authorization header from telemetry. Do not print the token or full customer payloads.

JSON:API responses

Successful GET responses use a JSON:API envelope. A single-resource response has an object in data:

{
  "jsonapi": { "version": "1.0" },
  "links": {
    "self": "https://api.internal.alpha-ion.dev/v1/customers/ontinuedev"
  },
  "meta": {},
  "data": {
    "type": "IonCustomers",
    "id": "ontinuedev",
    "attributes": {
      "company_name": "Ontinue Dev",
      "company_short": "ontinuedev",
      "platform": "ION",
      "customer": {
        "tenant_id": "47a70592-4ded-4612-8406-caa427805a47",
        "managing_platform": "ION"
      },
      "consented_ion_applications": [
        "azsp-ontinue-ion-access-write-all-prd-01"
      ]
    }
  }
}

A collection has an array in data:

{
  "jsonapi": { "version": "1.0" },
  "meta": {},
  "data": [
    {
      "type": "IonCustomers",
      "id": "ontinuedev",
      "attributes": {
        "company_name": "Ontinue Dev",
        "company_short": "ontinuedev",
        "platform": "ION"
      }
    }
  ]
}

Treat fields marked optional in OpenAPI as optional in client models. Do not infer authorization or customer scope from fields in the response.

Runtime behavior and limits

  • Front Door is the only consumer route. Call the documented Front Door hostname and /v1/* path; never expose or append APIM’s /intapi-ext path.
  • Liveness is synthetic and authenticated. HEAD /v1/healthcheck/liveness validates the gateway authentication and Ion.Health.Read authorization path, then APIM returns 200. It does not call Doppio and is not evidence of Doppio or downstream dependency health.
  • A 403 can have an empty body. The deployed role-rejection policy returns the status directly. Branch on status code, not on a JSON error message.
  • The exact remaining header is X-RateLimit-IonInternalApi-Remaining-User.
  • The limit is 50 successful calls per 60 seconds per oid. The deployed counter increments for 2xx and 3xx responses. Tokens without an oid enter the shared fallback bucket (none), so callers must not depend on a missing-oid token for isolation or capacity.
  • 404 is not an explicit operation response in the OpenAPI contracts. A gateway or backend may still return it at runtime. Handle it generically, but do not build contract behavior around a documented 404 payload.
  • Back off generically. Use bounded exponential backoff with jitter for 429 and transient 5xx, and honor Retry-After when present. Do not assume that the rate-limit window or every transient response provides that header.

Troubleshooting

SymptomLikely causeAction
DNS, TLS, or connection failureWrong hostname, blocked egress, or unsupported direct endpointUse the exact environment Front Door URL over HTTPS and verify workload egress/DNS. Do not use APIM or Doppio URLs.
401 UnauthorizedMissing/expired token or wrong environment audienceAcquire a fresh token for api://<environment-client-id>/.default; update base URL and client ID together.
403 Forbidden, possibly with no bodyRequired app role is absent, assignment has not propagated, or the consent-operation mismatch appliesInspect token claims safely for aud, roles, oid, and expiry. Confirm the deployed role and assignment with the owners. Never paste the token into a ticket.
404 Not FoundWrong path/casing or unknown customer short nameCompare the path with OpenAPI, including ConsentValidation casing, and confirm company_short. Treat the response shape as unspecified.
429 Too Many RequestsThe caller’s oid bucket reached 50 successful calls in 60 seconds, or callers share the fallback bucketReduce concurrency, cache appropriate reads, apply jittered backoff, and verify the token has an oid.
5xx or timeoutTransient gateway/backend failureRetry only safe reads with bounded backoff and a timeout. Escalate persistent failures with environment, UTC time, operation, status, and correlation headers—but no token or sensitive payload.
Liveness is 200 but customer reads failLiveness does not call DoppioTest the required data operation; investigate its authorization, backend, and dependency path separately.
Remaining-rate header is absentThe request failed before policy completion or a response path omitted itContinue to enforce client-side limits and backoff; do not treat the header as guaranteed on every failure.

Support and ownership

The Architects team owns the Internal API contract and access coordination. The OpenAPI contact address is support@ontinue.com.

For an access request, provide the prerequisite identity and use-case details. For an incident, provide the environment, Front Door hostname, UTC timestamp, HTTP method and path, status code, sanitized correlation/trace headers, and whether the issue is repeatable. Never include bearer tokens, managed-identity endpoint headers, secrets, or customer-sensitive response bodies.

Related design pages:

  • Internal API overview
  • Internal API architecture
  • Identity and access
  • Implementation
  • ION V3 platform views
  • User interaction and operational data
  • SOAR Integration
  • ION V3 architecture overview

On this page

  • Environments
  • Access prerequisites
  • Operations
  • Implementation flow
  • cURL with managed identity
  • Azure VM or VM scale set
  • App Service, Functions, or Container Apps identity endpoint
  • Python async example
  • JSON:API responses
  • Runtime behavior and limits
  • Troubleshooting
  • Support and ownership
PreviousInternal API architecture
NextInternal API identity and access
Edit on GitHubSecurity