Skip to content
Last updated

API Overview

One Platform exposes the Organizations API for partners and system integrators that need to integrate with organization-scoped platform capabilities.

The API is documented through the OpenAPI specification linked below.

APIOpenAPI fileAudience
Organizations APIapis/oas/organizations.jsonPartners and system integrators working on behalf of a One Platform organization.

API Scope

The Organizations API is scoped by organization.

Most endpoints follow this route pattern:

/v1/organizations/{id}/<resource>

The {id} path parameter identifies the One Platform organization context for the request. The access token used by the integration must be allowed to operate on that organization.

Main Capabilities

The API currently covers organization-scoped operations for:

AreaExamples
Business relationsRetrieve business relations and related consumer paths.
ConsumersRetrieve consumers connected to an organization and inspect consumer details.
ContractsCreate, retrieve, update, and manage organization contracts.
Contract itemsCreate and manage service lines connected to a contract.
Service activationRetrieve activation group information and perform activation-related actions.
ConsumptionsRetrieve latest and aggregated consumptions for consumers or business relations.
Product metricsRetrieve product metrics for organization-related consumers.

Authentication

API calls use Bearer tokens issued by MyNamirial through OAuth2 Client Credentials.

For the authentication flow and token request examples, see Authentication.

Base URL

The One Platform API base URL depends on the target environment and is provided during the integration setup.

Samples in this documentation use:

ONE_PLATFORM_BASE_URL="https://<one-platform-api-host>"

Use the value provided for the environment you are integrating with.

Where to Go Next