Open-Gateway API V1
- production
- staging
About this API
This API provides methods to obtain the capabilities of CAMARA project in mas-stack.
The functionality it will currently have will be for AuthN and its purpose will be, given an MSISDN, scope, purpose and application, to return whether the MSISDN gives consent for the capability query to be performed for the indicated application.
Service Enabling Network Function API to verify that the provided mobile phone number is the one used in the device. It verifies that the user is using a device with the same mobile phone number as it is declared.
It also makes it possible for a Service provider to verify the number itself by returning the phone number associated to the authenticated user's access token.
In this API phone number term refers to the mobile phone number.
Introduction
Number Verification API performs real-time checks to verify the phone number of the mobile device being used to access a service provider (SP) service, where the mobile device is accessing the service provider over a mobile network (WiFi connections are out of this API scope) either by getting the comparison result or receiving the phone number of the device that it is used, so they can verify it themselves.
It uses direct mobile network connections to verify possession of a phone number in the background without requiring user interaction. There are neither OTPs (One-time passwords) received by SMS nor authenticator app downloads, so it is much simpler. It can be used at sign up, login, or transaction time to validate that a user's SIM (Subscriber Identity Module) is both actively connected to the mobile network and not spoofed or cloned.
Relevant Definitions and Concepts
- Network-Based Authentication: Authentication mechanism based on the identification of the endpoint of a network connection. Network operators know to which subscriber a network resource is assigned at a given moment, for example the mobile phone number associated to a specific mobile network connection.
API Functionality
This enables a Service Provider (SP) to verify the phone number of the mobile device being used to access their service where the mobile device is accessing the service provider over a mobile network (WiFi connections are out of this API scope). This can happen either by getting the comparison result or receiving the phone number of the device that is used, so they can verify it themselves.
Resources and Operations overview
This API currently provides two endpoints where both require a 3-legged token and authentication via mobile network (excluding for example by SMS/OTP or user/password as an authentication method):
- The first one checks if the user mobile phone number matches the phone number associated with the mobile device. It can receive either a hashed or a plain text phone number as input and it compares the received input with the authenticated user's phone number associated to the access token in order to respond true/false.
Sequence Diagram
Number Verification API uses the standard OIDC Authorization Code Flow. The following diagram will help to clarify the end-to-end process, including previous steps prior to this API call.
Note that the diagram shows just an example of a direct integration from developer's application and MNO's authserver and API, other scenarios of indirect integration via Aggregator/Channel Partner should also be considered. Specific authorization flows may apply, as defined by e.g. GSMA Open Gateway (OGW).

Authorization and authentication
The "Camara Security and Interoperability Profile" provides details on how a client requests an access token. Please refer to Identify and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the Profile.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
In the case of the Number Verification API scenario and according to the API definition, 3-legged access tokens must be used by API clients to invoke this API with dedicated scope. The API client must authenticate on behalf of a specific user to use this service. This must be done via mobile network authentication.
Further info and support
GSMA Mobile Connect Verified MSISDN specification was used as source of input for this API. For more about Mobile Connect, please see Mobile Connect website.
The SIM swap API provides a programmable interface for developers and other users (capabilities consumers) to request the last date of a SIM swap performed on the mobile line, or, to check whether a SIM swap has been performed during a past period.
Introduction
The SIM Swap API performs real-time checks on the last SIM Swap event.
The SIM Swap API is useful to prevent fraud by reducing the risk of account takeover fraud by strengthening SIM based authentication processes such as SMS One-time passwords. Fraudsters are using SIM swap techniques to intercept SMS messages and reset passwords or receive verification codes that allow them to access protected accounts.
The SIM Swap API can also be used to protect non-automated actions. For example, when a call center expert contacts a user to clarify or confirm a sensitive operation.
This API is used by an application to get information about a mobile line latest SIM swap date. It can be easily integrated and used through this secured API and allows SPs (Service Provider) to get this information an easy & secured way. The API provides management of 2 endpoints answering 2 distinct questions:
-
When did the last SIM swap occur?
-
Has a SIM swap occurred during last n hours?
Relevant terms and definitions
SIM swap:
A SIM swap is a process in which a user's mobile phone number (MSISDN) is associated with a new SIM card (IMSI). This is typically done by contacting the user's mobile service provider and requesting a new SIM card for various reasons, such as a lost or damaged SIM card or upgrading to a new phone.
SIM swap also happens during other actions like changing user's phone number, changing mobile service provider keeping user's mobile phone number or when activating a new SIM associated to the same phone number, known as multisim service. New subscription is considered as a SIM swap as well, the MSISDN which can be used by another person earlier, is associated with a SIM card it was not associated before.
API functionality
The API provides 2 operations:
-
POST retrieve-date : Provides timestamp of latest SIM swap, if any, for a given phone number. If no swap has been performed, the API will return the SIM activation date (the timestamp of the first time that the sim connected to the network) by default, unless this is not possible due to local regulations preventing the safekeeping of the information for longer than the stated period of time. If this is the case, a
nullvalue will be returned. -
POST check: Checks if SIM swap has been performed during a past period (defined in the request with 'maxAge' attribute) for a given phone number.
Authorization and authentication
The "Camara Security and Interoperability Profile" provides details on how a client requests an access token. Please refer to Identify and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the Profile.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
Identifying a phone number from the access token
This specification defines the phoneNumber field as optional in API
requests, specifically in cases where the API is accessed using a 3-legged
access token, and the phone number can be uniquely identified by the token.
This approach simplifies API usage for API consumers by relying on the
information associated with the access token used to invoke the API.
Handling of phone number information:
Optional phoneNumber field for 3-legged tokens:
- When using a 3-legged access token, the phone number associated with the
access token must be considered as the phone number for the API request.
This means that the
phoneNumberfield is not required in the request, and if included it must identify the same phone number, therefore it is recommended NOT to include it in these scenarios to simplify the API usage and avoid additional validations.
Validation mechanism:
-
The server will extract the phone number identification from the access token, if available.
-
If the API request additionally includes a
phoneNumberfield when using a 3-legged access token, the API will validate that the phone number provided matches the one associated with the access token. -
If there is a mismatch, the API will respond with a 403 - INVALID_TOKEN_CONTEXT error, indicating that the phone number information in the request does not match the token.
Error handling for unidentifiable phone number:
- If the
phoneNumberfield is not included in the request and the phone number information cannot be derived from the 3-legged access token, the server will return a 422UNIDENTIFIABLE_PHONE_NUMBERerror.
Restrictions for tokens without an associated authenticated phone
number:
- For scenarios which do not have a phone number associated to the token
during the authentication flow, e.g. 2-legged access tokens, the
phoneNumberfield MUST be provided in the API request. This ensures that the phone number is explicit and valid for each API call made with these tokens.
Further info and support
GSMA Mobile Connect Account Takeover Protection specification was used as source of input for this API. For more about Mobile Connect, please see Mobile Connect website.
(FAQs will be added in a later version of the documentation)
API for managing View OpenGateway and Capabilities catalog.
This service provides CRUD operations for capability management.
Internal API exposing the catalog of tenants provisioned in the Open Gateway domain,
optionally scoped by backend stack.
API for managing Product Orders and their per-tenant status.
This service provides CRUD operations for product order management.
The Quality-of-Service (QoS) Profiles API provides a set of predefined network performance characteristics, such as latency, throughput, and priority, identified by a unique name. These profiles allow application developers to specify the desired network behavior for their application's data traffic, ensuring optimal performance. By selecting an appropriate QoS profile, developers can request stable latency (reduced jitter) or throughput for specific data flows between client devices and application servers when used by the Quality-On-Demand APIs.
Introduction
QoS Profiles are used in conjunction with other Quality-On-Demand APIs, to offer the API consumer the capability to request for stable latency (reduced jitter) or throughput for some specified application data flows between application clients (within a user device) and Application Servers (backend services). The API consumer has a pre-defined set of Quality of Service (QoS) profiles which they could choose from depending on their latency or throughput requirements. The QoS profiles are defined by the API provider and are mapped to the connectivity characteristics of the supported networks.
API functionality
The QoS Profiles API provides the following functionality:
-
Discover all QoS profiles offered by the API provider
-
Discover the available QoS profiles for a specific device
-
Retrieve the characteristics of a specific QoS profile by name
How QoS profiles are mapped to connectivity characteristics are subject to agreements between the API provider and the API consumer. Within the CAMARA project, you can find a sample for such a mapping of QoS profiles. CAMARA QoS Profiles Mapping Table (REFERENCE DRAFT)
Authorization and authentication
The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation.
In cases where personal data is processed by the API and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
Identifying the device from the access token
The two operations defined by this API (getQosProfile and
retrieveQoSProfiles) both allow the API consumer to use a three-legged
access token to specify a target device as a query filter. When provided,
only profiles available to the specified target device will be returned.
Additionally, when a two-legged access token is used, the operation
retrieveQoSProfiles allows the API consumer to optionally specify the
target device in the request body.
Hence, for the retrieveQoSProfiles operation:
-
When invoked using a two-legged access token, the optional input device object will be used as filter if present.
-
When invoked using a three-legged access token, this optional identifier in the request body MUST NOT be provided, as the device to filter will be uniquely identified from the access token.
This approach simplifies API usage for API consumers using a three-legged access token to invoke the API by relying on the information that is associated with the access token and was identified during the authentication process.
Error handling:
- If the device can be identified from the access token and the optional
deviceobject is also included in the request, then the server will return an error with the422 UNNECESSARY_IDENTIFIERerror code. This will be the case even if the same device is identified by these two methods, as the server is unable to make this comparison.
Multi-SIM scenario handling
In multi-SIM scenarios where more than one mobile device is associated with a phone number (e.g. a smartphone with an associated smartwatch), it might not be possible to uniquely identify a single device from that phone number. When filtering QoS profiles by device in such scenarios, one of the following options should be used:
-
Use the authorisation code flow to obtain a 3-legged access token, which will automatically identify the intended device
-
Identify the intended device from a unique identifier for that device, such as its source IP address and port
-
Check with the SIM provider whether a unique "secondary" phone number is already associated with each device, and use the secondary phone number to identify the intended device if available
Additional CAMARA error responses
The list of error codes in this API specification is not exhaustive.
Therefore the API specification may not document some non-mandatory error
statuses as indicated in CAMARA API Design Guide.
Please refer to the CAMARA_common.yaml of the Commonalities Release
associated to this API version for a complete list of error responses. The
applicable Commonalities Release can be identified in the API Readiness Checklist document associated to this API version.
As a specific rule, error 501 - NOT_IMPLEMENTED can be only a possible
error response if it is explicitly documented in the API.
The Quality-On-Demand (QoD) API provides a programmable interface for developers and other users (API consumers) to request stable latency or throughput managed by networks without the necessity to have an in-depth knowledge of the underlying network complexity (e.g. the 4G/5G system in case of a mobile network).
Introduction
Industrial (IoT), VR/Gaming, live video streaming, autonomous driving and many other scenarios demand network communication quality and are sensitive to any change in transmission conditions. Being able to request a stable latency (reduced jitter) or prioritized throughput from the network can improve user experience substantially.
The QoD API offers the application developers the capability to request for stable latency (reduced jitter) or throughput for some specified application data flows between application clients (within a user device) and application servers (backend services). The developer has a pre-defined set of Quality of Service (QoS) profiles which they could choose from depending on their latency or throughput requirements.
The usage of the API is based on QoS session resources, which can be created (based on available QoS profiles), queried and deleted. The deletion of a requested session can be triggered by the API consumer or can be triggered automatically once the QoS session has reached its limit.
Relevant terms and definitions
- QOD service endpoint:
The URL pointing to the RESTful resource of the QoD API.
- Authentication:
Security access keys such as OAuth 2.0 client credentials used by client applications to invoke the QoD API.
- QoS profiles:
Latency, throughput or priority requirements of the application mapped to
relevant QoS profile values. The set of QoS Profiles that an API provider is
offering may be retrieved via the qos-profiles API (cf.
https://github.com/camaraproject/QualityOnDemand/) or will be agreed during
the onboarding with the API provider.
- Identifier for the device:
At least one identifier for the device (user equipment) out of four options: IPv4 address, IPv6 address, Phone Number, or Network Access Identifier assigned by the mobile network operator for the device. Where more than one device identifier is provided, only one identifier will be selected by the implementation and this choice indicated to the API consumer in the session details. If only a single device identifier is provided, the implementation may or may not include the device identifier in the session details.
Note: Network Access Identifier is defined for future use and will not be supported with this version of the API.
- Identifier for the application server:
IPv4 and/or IPv6 address of the application server (application backend)
- App-Flow (between the application client and application server):
The precise application data flow the developer wants to prioritize and have stable latency or throughput for. This flow is in the current API version determined by the identified device and the application server. And it can be further elaborated with details such as ports or port-ranges. Future version of the API might allow more detailed flow identification features.
- Duration:
Duration (in seconds) for which the QoS session (between application client and application server) should be created. Limits for session duration can be set by the implementation for the QoS profile. The user may request a termination before its expiration.
- Notification URL and token:
The API consumer may provide a callback URL (
sink) on which notifications about all status change events (eg. session termination) can be received from the API provider. This is an optional parameter. The notification will be sent as a CloudEvent compliant message.
If sink is included, it is RECOMMENDED for the client to provide as well
the sinkCredential property to protect the notification endpoint. In the
current version, sinkCredential.credentialType MUST be set to
ACCESSTOKEN if provided.
API functionality
The usage of the QoD API is based on QoS profile classes and parameters which define App-Flows.
Based on the API, QoS session resources can be created, queried, and deleted. Once an offered QoS profile class is requested, application users get a prioritized service with stable latency or throughput even in the case of congestion. The QoD API has the following characteristics:
-
A specified App-Flow is prioritized to ensure stable latency or throughput for that flow.
-
The prioritized App-Flow is described by providing information such as device IP address (or other device identifier) & application server IP addresses and port/port-ranges.
-
The developer specifies the duration for which they need the prioritized App-flow.
-
Stable latency or throughput is requested by selecting from the list of QoS profiles made available by the service provider (e.g. QOS_E) to map latency and throughput requirements.
-
The API consumer can optionally also specify callback URL (
sinkparam) on which notifications for the session can be sent.
Following diagram shows the interaction between different components
Authorization and authentication
The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation.
In cases where personal data is processed by the API and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
Identifying the device from the access token
This API requires the API consumer to identify a device as the subject of the API as follows:
-
When the API is invoked using a two-legged access token, the subject will be identified from the optional
deviceobject, which therefore MUST be provided. -
When a three-legged access token is used however, this optional identifier MUST NOT be provided, as the subject will be uniquely identified from the access token.
This approach simplifies API usage for API consumers using a three-legged access token to invoke the API by relying on the information that is associated with the access token and was identified during the authentication process.
Error handling:
-
If the subject cannot be identified from the access token and the optional
deviceobject is not included in the request, then the server will return an error with the422 MISSING_IDENTIFIERerror code. -
If the subject can be identified from the access token and the optional
deviceobject is also included in the request, then the server will return an error with the422 UNNECESSARY_IDENTIFIERerror code. This will be the case even if the same device is identified by these two methods, as the server is unable to make this comparison. -
If the requested
qosProfileexists but is currently not available for creating a session (e.g., its status is INACTIVE or DEPRECATED), then the server will return an error with the422 QUALITY_ON_DEMAND.QOS_PROFILE_NOT_APPLICABLEerror code.
Multi-SIM scenario handling
In multi-SIM scenarios where more than one mobile device is associated with a phone number (e.g. a smartphone with an associated smartwatch), it might not be possible to uniquely identify the device to which the enhanced QoS profile should apply from that phone number. If the phone number is used as the device identifier when creating a QoS session in a multi-SIM scenario, the API may respond with an error, apply the enhanced QoS profile to all devices in the multi-SIM group, or apply the enhanced QoS profile to a single device in the multi-SIM group which may not be the intended device.
Possible solutions in such a scenario include:
-
Using the authorisation code flow to obtain an access token, which will automatically identify the intended device
-
Identifying the intended device from a unique identifier for that device, such as its source IP address and port
-
Check with the SIM provider whether a unique "secondary" phone number is already associated with each device, and use the secondary phone number to identify the intended device if available
Additional CAMARA error responses
The list of error codes in this API specification is not exhaustive.
Therefore the API specification may not document some non-mandatory error
statuses as indicated in CAMARA API Design Guide.
Please refer to the CAMARA_common.yaml of the Commonalities Release
associated to this API version for a complete list of error responses. The
applicable Commonalities Release can be identified in the API Readiness Checklist document associated to this API version.
As a specific rule, error 501 - NOT_IMPLEMENTED can be only a possible
error response if it is explicitly documented in the API.
This API provides the API consumer with the ability to query device roaming Status
Introduction
Roaming Status
API consumer is able to verify whether a certain user device is in roaming situation (or not).
The verification of the roaming situation depends on the network's ability. Additionally to the roaming status, when the device is in roaming situation, visited country information could be returned in the response.
Possible Use-Cases
Roaming status verification could be useful in scenario such as (not exhaustive):
- For regulatory reasons, where a customer may need to be within a certain jurisdiction, or out with others, in order for transactions to be authorized
- For security / fraud reasons, to establish that a customer is located where they claim to be
- For service delivery reasons, to ensure that the customer has access to particular service, and will not incur roaming charges in accessing them
Relevant terms and definitions
-
Identifier for the mobile subscription: the phone number (i.e. MSISDN) addressing the mobile subscription. It is the only device identifier accepted by this API.
-
Roaming : Roaming status -
true, if device is in roaming situation -falseelse. -
Country : Country code and name - visited country information, provided if the device is in roaming situation.
-
LastStatusTime : This property specifies the time when the status was last updated. Its presence in the response indicates the freshness of the information, while its absence implies the information may be outdated or its freshness is uncertain.
API Functionality
The API exposes following capabilities:
Device roaming situation
The endpoint POST /retrieve allows to get roaming status and country
information (if device in roaming situation) synchronously.
Authorization and authentication
The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation.
In cases where personal data is processed by the API and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
Identifying the device from the access token
This API requires the API consumer to identify a device as the subject of the API as follows:
-
When the API is invoked using a two-legged access token, the subject will be identified from the optional
deviceobject, which therefore MUST be provided. -
When a three-legged access token is used however, this optional identifier MUST NOT be provided, as the subject will be uniquely identified from the access token.
This approach simplifies API usage for API consumers using a three-legged access token to invoke the API by relying on the information that is associated with the access token and was identified during the authentication process.
Error handling:
-
If the subject cannot be identified from the access token and the optional
deviceobject is not included in the request, then the server will return an error with the422 MISSING_IDENTIFIERerror code. -
If the subject can be identified from the access token and the optional
deviceobject is also included in the request, then the server will return an error with the422 UNNECESSARY_IDENTIFIERerror code. This will be the case even if the same device is identified by these two methods, as the server is unable to make this comparison.
Multi-SIM scenario handling
In multi-SIM scenarios where more than one mobile device is associated with a phone number (e.g. a smartphone with an associated smartwatch), it might not be possible to uniquely identify from that phone number the device for which the roaming status should be returned. In such a scenario, the API may:
-
respond with an error, or
-
return a combined roaming status for the multi-SIM group as a whole, or
-
return the roaming status for a single device in the multi-SIM group, which may not be the intended device.
Possible solutions in such a scenario include:
-
Using the authorisation code flow to obtain an access token, which will automatically identify the intended device
-
Check with the SIM provider whether a unique "secondary" phone number is already associated with each device, and use the secondary phone number to identify the intended device if available.
Further info and support
(FAQs will be added in a later version of the documentation)
Resources 11
- Consents 3 endpoints
API operation of consents.
- POST Given an MSISDN, scope, purpose, and application, return whether the MSISDN consents to the capability query for the given application.
/orgs /{org_id} /consents /validate - DELETE Revoke all consents for a given MSISDN.
/orgs /{org_id} /consents /msisdn /{msisdn} - POST Given an scope, purpose, and application (AppName and ClientName), check if the parent exists, and if exist, create a new consent.
/orgs /{org_id} /consents /create
- POST Given an MSISDN, scope, purpose, and application, return whether the MSISDN consents to the capability query for the given application.
- Number Verification 2 endpoints
API operation of Number Verification API.
- Sim Swap 2 endpoints
API operation of Sim Swap API.
- Capabilities 8 endpoints
Operations for managing CAMARA capabilities
- GET Retrieve all capabilities
/orgs /{org_id} /capabilities - POST Create a new capability
/orgs /{org_id} /capabilities - GET Retrieve a specific capability by ID
/orgs /{org_id} /capabilities /{id} - PUT Update an existing capability
/orgs /{org_id} /capabilities /{id} - DELETE Delete a capability
/orgs /{org_id} /capabilities /{id}
- GET Retrieve all capabilities
- Views 13 endpoints
Operations for managing View OpenGateway consent views
- GET Retrieve all views
/orgs /{org_id} /views - POST Create a new view
/orgs /{org_id} /views - GET Retrieve a specific view by ID
/orgs /{org_id} /views /{id} - PUT Update an existing view
/orgs /{org_id} /views /{id} - DELETE Delete a view (cascade delete translations and associations)
/orgs /{org_id} /views /{id}
- GET Retrieve all views
- TenantCatalog 1 endpoint
Operations for the Open Gateway tenant catalog
- Product Orders 4 endpoints
Operations for managing Product Orders
- Product Order Status 5 endpoints
Operations for managing per-tenant Product Order status
- POST Seed a NOT_SUPPORTED status row per existing product order for a tenant
/orgs /{org_id} /product-orders /seed-status - GET List the per-tenant status of a product order
/product-orders /{id} /status - POST Create a product order status entry for a tenant
/orgs /{org_id} /product-orders /{id} /status - PATCH Update a product order status entry for a tenant
/orgs /{org_id} /product-order-status /{status_id} - DELETE Delete a product order status entry for a tenant
/orgs /{org_id} /product-order-status /{status_id}
- POST Seed a NOT_SUPPORTED status row per existing product order for a tenant
- QoSProfiles 2 endpoints
Manage QoS Profiles
- QoD 5 endpoints
Manage QoD sessions
- POST Creates a new session
/orgs /{org_id} /quality-on-demand /sessions - GET Get QoS session information
/orgs /{org_id} /quality-on-demand /sessions /{sessionId} - DELETE Delete a QoD session
/orgs /{org_id} /quality-on-demand /sessions /{sessionId} - POST Extend the duration of an active session
/orgs /{org_id} /quality-on-demand /sessions /{sessionId} /extend - POST Get QoD session information for a device
/orgs /{org_id} /quality-on-demand /retrieve-sessions
- POST Creates a new session
- DeviceRoamingStatus 1 endpoint
Operation to get device roaming status and country information (if roaming) synchronously
Open-Gateway API V1
- production
- staging
About this API
This API provides methods to obtain the capabilities of CAMARA project in mas-stack.
The functionality it will currently have will be for AuthN and its purpose will be, given an MSISDN, scope, purpose and application, to return whether the MSISDN gives consent for the capability query to be performed for the indicated application.
Service Enabling Network Function API to verify that the provided mobile phone number is the one used in the device. It verifies that the user is using a device with the same mobile phone number as it is declared.
It also makes it possible for a Service provider to verify the number itself by returning the phone number associated to the authenticated user's access token.
In this API phone number term refers to the mobile phone number.
Introduction
Number Verification API performs real-time checks to verify the phone number of the mobile device being used to access a service provider (SP) service, where the mobile device is accessing the service provider over a mobile network (WiFi connections are out of this API scope) either by getting the comparison result or receiving the phone number of the device that it is used, so they can verify it themselves.
It uses direct mobile network connections to verify possession of a phone number in the background without requiring user interaction. There are neither OTPs (One-time passwords) received by SMS nor authenticator app downloads, so it is much simpler. It can be used at sign up, login, or transaction time to validate that a user's SIM (Subscriber Identity Module) is both actively connected to the mobile network and not spoofed or cloned.
Relevant Definitions and Concepts
- Network-Based Authentication: Authentication mechanism based on the identification of the endpoint of a network connection. Network operators know to which subscriber a network resource is assigned at a given moment, for example the mobile phone number associated to a specific mobile network connection.
API Functionality
This enables a Service Provider (SP) to verify the phone number of the mobile device being used to access their service where the mobile device is accessing the service provider over a mobile network (WiFi connections are out of this API scope). This can happen either by getting the comparison result or receiving the phone number of the device that is used, so they can verify it themselves.
Resources and Operations overview
This API currently provides two endpoints where both require a 3-legged token and authentication via mobile network (excluding for example by SMS/OTP or user/password as an authentication method):
- The first one checks if the user mobile phone number matches the phone number associated with the mobile device. It can receive either a hashed or a plain text phone number as input and it compares the received input with the authenticated user's phone number associated to the access token in order to respond true/false.
Sequence Diagram
Number Verification API uses the standard OIDC Authorization Code Flow. The following diagram will help to clarify the end-to-end process, including previous steps prior to this API call.
Note that the diagram shows just an example of a direct integration from developer's application and MNO's authserver and API, other scenarios of indirect integration via Aggregator/Channel Partner should also be considered. Specific authorization flows may apply, as defined by e.g. GSMA Open Gateway (OGW).

Authorization and authentication
The "Camara Security and Interoperability Profile" provides details on how a client requests an access token. Please refer to Identify and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the Profile.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
In the case of the Number Verification API scenario and according to the API definition, 3-legged access tokens must be used by API clients to invoke this API with dedicated scope. The API client must authenticate on behalf of a specific user to use this service. This must be done via mobile network authentication.
Further info and support
GSMA Mobile Connect Verified MSISDN specification was used as source of input for this API. For more about Mobile Connect, please see Mobile Connect website.
The SIM swap API provides a programmable interface for developers and other users (capabilities consumers) to request the last date of a SIM swap performed on the mobile line, or, to check whether a SIM swap has been performed during a past period.
Introduction
The SIM Swap API performs real-time checks on the last SIM Swap event.
The SIM Swap API is useful to prevent fraud by reducing the risk of account takeover fraud by strengthening SIM based authentication processes such as SMS One-time passwords. Fraudsters are using SIM swap techniques to intercept SMS messages and reset passwords or receive verification codes that allow them to access protected accounts.
The SIM Swap API can also be used to protect non-automated actions. For example, when a call center expert contacts a user to clarify or confirm a sensitive operation.
This API is used by an application to get information about a mobile line latest SIM swap date. It can be easily integrated and used through this secured API and allows SPs (Service Provider) to get this information an easy & secured way. The API provides management of 2 endpoints answering 2 distinct questions:
-
When did the last SIM swap occur?
-
Has a SIM swap occurred during last n hours?
Relevant terms and definitions
SIM swap:
A SIM swap is a process in which a user's mobile phone number (MSISDN) is associated with a new SIM card (IMSI). This is typically done by contacting the user's mobile service provider and requesting a new SIM card for various reasons, such as a lost or damaged SIM card or upgrading to a new phone.
SIM swap also happens during other actions like changing user's phone number, changing mobile service provider keeping user's mobile phone number or when activating a new SIM associated to the same phone number, known as multisim service. New subscription is considered as a SIM swap as well, the MSISDN which can be used by another person earlier, is associated with a SIM card it was not associated before.
API functionality
The API provides 2 operations:
-
POST retrieve-date : Provides timestamp of latest SIM swap, if any, for a given phone number. If no swap has been performed, the API will return the SIM activation date (the timestamp of the first time that the sim connected to the network) by default, unless this is not possible due to local regulations preventing the safekeeping of the information for longer than the stated period of time. If this is the case, a
nullvalue will be returned. -
POST check: Checks if SIM swap has been performed during a past period (defined in the request with 'maxAge' attribute) for a given phone number.
Authorization and authentication
The "Camara Security and Interoperability Profile" provides details on how a client requests an access token. Please refer to Identify and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the Profile.
Which specific authorization flows are to be used will be determined during onboarding process, happening between the API Client and the Telco Operator exposing the API, taking into account the declared purpose for accessing the API, while also being subject to the prevailing legal framework dictated by local legislation.
It is important to remark that in cases where personal user data is processed by the API, and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of 3-legged access tokens becomes mandatory. This measure ensures that the API remains in strict compliance with user privacy preferences and regulatory obligations, upholding the principles of transparency and user-centric data control.
Identifying a phone number from the access token
This specification defines the phoneNumber field as optional in API
requests, specifically in cases where the API is accessed using a 3-legged
access token, and the phone number can be uniquely identified by the token.
This approach simplifies API usage for API consumers by relying on the
information associated with the access token used to invoke the API.
Handling of phone number information:
Optional phoneNumber field for 3-legged tokens:
- When using a 3-legged access token, the phone number associated with the
access token must be considered as the phone number for the API request.
This means that the
phoneNumberfield is not required in the request, and if included it must identify the same phone number, therefore it is recommended NOT to include it in these scenarios to simplify the API usage and avoid additional validations.
Validation mechanism:
-
The server will extract the phone number identification from the access token, if available.
-
If the API request additionally includes a
phoneNumberfield when using a 3-legged access token, the API will validate that the phone number provided matches the one associated with the access token. -
If there is a mismatch, the API will respond with a 403 - INVALID_TOKEN_CONTEXT error, indicating that the phone number information in the request does not match the token.
Error handling for unidentifiable phone number:
- If the
phoneNumberfield is not included in the request and the phone number information cannot be derived from the 3-legged access token, the server will return a 422UNIDENTIFIABLE_PHONE_NUMBERerror.
Restrictions for tokens without an associated authenticated phone
number:
- For scenarios which do not have a phone number associated to the token
during the authentication flow, e.g. 2-legged access tokens, the
phoneNumberfield MUST be provided in the API request. This ensures that the phone number is explicit and valid for each API call made with these tokens.
Further info and support
GSMA Mobile Connect Account Takeover Protection specification was used as source of input for this API. For more about Mobile Connect, please see Mobile Connect website.
(FAQs will be added in a later version of the documentation)
API for managing View OpenGateway and Capabilities catalog.
This service provides CRUD operations for capability management.
Internal API exposing the catalog of tenants provisioned in the Open Gateway domain,
optionally scoped by backend stack.
API for managing Product Orders and their per-tenant status.
This service provides CRUD operations for product order management.
The Quality-of-Service (QoS) Profiles API provides a set of predefined network performance characteristics, such as latency, throughput, and priority, identified by a unique name. These profiles allow application developers to specify the desired network behavior for their application's data traffic, ensuring optimal performance. By selecting an appropriate QoS profile, developers can request stable latency (reduced jitter) or throughput for specific data flows between client devices and application servers when used by the Quality-On-Demand APIs.
Introduction
QoS Profiles are used in conjunction with other Quality-On-Demand APIs, to offer the API consumer the capability to request for stable latency (reduced jitter) or throughput for some specified application data flows between application clients (within a user device) and Application Servers (backend services). The API consumer has a pre-defined set of Quality of Service (QoS) profiles which they could choose from depending on their latency or throughput requirements. The QoS profiles are defined by the API provider and are mapped to the connectivity characteristics of the supported networks.
API functionality
The QoS Profiles API provides the following functionality:
-
Discover all QoS profiles offered by the API provider
-
Discover the available QoS profiles for a specific device
-
Retrieve the characteristics of a specific QoS profile by name
How QoS profiles are mapped to connectivity characteristics are subject to agreements between the API provider and the API consumer. Within the CAMARA project, you can find a sample for such a mapping of QoS profiles. CAMARA QoS Profiles Mapping Table (REFERENCE DRAFT)
Authorization and authentication
The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation.
In cases where personal data is processed by the API and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
Identifying the device from the access token
The two operations defined by this API (getQosProfile and
retrieveQoSProfiles) both allow the API consumer to use a three-legged
access token to specify a target device as a query filter. When provided,
only profiles available to the specified target device will be returned.
Additionally, when a two-legged access token is used, the operation
retrieveQoSProfiles allows the API consumer to optionally specify the
target device in the request body.
Hence, for the retrieveQoSProfiles operation:
-
When invoked using a two-legged access token, the optional input device object will be used as filter if present.
-
When invoked using a three-legged access token, this optional identifier in the request body MUST NOT be provided, as the device to filter will be uniquely identified from the access token.
This approach simplifies API usage for API consumers using a three-legged access token to invoke the API by relying on the information that is associated with the access token and was identified during the authentication process.
Error handling:
- If the device can be identified from the access token and the optional
deviceobject is also included in the request, then the server will return an error with the422 UNNECESSARY_IDENTIFIERerror code. This will be the case even if the same device is identified by these two methods, as the server is unable to make this comparison.
Multi-SIM scenario handling
In multi-SIM scenarios where more than one mobile device is associated with a phone number (e.g. a smartphone with an associated smartwatch), it might not be possible to uniquely identify a single device from that phone number. When filtering QoS profiles by device in such scenarios, one of the following options should be used:
-
Use the authorisation code flow to obtain a 3-legged access token, which will automatically identify the intended device
-
Identify the intended device from a unique identifier for that device, such as its source IP address and port
-
Check with the SIM provider whether a unique "secondary" phone number is already associated with each device, and use the secondary phone number to identify the intended device if available
Additional CAMARA error responses
The list of error codes in this API specification is not exhaustive.
Therefore the API specification may not document some non-mandatory error
statuses as indicated in CAMARA API Design Guide.
Please refer to the CAMARA_common.yaml of the Commonalities Release
associated to this API version for a complete list of error responses. The
applicable Commonalities Release can be identified in the API Readiness Checklist document associated to this API version.
As a specific rule, error 501 - NOT_IMPLEMENTED can be only a possible
error response if it is explicitly documented in the API.
The Quality-On-Demand (QoD) API provides a programmable interface for developers and other users (API consumers) to request stable latency or throughput managed by networks without the necessity to have an in-depth knowledge of the underlying network complexity (e.g. the 4G/5G system in case of a mobile network).
Introduction
Industrial (IoT), VR/Gaming, live video streaming, autonomous driving and many other scenarios demand network communication quality and are sensitive to any change in transmission conditions. Being able to request a stable latency (reduced jitter) or prioritized throughput from the network can improve user experience substantially.
The QoD API offers the application developers the capability to request for stable latency (reduced jitter) or throughput for some specified application data flows between application clients (within a user device) and application servers (backend services). The developer has a pre-defined set of Quality of Service (QoS) profiles which they could choose from depending on their latency or throughput requirements.
The usage of the API is based on QoS session resources, which can be created (based on available QoS profiles), queried and deleted. The deletion of a requested session can be triggered by the API consumer or can be triggered automatically once the QoS session has reached its limit.
Relevant terms and definitions
- QOD service endpoint:
The URL pointing to the RESTful resource of the QoD API.
- Authentication:
Security access keys such as OAuth 2.0 client credentials used by client applications to invoke the QoD API.
- QoS profiles:
Latency, throughput or priority requirements of the application mapped to
relevant QoS profile values. The set of QoS Profiles that an API provider is
offering may be retrieved via the qos-profiles API (cf.
https://github.com/camaraproject/QualityOnDemand/) or will be agreed during
the onboarding with the API provider.
- Identifier for the device:
At least one identifier for the device (user equipment) out of four options: IPv4 address, IPv6 address, Phone Number, or Network Access Identifier assigned by the mobile network operator for the device. Where more than one device identifier is provided, only one identifier will be selected by the implementation and this choice indicated to the API consumer in the session details. If only a single device identifier is provided, the implementation may or may not include the device identifier in the session details.
Note: Network Access Identifier is defined for future use and will not be supported with this version of the API.
- Identifier for the application server:
IPv4 and/or IPv6 address of the application server (application backend)
- App-Flow (between the application client and application server):
The precise application data flow the developer wants to prioritize and have stable latency or throughput for. This flow is in the current API version determined by the identified device and the application server. And it can be further elaborated with details such as ports or port-ranges. Future version of the API might allow more detailed flow identification features.
- Duration:
Duration (in seconds) for which the QoS session (between application client and application server) should be created. Limits for session duration can be set by the implementation for the QoS profile. The user may request a termination before its expiration.
- Notification URL and token:
The API consumer may provide a callback URL (
sink) on which notifications about all status change events (eg. session termination) can be received from the API provider. This is an optional parameter. The notification will be sent as a CloudEvent compliant message.
If sink is included, it is RECOMMENDED for the client to provide as well
the sinkCredential property to protect the notification endpoint. In the
current version, sinkCredential.credentialType MUST be set to
ACCESSTOKEN if provided.
API functionality
The usage of the QoD API is based on QoS profile classes and parameters which define App-Flows.
Based on the API, QoS session resources can be created, queried, and deleted. Once an offered QoS profile class is requested, application users get a prioritized service with stable latency or throughput even in the case of congestion. The QoD API has the following characteristics:
-
A specified App-Flow is prioritized to ensure stable latency or throughput for that flow.
-
The prioritized App-Flow is described by providing information such as device IP address (or other device identifier) & application server IP addresses and port/port-ranges.
-
The developer specifies the duration for which they need the prioritized App-flow.
-
Stable latency or throughput is requested by selecting from the list of QoS profiles made available by the service provider (e.g. QOS_E) to map latency and throughput requirements.
-
The API consumer can optionally also specify callback URL (
sinkparam) on which notifications for the session can be sent.
Following diagram shows the interaction between different components
Authorization and authentication
The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation.
In cases where personal data is processed by the API and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
Identifying the device from the access token
This API requires the API consumer to identify a device as the subject of the API as follows:
-
When the API is invoked using a two-legged access token, the subject will be identified from the optional
deviceobject, which therefore MUST be provided. -
When a three-legged access token is used however, this optional identifier MUST NOT be provided, as the subject will be uniquely identified from the access token.
This approach simplifies API usage for API consumers using a three-legged access token to invoke the API by relying on the information that is associated with the access token and was identified during the authentication process.
Error handling:
-
If the subject cannot be identified from the access token and the optional
deviceobject is not included in the request, then the server will return an error with the422 MISSING_IDENTIFIERerror code. -
If the subject can be identified from the access token and the optional
deviceobject is also included in the request, then the server will return an error with the422 UNNECESSARY_IDENTIFIERerror code. This will be the case even if the same device is identified by these two methods, as the server is unable to make this comparison. -
If the requested
qosProfileexists but is currently not available for creating a session (e.g., its status is INACTIVE or DEPRECATED), then the server will return an error with the422 QUALITY_ON_DEMAND.QOS_PROFILE_NOT_APPLICABLEerror code.
Multi-SIM scenario handling
In multi-SIM scenarios where more than one mobile device is associated with a phone number (e.g. a smartphone with an associated smartwatch), it might not be possible to uniquely identify the device to which the enhanced QoS profile should apply from that phone number. If the phone number is used as the device identifier when creating a QoS session in a multi-SIM scenario, the API may respond with an error, apply the enhanced QoS profile to all devices in the multi-SIM group, or apply the enhanced QoS profile to a single device in the multi-SIM group which may not be the intended device.
Possible solutions in such a scenario include:
-
Using the authorisation code flow to obtain an access token, which will automatically identify the intended device
-
Identifying the intended device from a unique identifier for that device, such as its source IP address and port
-
Check with the SIM provider whether a unique "secondary" phone number is already associated with each device, and use the secondary phone number to identify the intended device if available
Additional CAMARA error responses
The list of error codes in this API specification is not exhaustive.
Therefore the API specification may not document some non-mandatory error
statuses as indicated in CAMARA API Design Guide.
Please refer to the CAMARA_common.yaml of the Commonalities Release
associated to this API version for a complete list of error responses. The
applicable Commonalities Release can be identified in the API Readiness Checklist document associated to this API version.
As a specific rule, error 501 - NOT_IMPLEMENTED can be only a possible
error response if it is explicitly documented in the API.
This API provides the API consumer with the ability to query device roaming Status
Introduction
Roaming Status
API consumer is able to verify whether a certain user device is in roaming situation (or not).
The verification of the roaming situation depends on the network's ability. Additionally to the roaming status, when the device is in roaming situation, visited country information could be returned in the response.
Possible Use-Cases
Roaming status verification could be useful in scenario such as (not exhaustive):
- For regulatory reasons, where a customer may need to be within a certain jurisdiction, or out with others, in order for transactions to be authorized
- For security / fraud reasons, to establish that a customer is located where they claim to be
- For service delivery reasons, to ensure that the customer has access to particular service, and will not incur roaming charges in accessing them
Relevant terms and definitions
-
Identifier for the mobile subscription: the phone number (i.e. MSISDN) addressing the mobile subscription. It is the only device identifier accepted by this API.
-
Roaming : Roaming status -
true, if device is in roaming situation -falseelse. -
Country : Country code and name - visited country information, provided if the device is in roaming situation.
-
LastStatusTime : This property specifies the time when the status was last updated. Its presence in the response indicates the freshness of the information, while its absence implies the information may be outdated or its freshness is uncertain.
API Functionality
The API exposes following capabilities:
Device roaming situation
The endpoint POST /retrieve allows to get roaming status and country
information (if device in roaming situation) synchronously.
Authorization and authentication
The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
The specific authorization flows to be used will be agreed upon during the onboarding process, happening between the API consumer and the API provider, taking into account the declared purpose for accessing the API, whilst also being subject to the prevailing legal framework dictated by local legislation.
In cases where personal data is processed by the API and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
Identifying the device from the access token
This API requires the API consumer to identify a device as the subject of the API as follows:
-
When the API is invoked using a two-legged access token, the subject will be identified from the optional
deviceobject, which therefore MUST be provided. -
When a three-legged access token is used however, this optional identifier MUST NOT be provided, as the subject will be uniquely identified from the access token.
This approach simplifies API usage for API consumers using a three-legged access token to invoke the API by relying on the information that is associated with the access token and was identified during the authentication process.
Error handling:
-
If the subject cannot be identified from the access token and the optional
deviceobject is not included in the request, then the server will return an error with the422 MISSING_IDENTIFIERerror code. -
If the subject can be identified from the access token and the optional
deviceobject is also included in the request, then the server will return an error with the422 UNNECESSARY_IDENTIFIERerror code. This will be the case even if the same device is identified by these two methods, as the server is unable to make this comparison.
Multi-SIM scenario handling
In multi-SIM scenarios where more than one mobile device is associated with a phone number (e.g. a smartphone with an associated smartwatch), it might not be possible to uniquely identify from that phone number the device for which the roaming status should be returned. In such a scenario, the API may:
-
respond with an error, or
-
return a combined roaming status for the multi-SIM group as a whole, or
-
return the roaming status for a single device in the multi-SIM group, which may not be the intended device.
Possible solutions in such a scenario include:
-
Using the authorisation code flow to obtain an access token, which will automatically identify the intended device
-
Check with the SIM provider whether a unique "secondary" phone number is already associated with each device, and use the secondary phone number to identify the intended device if available.
Further info and support
(FAQs will be added in a later version of the documentation)
Resources 11
- Consents 3 endpoints
API operation of consents.
- POST Given an MSISDN, scope, purpose, and application, return whether the MSISDN consents to the capability query for the given application.
/orgs /{org_id} /consents /validate - DELETE Revoke all consents for a given MSISDN.
/orgs /{org_id} /consents /msisdn /{msisdn} - POST Given an scope, purpose, and application (AppName and ClientName), check if the parent exists, and if exist, create a new consent.
/orgs /{org_id} /consents /create
- POST Given an MSISDN, scope, purpose, and application, return whether the MSISDN consents to the capability query for the given application.
- Number Verification 2 endpoints
API operation of Number Verification API.
- Sim Swap 2 endpoints
API operation of Sim Swap API.
- Capabilities 8 endpoints
Operations for managing CAMARA capabilities
- GET Retrieve all capabilities
/orgs /{org_id} /capabilities - POST Create a new capability
/orgs /{org_id} /capabilities - GET Retrieve a specific capability by ID
/orgs /{org_id} /capabilities /{id} - PUT Update an existing capability
/orgs /{org_id} /capabilities /{id} - DELETE Delete a capability
/orgs /{org_id} /capabilities /{id}
- GET Retrieve all capabilities
- Views 13 endpoints
Operations for managing View OpenGateway consent views
- GET Retrieve all views
/orgs /{org_id} /views - POST Create a new view
/orgs /{org_id} /views - GET Retrieve a specific view by ID
/orgs /{org_id} /views /{id} - PUT Update an existing view
/orgs /{org_id} /views /{id} - DELETE Delete a view (cascade delete translations and associations)
/orgs /{org_id} /views /{id}
- GET Retrieve all views
- TenantCatalog 1 endpoint
Operations for the Open Gateway tenant catalog
- Product Orders 4 endpoints
Operations for managing Product Orders
- Product Order Status 5 endpoints
Operations for managing per-tenant Product Order status
- POST Seed a NOT_SUPPORTED status row per existing product order for a tenant
/orgs /{org_id} /product-orders /seed-status - GET List the per-tenant status of a product order
/product-orders /{id} /status - POST Create a product order status entry for a tenant
/orgs /{org_id} /product-orders /{id} /status - PATCH Update a product order status entry for a tenant
/orgs /{org_id} /product-order-status /{status_id} - DELETE Delete a product order status entry for a tenant
/orgs /{org_id} /product-order-status /{status_id}
- POST Seed a NOT_SUPPORTED status row per existing product order for a tenant
- QoSProfiles 2 endpoints
Manage QoS Profiles
- QoD 5 endpoints
Manage QoD sessions
- POST Creates a new session
/orgs /{org_id} /quality-on-demand /sessions - GET Get QoS session information
/orgs /{org_id} /quality-on-demand /sessions /{sessionId} - DELETE Delete a QoD session
/orgs /{org_id} /quality-on-demand /sessions /{sessionId} - POST Extend the duration of an active session
/orgs /{org_id} /quality-on-demand /sessions /{sessionId} /extend - POST Get QoD session information for a device
/orgs /{org_id} /quality-on-demand /retrieve-sessions
- POST Creates a new session
- DeviceRoamingStatus 1 endpoint
Operation to get device roaming status and country information (if roaming) synchronously
Consents
Given an MSISDN, scope, purpose, and application, return whether the MSISDN consents to the capability query for the given application.
/orgs /{org_id} /consents /validate Given an MSISDN, scope, purpose, and application, return whether the MSISDN consents to the capability query for the given application.
Path parameters
org_idstringRequired
Request body application/json Required
-
msisdnstring RequiredA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
clientstring RequiredApplication that makes the request to consume the capacity.
-
purposestring RequiredPurpose for which the capability is to be consumed. Typically this will start with 'dpv:' followed by a value from the Data Privacy Vocabulary (DPV) ontology.
-
scopesstring[] RequiredCapabilities to be consumed
Responses
OK
-
purposestringPurpose for which the capability is to be consumed. Typically this will start with 'dpv:' followed by a value from the Data Privacy Vocabulary (DPV) ontology.
-
consentsobject[]-
idstringUnique identifier of the consent combining scope, purpose, aggregator and application
-
scopestringCapability to be consumed
-
statusstringConsent status
-
expiration_datestring (date-time) | nullISO-8601 timestamp (UTC) indicating when this consent expires. Omitted when the consent has no expiration date.
-
Problem with the client request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Client does not have sufficient permission.
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Server error
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Service unavailable. Typically the server is down.
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Request time exceeded. If it happens repeatedly, consider reducing the request complexity
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Response Headers
x-correlatorstringCorrelation id for the different services
Consents
Revoke all consents for a given MSISDN.
/orgs /{org_id} /consents /msisdn /{msisdn} Revokes all consents associated with the given MSISDN within the specified organization.
Path parameters
org_idstringRequiredmsisdnstringRequired
Responses
No Content. Consents revoked successfully.
No body.
Problem with the client request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Client does not have sufficient permission.
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Server error
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Service unavailable. Typically the server is down.
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Request time exceeded. If it happens repeatedly, consider reducing the request complexity
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Consents
Given an scope, purpose, and application (AppName and ClientName), check if the parent exists, and if exist, create a new consent.
/orgs /{org_id} /consents /create Given an scope, purpose, and application (AppName and ClientName), check if the parent exists, and if exist, create a new consent.
Path parameters
org_idstringRequired
Request body application/json Required
-
clientstring RequiredApplication that makes the request to consume the capacity.
-
scopestring Requiredcapabilities to be consumed
-
purposestring Requiredpurpose for which the capability is to be consumed
Responses
CREATED
No body.
Problem with the client request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Client does not have sufficient permission.
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Server error
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Service unavailable. Typically the server is down.
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Request time exceeded. If it happens repeatedly, consider reducing the request complexity
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Response Headers
x-correlatorstringCorrelation id for the different services
Number Verification
Verifies if the received hashed/plain text phone number matches the phone number associated with the access token
/orgs /{org_id} /number-verification /verify Verifies if the specified phone number (either in plain text or hashed
format) matches the one that the user is currently using. Only one of
the plain or hashed formats must be provided. - The number verification
will be done for the user that has authenticated via mobile network - It
returns true/false depending on if the hashed phone number received as
input matches the authenticated user's device phone number associated
to the access token
Path parameters
org_idstringRequired
Request body application/json Required
-
referenceMsisdnstring RequiredThe MSISDN assigned by the network and extracted from the authentication token. A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
evidenceobject Required-
typestring RequiredType of evidence provided:
-
PLAIN: The MSISDN is provided in plain text. -
HASHED_SHA256: The MSISDN is provided as a hashed value. SHA-256 (in hexadecimal representation) of the mobile phone number in E.164 format (starting with country code). Prefixed with '+'.
-
-
valuestring RequiredA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number).
In order to be globally unique, it has to be formatted in international format, according to the E.164 standard, prefixed with '+'.
-
Responses
OK
-
devicePhoneNumberVerifiedboolean RequiredNumber verification. True, if it matches
Problem with the client request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Client does not have sufficient permission.
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Server error
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Service unavailable. Typically the server is down.
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Request time exceeded. If it happens repeatedly, consider reducing the request complexity
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Response Headers
x-correlatorstringCorrelation id for the different services
Sim Swap
POST /orgs/{org_id}/sim-swap/retrieve-date
/orgs /{org_id} /sim-swap /retrieve-date Get timestamp of last SIM swap event for a mobile user account provided with phone number.
Path parameters
org_idstringRequired
Request body application/json Required
Create a SIM swap date request for a phone number.
-
phoneNumberstring RequiredA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
Responses
Contains information about SIM swap change
-
latestSimChangestring (date-time) | null RequiredTimestamp of latest SIM swap performed. It must follow RFC 3339 and must have time zone. Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unprocessable Content
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Internal Server Error
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Service Unavailable
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Gateway Timeout
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Sim Swap
POST /orgs/{org_id}/sim-swap/check
/orgs /{org_id} /sim-swap /check Check if SIM swap has been performed during a past period
Path parameters
org_idstringRequired
Request body application/json Required
Create a check SIM swap request for a phone number.
-
phoneNumberstring RequiredA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
maxAgeinteger (int32)Period in hours to be checked for SIM swap.
Responses
Returns whether a SIM swap has been performed during a past period
-
swappedboolean RequiredIndicates whether the SIM card has been swapped during the period within the provided age.
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unprocessable Content
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Internal Server Error
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Service Unavailable
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Gateway Timeout
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Capabilities
Retrieve all capabilities
/orgs /{org_id} /capabilities Path parameters
org_idstringRequired
Query parameters
namestringFilter capabilities by name
Responses
List of capabilities
-
capabilitiesobject[]-
idstring (uuid)Capability ID
-
namestringCapability name
-
-
totalintegerTotal number of capabilities
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Capabilities
Create a new capability
/orgs /{org_id} /capabilities Path parameters
org_idstringRequired
Request body application/json Required
-
namestring RequiredName of the capability (CAMARA capability name)
Responses
Capability created successfully
-
idstring (uuid)Capability ID
-
namestringCapability name
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Capabilities
Retrieve a specific capability by ID
/orgs /{org_id} /capabilities /{id} Path parameters
org_idstringRequiredidstring (uuid)RequiredCapability ID (UUID)
Responses
Capability found
-
idstring (uuid)Capability ID
-
namestringCapability name
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Capabilities
Update an existing capability
/orgs /{org_id} /capabilities /{id} Path parameters
org_idstringRequiredidstring (uuid)RequiredCapability ID (UUID)
Request body application/json Required
-
namestringUpdated name of the capability
Responses
Capability updated successfully
-
idstring (uuid)Capability ID
-
namestringCapability name
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Capabilities
Delete a capability
/orgs /{org_id} /capabilities /{id} Path parameters
org_idstringRequiredidstring (uuid)RequiredCapability ID (UUID)
Responses
Capability deleted successfully
No body.
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Capabilities
Get all views associated with a capability
/orgs /{org_id} /capabilities /{id} /views Path parameters
org_idstringRequiredidstring (uuid)RequiredCapability ID (UUID)
Responses
List of views associated with the capability
-
viewsobject[]-
idstring (uuid)View ID
-
namestringView name
-
orderDisplayintegerDisplay order
-
visibilitybooleanVisibility status
-
translationsobject[]-
idstring (uuid)Translation ID
-
languageCodestringLanguage code (es-ES, eu-ES, en-US)
-
descriptionstringTranslated description
-
-
capabilityIdsstring (uuid)[]Associated capability IDs
-
-
totalintegerTotal number of views
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Capabilities
Associate a view with a capability
/orgs /{org_id} /capabilities /{id} /views Path parameters
org_idstringRequiredidstring (uuid)RequiredCapability ID (UUID)
Request body application/json Required
-
viewIdstring (uuid) RequiredView ID to associate with the capability
Responses
View successfully associated with capability
-
idstring (uuid)Association ID
-
capabilityIdstring (uuid)Capability ID
-
viewIdstring (uuid)View ID
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Capabilities
Remove view from capability
/orgs /{org_id} /capabilities /{id} /views /{view_id} Path parameters
org_idstringRequiredidstring (uuid)RequiredCapability ID (UUID)
view_idstring (uuid)RequiredView ID (UUID)
Responses
View successfully removed from capability
No body.
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Retrieve all views
/orgs /{org_id} /views Path parameters
org_idstringRequired
Query parameters
visibilitybooleanFilter by visibility status
languageCodestringFilter by language code (e.g., es-ES, eu-ES, en-US)
Responses
List of views
-
viewsobject[]-
idstring (uuid)View ID
-
namestringView name
-
orderDisplayintegerDisplay order
-
visibilitybooleanVisibility status
-
translationsobject[]-
idstring (uuid)Translation ID
-
languageCodestringLanguage code (es-ES, eu-ES, en-US)
-
descriptionstringTranslated description
-
-
capabilityIdsstring (uuid)[]Associated capability IDs
-
-
totalintegerTotal number of views
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Create a new view
/orgs /{org_id} /views Path parameters
org_idstringRequired
Request body application/json Required
-
namestring RequiredName of the view
-
orderDisplayintegerDisplay order for the view
-
visibilitybooleanWhether the view is visible
Responses
View created successfully
-
idstring (uuid)View ID
-
namestringView name
-
orderDisplayintegerDisplay order
-
visibilitybooleanVisibility status
-
translationsobject[]-
idstring (uuid)Translation ID
-
languageCodestringLanguage code (es-ES, eu-ES, en-US)
-
descriptionstringTranslated description
-
-
capabilityIdsstring (uuid)[]Associated capability IDs
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Retrieve a specific view by ID
/orgs /{org_id} /views /{id} Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
Responses
View found
-
idstring (uuid)View ID
-
namestringView name
-
orderDisplayintegerDisplay order
-
visibilitybooleanVisibility status
-
translationsobject[]-
idstring (uuid)Translation ID
-
languageCodestringLanguage code (es-ES, eu-ES, en-US)
-
descriptionstringTranslated description
-
-
capabilityIdsstring (uuid)[]Associated capability IDs
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Update an existing view
/orgs /{org_id} /views /{id} Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
Request body application/json Required
-
namestringUpdated name of the view
-
orderDisplayintegerUpdated display order
-
visibilitybooleanUpdated visibility status
Responses
View updated successfully
-
idstring (uuid)View ID
-
namestringView name
-
orderDisplayintegerDisplay order
-
visibilitybooleanVisibility status
-
translationsobject[]-
idstring (uuid)Translation ID
-
languageCodestringLanguage code (es-ES, eu-ES, en-US)
-
descriptionstringTranslated description
-
-
capabilityIdsstring (uuid)[]Associated capability IDs
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Delete a view (cascade delete translations and associations)
/orgs /{org_id} /views /{id} Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
Responses
View deleted successfully
No body.
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Get all capabilities associated with a view
/orgs /{org_id} /views /{id} /capabilities Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
Responses
List of capabilities associated with the view
-
capabilitiesobject[]-
idstring (uuid)Capability ID
-
namestringCapability name
-
-
totalintegerTotal number of capabilities
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Associate a capability with a view
/orgs /{org_id} /views /{id} /capabilities Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
Request body application/json Required
-
capabilityIdstring (uuid) RequiredCapability ID to associate with the view
Responses
Capability successfully associated with view
-
idstring (uuid)Association ID
-
viewIdstring (uuid)View ID
-
capabilityIdstring (uuid)Capability ID
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Remove capability from view
/orgs /{org_id} /views /{id} /capabilities /{capability_id} Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
capability_idstring (uuid)RequiredCapability ID (UUID)
Responses
Capability successfully removed from view
No body.
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Get all translations for a view
/orgs /{org_id} /views /{id} /translations Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
Responses
List of translations for the view
-
translationsobject[]-
idstring (uuid)Translation ID
-
languageCodestringLanguage code
-
descriptionstringTranslated description
-
-
totalintegerTotal number of translations
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Add a translation to a view
/orgs /{org_id} /views /{id} /translations Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
Request body application/json Required
-
languageCodestring RequiredLanguage code (e.g., es-ES, eu-ES, en-US)
-
descriptionstringTranslated description
Responses
Translation successfully added to view
-
idstring (uuid)Translation ID
-
languageCodestringLanguage code
-
descriptionstringTranslated description
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Get a specific translation by language code
/orgs /{org_id} /views /{id} /translations /{language_code} Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
language_codestringRequiredLanguage code (e.g., es-ES, eu-ES, en-US)
Responses
Translation found
-
idstring (uuid)Translation ID
-
languageCodestringLanguage code
-
descriptionstringTranslated description
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Update a translation for a view
/orgs /{org_id} /views /{id} /translations /{language_code} Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
language_codestringRequiredLanguage code (e.g., es-ES, eu-ES, en-US)
Request body application/json Required
-
languageCodestringUpdated language code
-
descriptionstringUpdated translated description
Responses
Translation updated successfully
-
idstring (uuid)Translation ID
-
languageCodestringLanguage code
-
descriptionstringTranslated description
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Views
Delete a translation from a view
/orgs /{org_id} /views /{id} /translations /{language_code} Path parameters
org_idstringRequiredidstring (uuid)RequiredView ID (UUID)
language_codestringRequiredLanguage code (e.g., es-ES, eu-ES, en-US)
Responses
Translation deleted successfully
No body.
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
TenantCatalog
List provisioned tenants, optionally filtered by stack
/tenant-catalog /provisioned-tenants Returns the list of tenant identifiers that currently have a provisioned schema in the
Open Gateway database. Each tenant corresponds to a PostgreSQL schema prefixed with
opengateway_. When the stack query parameter is provided, only
tenants configured as
belonging to that stack are returned.
Query parameters
stackstringWhen provided, restricts the result to tenants that belong to this stack, according
to the tenant→stack mapping configured in this service (see its configuration
documentation). If omitted, all provisioned tenants are returned.
Responses
List of tenant identifiers
-
tenantsstring[] -
totalintegerTotal number of tenants
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Product Orders
List product orders
/product-orders Query parameters
appOwnerIdstringappClientIdstringscopestringpurposestringcreatedFromstring (date-time)createdTostring (date-time)pageintegersizeinteger
Responses
List of product orders
-
productOrdersobject[]-
idstring (uuid) -
appOwnerIdstring -
appClientIdstring -
scopestring -
purposestring | null -
createdAtstring (date-time) -
createdBystring
-
-
totalinteger -
pageinteger -
sizeinteger
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Product Orders
Create a new product order
/product-orders Request body application/json Required
-
idstring (uuid) | null -
appOwnerIdstring Required -
appClientIdstring Required -
scopestring Required -
purposestring | null -
createdBystring Required
Responses
Product order created successfully
-
idstring (uuid) -
appOwnerIdstring -
appClientIdstring -
scopestring -
purposestring | null -
createdAtstring (date-time) -
createdBystring
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Product Orders
Retrieve a specific product order by ID
/product-orders /{id} Path parameters
idstring (uuid)Required
Responses
Product order found
-
idstring (uuid) -
appOwnerIdstring -
appClientIdstring -
scopestring -
purposestring | null -
createdAtstring (date-time) -
createdBystring
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Product Orders
List product orders NOT_SUPPORTED in a tenant for a given scope
/orgs /{org_id} /product-orders /not-supported Returns every product order whose status row in this tenant is NOT_SUPPORTED for the
requested scope — the clients left behind when the tenant did not support the capability
yet, and whose child consent still has to be created.
Path parameters
org_idstringRequired
Query parameters
scopestringRequiredpageintegersizeinteger
Responses
Reactivation candidates
-
productOrdersobject[]-
idstring (uuid) -
appOwnerIdstring -
appClientIdstring -
scopestring -
purposestring | null -
createdAtstring (date-time) -
createdBystring
-
-
totalinteger -
pageinteger -
sizeinteger
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Product Order Status
Seed a NOT_SUPPORTED status row per existing product order for a tenant
/orgs /{org_id} /product-orders /seed-status Gives a newly provisioned tenant a product_order_status row for every
product order that
already exists, all as NOT_SUPPORTED with source = TENANT_ONBOARDING. Until this runs,
those orders have no row at all in the tenant's schema and are invisible to every
per-tenant query.
Idempotent: rows the tenant already has are left untouched, whatever their state, so this
is safe to re-run. The response reports how many rows were actually inserted.
Afterwards, POST /operative/product-orders/reactivations catches the
tenant up on each
capability it does support.
Path parameters
org_idstringRequired
Responses
Seed completed
-
tenantstring -
seededintegerNumber of status rows actually inserted; 0 when the tenant was already seeded.
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Product Order Status
List the per-tenant status of a product order
/product-orders /{id} /status Path parameters
idstring (uuid)Required
Query parameters
statusstringsourcestring
Responses
List of product order status across tenants
-
statusobject[]-
idstring (uuid) -
productOrderIdstring (uuid) -
tenantstring -
statusstring -
sourcestring -
updatedBystring | null -
createdAtstring (date-time) -
updatedAtstring (date-time) | null -
finishedAtstring (date-time) | null
-
-
totalinteger
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Product Order Status
Create a product order status entry for a tenant
/orgs /{org_id} /product-orders /{id} /status Path parameters
org_idstringRequiredidstring (uuid)Required
Request body application/json Required
-
statusstring Required -
sourcestring Required -
updatedBystring | nullIdentity of the human operator behind this write, when there is one.
Left null by automated writers (ORIGINAL_WORKFLOW, HISTORICAL_BACKFILL);
populated by MANUAL_REACTIVATION. See ADR-30.
Responses
Product order status created successfully
-
idstring (uuid) -
productOrderIdstring (uuid) -
tenantstring -
statusstring -
sourcestring -
updatedBystring | null -
createdAtstring (date-time) -
updatedAtstring (date-time) | null -
finishedAtstring (date-time) | null
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Product Order Status
Update a product order status entry for a tenant
/orgs /{org_id} /product-order-status /{status_id} Path parameters
org_idstringRequiredstatus_idstring (uuid)Required
Request body application/json Required
-
statusstring Required -
sourcestring Required -
updatedBystring | null
Responses
Product order status updated successfully
-
idstring (uuid) -
productOrderIdstring (uuid) -
tenantstring -
statusstring -
sourcestring -
updatedBystring | null -
createdAtstring (date-time) -
updatedAtstring (date-time) | null -
finishedAtstring (date-time) | null
Bad request - Invalid input
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Product Order Status
Delete a product order status entry for a tenant
/orgs /{org_id} /product-order-status /{status_id} Path parameters
org_idstringRequiredstatus_idstring (uuid)Required
Responses
Product order status deleted successfully
No body.
Resource not found
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
Internal server error
-
codestringError code
-
messagestringError message
-
statusintegerHTTP status code
QoSProfiles
Retrieve QoS profiles
/orgs /{org_id} /qos-profiles /retrieve-qos-profiles Returns all QoS Profiles that match the given criteria.
NOTES:
-
The access token may be either a 2-legged or 3-legged access token.
-
If the access token is 3-legged, all returned QoS Profiles will be available to the subject (device) associated with the access token.
-
If the access token is 2-legged and a device filter is provided, all returned QoS Profiles will be available to that device. If multiple device identifiers are provided within the device property, only QoS Profiles available to the device identifier chosen by the implementation will be returned, even if the identifiers do not match the same device. API provider does not perform any logic to validate/correlate that the indicated device identifiers match the same device. No error should be returned if the identifiers are otherwise valid to prevent API consumers correlating different identifiers with a given end user.
-
This call uses the POST method instead of GET to comply with the CAMARA Commonalities guidelines for sending sensitive or complex data in API calls. Since the device field may contain personally identifiable information, it should not be sent via GET. Additionally, this call may include complex data structures. CAMARA API Design Guidelines
Path parameters
org_idstringRequired
Request body application/json Required
Parameters to query QoS Profiles for a given device
-
phoneNumberstring RequiredA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
deviceobjectEnd-user equipment able to connect to a mobile network. Examples of devices include smartphones or IoT sensors/actuators.
The developer can choose to provide the below specified device identifiers:
-
ipv4Address -
ipv6Address -
phoneNumber
NOTE1: the network operator might support only a subset of these options. The API consumer can provide multiple identifiers to be compatible across different operators. In this case the identifiers MUST belong to the same device.
NOTE2: as for this Commonalities release, we are enforcing that the networkAccessIdentifier is only part of the schema for future-proofing, and CAMARA does not currently allow its use. After the CAMARA meta-release work is concluded and the relevant issues are resolved, its use will need to be explicitly documented in the guidelines.
-
phoneNumberstringA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
networkAccessIdentifierstringA public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.
-
ipv4Addressany | anyThe device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers).
If the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress.
If NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object)
In all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.
-
publicAddressstring (ipv4)A single IPv4 address with no subnet mask
-
privateAddressstring (ipv4)A single IPv4 address with no subnet mask
-
publicPortintegerTCP or UDP port number
Any ofanyany -
-
ipv6Addressstring (ipv6)The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).
The session shall apply to all IP flows between the device subnet and the specified application server, unless further restricted by the optional parameters devicePorts or applicationServerPorts.
-
-
namestringA unique name for identifying a specific QoS profile.
This may follow different formats depending on the service providers implementation.
Some options addresses:
- A UUID style string
- Support for predefined profile names like
QOS_E,QOS_S,QOS_M, andQOS_L - A searchable descriptive name
-
statusstringThe current status of the QoS Profile
-
ACTIVE- QoS Profile is available to be used -
INACTIVE- QoS Profile is not currently available to be deployed -
DEPRECATED- QoS profile is actively being used in a QoD session, but can not be deployed in new QoD sessions
-
Responses
Contains information about QoS Profiles
-
profilesobject[]-
namestring RequiredA unique name for identifying a specific QoS profile.
This may follow different formats depending on the service providers implementation.
Some options addresses:
- A UUID style string
- Support for predefined profile names like
QOS_E,QOS_S,QOS_M, andQOS_L - A searchable descriptive name
-
descriptionstringA description of the QoS profile.
-
statusstring RequiredThe current status of the QoS Profile
-
ACTIVE- QoS Profile is available to be used -
INACTIVE- QoS Profile is not currently available to be deployed -
DEPRECATED- QoS profile is actively being used in a QoD session, but can not be deployed in new QoD sessions
-
-
countryAvailabilityobject[]A list of countries, and optionally networks, for which the API provider makes the profile available.
-
When profiles are filtered for a specific device (i.e. using a 3-legged access token or an explicit device filter parameter), the profile can be used by that device in any of these countries when connected to any of the listed networks (assuming roaming is permitted for networks that are not the device's home network), or the API provider's own network if no networks are listed
-
When there is no device filter, availability for a given country means that the QoS profile may be available to some devices connected to the listed networks in that country (or to the API provider’s default network if none are listed). However, this does not imply that the profile is available to all devices, or that a particular device will be able to use the profile across all listed countries or networks. In particular, the response does not provide enough information to determine availability for roaming for specific devices; consumers should query the API with a specific device identifier to get definitive availability.
-
If this field is not present in the QoS profile, no assumption can be made about the availability of the profile in any given country or for any given network
-
countryNamestring RequiredThe two letter ISO 3166-2 country code for the country in which the QoS profile is available in at least one network
-
networksstring[]A list of networks within the country for which the QoS profile is available from the API provider
-
-
targetMinUpstreamRateobjectThis is the target minimum upload speed for the QoS profile.
It represents the minimum rate that the network attempts to deliver.
Please note that this is a target value—the network might not always be able to provide this rate under all conditions.
It helps ensure that applications like video calls or live streaming perform consistently.
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
maxUpstreamRateobjectThe maximum best effort data
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
maxUpstreamBurstRateobjectWhen defined, this is the maximum upstream burst rate for the QoS profile, that will enable
the network to burst data at a higher rate than the maxUpstreamRate for a period of time.
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
targetMinDownstreamRateobjectThis is the target maximum upload speed for the QoS profile.
It represents the maximum rate that the network attempts to deliver.
Please note that this is a target value—the network might not always be able to provide this rate under all conditions.
It helps ensure that applications like video calls or live streaming perform consistently.
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
maxDownstreamRateobjectThe maximum best effort rate
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
maxDownstreamBurstRateobjectWhen defined, this is the maximum downstream burst rate for the QoS profile, that will enable
the network to burst data at a higher rate than the maxDownstreamRate for a period of time.
This can result in improved user experience when there is additional network capacity.
For instance, when a user is streaming a video, the network can burst data at a higher rate
to fill the buffer, and then return to the maxUpstreamRate once the buffer is full.
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
minDurationobjectThe shortest time period that this profile can be deployed.
-
valueinteger (int32)Quantity of duration
-
unitstringUnits of time
-
-
maxDurationobjectThe maximum time period that this profile can be deployed.
Overall session duration must not exceed this value. This includes the initial requested duration plus any extensions.
-
valueinteger (int32)Quantity of duration
-
unitstringUnits of time
-
-
priorityinteger (int32)Priority levels allow efficient resource allocation and ensure optimal performance
for various services in each technology, with the highest priority traffic receiving
preferential treatment.
The lower value the higher priority.
Not all access networks use the same priority range, so this priority will be
scaled to the access network's priority range.
-
packetDelayBudgetobjectThe packet delay budget is the maximum allowable one-way latency between the customer's device
and the gateway from the operator's network to other networks. By limiting the delay, the network
can provide an acceptable level of performance for various services, such as voice calls,
video streaming, and data.
The end-to-end or round trip latency will be about two times this value plus the latency not controlled
by the operator
-
valueinteger (int32)Quantity of duration
-
unitstringUnits of time
-
-
jitterobjectThe jitter requirement aims to limit the maximum variation in round-trip
packet delay for the 99th percentile of traffic, following ITU Y.1540
standards. It considers only acknowledged packets in a session, which are
packets that receive a confirmation of receipt from the recipient (e.g.,
using TCP). This requirement helps maintain consistent latency, essential
for real-time applications such as VoIP, video calls, and gaming.
-
valueinteger (int32)Quantity of duration
-
unitstringUnits of time
-
-
packetErrorLossRateinteger (int32)This field specifies the acceptable level of data loss during transmission.
The value is an exponent of 10, so a value of 3 means that up to 10⁻³, or 0.1%, of the
data packets may be lost. This setting is part of a broader system that categorizes
different types of network traffic (like phone calls, video streams, or data transfers)
to ensure they perform reliably on the network.
-
l4sQueueTypestringNOTE: l4sQueueType is experimental and could change or be removed in a future release.
Specifies the type of queue for L4S (Low Latency, Low Loss, Scalable Throughput) traffic management. L4S is an advanced queue management approach designed to provide ultra-low latency and high throughput for internet traffic, particularly beneficial for interactive applications such as gaming, video conferencing, and virtual reality.
Queue Type Descriptions:
-
non-l4s-queue: A traditional queue used for legacy internet traffic that does not utilize L4S enhancements. It provides standard latency and throughput levels.
-
l4s-queue: A dedicated queue optimized for L4S traffic, delivering ultra-low latency, low loss, and scalable throughput to support latency-sensitive applications.
-
mixed-queue: A shared queue that can handle both L4S and traditional traffic, offering a balance between ultra-low latency for L4S flows and compatibility with non-L4S flows.
-
-
serviceClassstringNOTE: serviceClass is experimental and could change or be removed in a future release.
The name of a Service Class, representing a QoS Profile designed to provide optimized behavior for a specific application type. While DSCP values are commonly associated with Service Classes, their use may vary across network segments and may not be applied throughout the entire end-to-end QoS session. This aligns with the serviceClass concept used in HomeDevicesQoQ for consistent terminology.
Service classes define specific QoS behaviors that map to DSCP (Differentiated Services Code Point) values or Microsoft QoS traffic types.
The supported mappings are:
-
Values aligned with the RFC4594 guidelines for differentiated traffic classes.
-
Microsoft QOS_TRAFFIC_TYPE values for Windows developers.
Supported Service Classes:
| Service Class Name | DSCP Name | DSCP value (decimal) | DCSP value (binary) | Microsoft Value | Application Examples |
|-----------------------|-----------|----------------------|---------------------|-----------------|----------------------------------------------------------------------|
| Microsoft Voice | CS7 | 56 | 111000 | 4,5 | Microsoft QOSTrafficTypeVoice and QOSTrafficTypeControl |
| Microsoft Audio/Video | CS5 | 40 | 101000 | 2,3 | Microsoft QOSTrafficTypeExcellentEffort and QOSTrafficTypeAudioVideo |
| Real-Time Interactive | CS4 | 32 | 100000 | | Video conferencing and Interactive gaming |
| Multimedia Streaming | AF31 | 26 | 011010 | | Streaming video and audio on demand |
| Broadcast Video | CS3 | 24 | 011000 | | Broadcast TV & live events |
| Low-Latency Data | AF21 | 18 | 010010 | | Client/server transactions Web-based ordering |
| High-Throughput Data | AF11 | 10 | 001010 | | Store and forward applications |
| Low-Priority Data | CS1 | 8 | 001000 | 1 | Any flow that has no BW assurance - also: |
| | | | | | Microsoft QOSTrafficTypeBackground |
| Standard | DF(CS0) | 0 | 000000 | 0 | Undifferentiated applications - also: |
| | | | | | Microsoft QOSTrafficTypeBestEffort |
Show 9 values Hide 9 values
microsoft_voicemicrosoft_audio_videoreal_time_interactivemultimedia_streamingbroadcast_videolow_latency_datahigh_throughput_datalow_priority_datastandard
-
-
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unprocessable Content
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Too Many Requests
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
QoSProfiles
Get QoS Profile for a given name
/orgs /{org_id} /qos-profiles /{name} Returns a QoS Profile that matches the given name.
The access token may be either a 2-legged or 3-legged access token. If the access token is 3-legged, a QoS Profile is only returned if available to all subjects associated with the access token.
Path parameters
namestringRequiredQos Profile name
org_idstringRequired
Query parameters
phoneNumberstringRequired
Responses
Contains information about QoS Profiles
-
namestring RequiredA unique name for identifying a specific QoS profile.
This may follow different formats depending on the service providers implementation.
Some options addresses:
- A UUID style string
- Support for predefined profile names like
QOS_E,QOS_S,QOS_M, andQOS_L - A searchable descriptive name
-
descriptionstringA description of the QoS profile.
-
statusstring RequiredThe current status of the QoS Profile
-
ACTIVE- QoS Profile is available to be used -
INACTIVE- QoS Profile is not currently available to be deployed -
DEPRECATED- QoS profile is actively being used in a QoD session, but can not be deployed in new QoD sessions
-
-
countryAvailabilityobject[]A list of countries, and optionally networks, for which the API provider makes the profile available.
-
When profiles are filtered for a specific device (i.e. using a 3-legged access token or an explicit device filter parameter), the profile can be used by that device in any of these countries when connected to any of the listed networks (assuming roaming is permitted for networks that are not the device's home network), or the API provider's own network if no networks are listed
-
When there is no device filter, availability for a given country means that the QoS profile may be available to some devices connected to the listed networks in that country (or to the API provider’s default network if none are listed). However, this does not imply that the profile is available to all devices, or that a particular device will be able to use the profile across all listed countries or networks. In particular, the response does not provide enough information to determine availability for roaming for specific devices; consumers should query the API with a specific device identifier to get definitive availability.
-
If this field is not present in the QoS profile, no assumption can be made about the availability of the profile in any given country or for any given network
-
countryNamestring RequiredThe two letter ISO 3166-2 country code for the country in which the QoS profile is available in at least one network
-
networksstring[]A list of networks within the country for which the QoS profile is available from the API provider
-
-
targetMinUpstreamRateobjectThis is the target minimum upload speed for the QoS profile.
It represents the minimum rate that the network attempts to deliver.
Please note that this is a target value—the network might not always be able to provide this rate under all conditions.
It helps ensure that applications like video calls or live streaming perform consistently.
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
maxUpstreamRateobjectThe maximum best effort data
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
maxUpstreamBurstRateobjectWhen defined, this is the maximum upstream burst rate for the QoS profile, that will enable
the network to burst data at a higher rate than the maxUpstreamRate for a period of time.
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
targetMinDownstreamRateobjectThis is the target maximum upload speed for the QoS profile.
It represents the maximum rate that the network attempts to deliver.
Please note that this is a target value—the network might not always be able to provide this rate under all conditions.
It helps ensure that applications like video calls or live streaming perform consistently.
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
maxDownstreamRateobjectThe maximum best effort rate
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
maxDownstreamBurstRateobjectWhen defined, this is the maximum downstream burst rate for the QoS profile, that will enable
the network to burst data at a higher rate than the maxDownstreamRate for a period of time.
This can result in improved user experience when there is additional network capacity.
For instance, when a user is streaming a video, the network can burst data at a higher rate
to fill the buffer, and then return to the maxUpstreamRate once the buffer is full.
-
valueinteger (int32)Quantity of rate
-
unitstringUnits of rate
-
-
minDurationobjectThe shortest time period that this profile can be deployed.
-
valueinteger (int32)Quantity of duration
-
unitstringUnits of time
-
-
maxDurationobjectThe maximum time period that this profile can be deployed.
Overall session duration must not exceed this value. This includes the initial requested duration plus any extensions.
-
valueinteger (int32)Quantity of duration
-
unitstringUnits of time
-
-
priorityinteger (int32)Priority levels allow efficient resource allocation and ensure optimal performance
for various services in each technology, with the highest priority traffic receiving
preferential treatment.
The lower value the higher priority.
Not all access networks use the same priority range, so this priority will be
scaled to the access network's priority range.
-
packetDelayBudgetobjectThe packet delay budget is the maximum allowable one-way latency between the customer's device
and the gateway from the operator's network to other networks. By limiting the delay, the network
can provide an acceptable level of performance for various services, such as voice calls,
video streaming, and data.
The end-to-end or round trip latency will be about two times this value plus the latency not controlled
by the operator
-
valueinteger (int32)Quantity of duration
-
unitstringUnits of time
-
-
jitterobjectThe jitter requirement aims to limit the maximum variation in round-trip
packet delay for the 99th percentile of traffic, following ITU Y.1540
standards. It considers only acknowledged packets in a session, which are
packets that receive a confirmation of receipt from the recipient (e.g.,
using TCP). This requirement helps maintain consistent latency, essential
for real-time applications such as VoIP, video calls, and gaming.
-
valueinteger (int32)Quantity of duration
-
unitstringUnits of time
-
-
packetErrorLossRateinteger (int32)This field specifies the acceptable level of data loss during transmission.
The value is an exponent of 10, so a value of 3 means that up to 10⁻³, or 0.1%, of the
data packets may be lost. This setting is part of a broader system that categorizes
different types of network traffic (like phone calls, video streams, or data transfers)
to ensure they perform reliably on the network.
-
l4sQueueTypestringNOTE: l4sQueueType is experimental and could change or be removed in a future release.
Specifies the type of queue for L4S (Low Latency, Low Loss, Scalable Throughput) traffic management. L4S is an advanced queue management approach designed to provide ultra-low latency and high throughput for internet traffic, particularly beneficial for interactive applications such as gaming, video conferencing, and virtual reality.
Queue Type Descriptions:
-
non-l4s-queue: A traditional queue used for legacy internet traffic that does not utilize L4S enhancements. It provides standard latency and throughput levels.
-
l4s-queue: A dedicated queue optimized for L4S traffic, delivering ultra-low latency, low loss, and scalable throughput to support latency-sensitive applications.
-
mixed-queue: A shared queue that can handle both L4S and traditional traffic, offering a balance between ultra-low latency for L4S flows and compatibility with non-L4S flows.
-
-
serviceClassstringNOTE: serviceClass is experimental and could change or be removed in a future release.
The name of a Service Class, representing a QoS Profile designed to provide optimized behavior for a specific application type. While DSCP values are commonly associated with Service Classes, their use may vary across network segments and may not be applied throughout the entire end-to-end QoS session. This aligns with the serviceClass concept used in HomeDevicesQoQ for consistent terminology.
Service classes define specific QoS behaviors that map to DSCP (Differentiated Services Code Point) values or Microsoft QoS traffic types.
The supported mappings are:
-
Values aligned with the RFC4594 guidelines for differentiated traffic classes.
-
Microsoft QOS_TRAFFIC_TYPE values for Windows developers.
Supported Service Classes:
| Service Class Name | DSCP Name | DSCP value (decimal) | DCSP value (binary) | Microsoft Value | Application Examples |
|-----------------------|-----------|----------------------|---------------------|-----------------|----------------------------------------------------------------------|
| Microsoft Voice | CS7 | 56 | 111000 | 4,5 | Microsoft QOSTrafficTypeVoice and QOSTrafficTypeControl |
| Microsoft Audio/Video | CS5 | 40 | 101000 | 2,3 | Microsoft QOSTrafficTypeExcellentEffort and QOSTrafficTypeAudioVideo |
| Real-Time Interactive | CS4 | 32 | 100000 | | Video conferencing and Interactive gaming |
| Multimedia Streaming | AF31 | 26 | 011010 | | Streaming video and audio on demand |
| Broadcast Video | CS3 | 24 | 011000 | | Broadcast TV & live events |
| Low-Latency Data | AF21 | 18 | 010010 | | Client/server transactions Web-based ordering |
| High-Throughput Data | AF11 | 10 | 001010 | | Store and forward applications |
| Low-Priority Data | CS1 | 8 | 001000 | 1 | Any flow that has no BW assurance - also: |
| | | | | | Microsoft QOSTrafficTypeBackground |
| Standard | DF(CS0) | 0 | 000000 | 0 | Undifferentiated applications - also: |
| | | | | | Microsoft QOSTrafficTypeBestEffort |
Show 9 values Hide 9 values
microsoft_voicemicrosoft_audio_videoreal_time_interactivemultimedia_streamingbroadcast_videolow_latency_datahigh_throughput_datalow_priority_datastandard
-
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Too Many Requests
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
QoD
Creates a new session
/orgs /{org_id} /quality-on-demand /sessions Create QoS Session to manage latency/throughput priorities
If the qosStatus in the API response is "AVAILABLE" and a notification callback is provided the API consumer will receive in addition to the response a
QOS_STATUS_CHANGED event notification with qosStatus as AVAILABLE.
If the qosStatus in the API response is REQUESTED, the client will
receive either
-
a
QOS_STATUS_CHANGEDevent notification withqosStatusasAVAILABLEafter the network notifies that it has created the requested session, or -
a
QOS_STATUS_CHANGEDevent notification withqosStatusasUNAVAILABLEandstatusInfoasNETWORK_TERMINATEDafter the network notifies that it has failed to provide the requested session.
A QOS_STATUS_CHANGED event notification with qosStatus as
UNAVAILABLE will also be send if the network terminates the session
before the requested duration expired
NOTES:
-
In case of a
QOS_STATUS_CHANGEDevent withqosStatusasUNAVAILABLEandstatusInfoasNETWORK_TERMINATEDthe resources of the QoS session are not directly released, but will get deleted automatically at earliest 360 seconds after the event.This behavior allows API consumers which are not receiving notification events but are polling to get the session information with the
qosStatusUNAVAILABLEandstatusInfoNETWORK_TERMINATED. Before a API consumer can attempt to create a new QoD session for the same device and flow period they must release the session resources with an explicitdeleteoperation if not yet automatically deleted. -
The access token may be either 2-legged or 3-legged. See "Identifying the device from the access token" for further information
- When the API is invoked using a two-legged access token, the subject will be identified from the optional
deviceobject, which therefore MUST be provided. - When a three-legged access token is used however, this optional identifier MUST NOT be provided, as the subject will be uniquely identified from the access token.
- When the API is invoked using a two-legged access token, the subject will be identified from the optional
Path parameters
org_idstringRequired
Request body application/json Required
Parameters to create a new session
-
deviceobjectEnd-user equipment able to connect to a network. Examples of devices include smartphones or IoT sensors/actuators.
The developer can choose to provide the below specified device identifiers:
-
ipv4Address -
ipv6Address -
phoneNumber -
networkAccessIdentifier
NOTE1: the network operator might support only a subset of these options. The API consumer can provide multiple identifiers to be compatible across different network operators. In this case the identifiers MUST belong to the same device.
NOTE2: as for this Commonalities release, we are enforcing that the networkAccessIdentifier is only part of the schema for future-proofing, and CAMARA does not currently allow its use. After the CAMARA meta-release work is concluded and the relevant issues are resolved, its use will need to be explicitly documented in the guidelines.
-
phoneNumberstringA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
networkAccessIdentifierstringA public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.
-
ipv4Addressany | anyThe device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers).
If the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress.
If NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object)
In all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.
-
publicAddressstring (ipv4)A single IPv4 address with no subnet mask
-
privateAddressstring (ipv4)A single IPv4 address with no subnet mask
-
publicPortintegerTCP or UDP port number
Any ofanyany -
-
ipv6Addressstring (ipv6)The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).
The session shall apply to all IP flows between the device subnet and the specified application server, unless further restricted by the optional parameters devicePorts or applicationServerPorts.
-
-
applicationServerobject RequiredA server hosting backend applications to deliver some business logic to clients.
The developer can choose to provide the below specified device identifiers:
-
ipv4Address -
ipv6Address
-
ipv4AddressstringIPv4 address may be specified in form <address/mask> as:
- address - an IPv4 number in dotted-quad form 1.2.3.4. Only this exact IP number will match the flow control rule.
- address/mask - an IP number as above with a mask width of the form 1.2.3.4/24. In this case, all IP numbers from 1.2.3.0 to 1.2.3.255 will match. The bit width MUST be valid for the IP version.
-
ipv6AddressstringIPv6 address may be specified in form <address/mask> as:
- address - The /128 subnet is optional for single addresses:
- 2001:db8:85a3:8d3:1319:8a2e:370:7344
- 2001:db8:85a3:8d3:1319:8a2e:370:7344/128
- address/mask - an IP v6 number with a mask:
- 2001:db8:85a3:8d3::0/64
- 2001:db8:85a3:8d3::/64
- address - The /128 subnet is optional for single addresses:
-
-
devicePortsobjectThe ports used locally by the device for flows to which the requested QoS profile should apply. If omitted, then the qosProfile will apply to all flows between the device and the specified application server address and ports
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
applicationServerPortsobjectA list of single ports or port ranges on the application server
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
qosProfilestring RequiredA unique name for identifying a specific QoS profile.
This may follow different formats depending on the API provider implementation.
Some options addresses:
- A UUID style string
- Support for predefined profiles QOS_S, QOS_M, QOS_L, and QOS_E
- A searchable descriptive name The set of QoS Profiles that an API provider is offering may be retrieved by means of the QoS Profile API (qos-profile) or agreed on onboarding time.
-
sinkstring (uri)The address to which events about all status changes of the session (e.g. session termination) shall be delivered using the selected protocol.
-
sinkCredentialobject | object | objectA sink credential provides authentication or authorization information necessary to enable delivery of events to a target.
-
credentialTypestring Required
One of, selected bycredentialType-
credentialTypestring Required -
identifierstring RequiredThe identifier might be an account or username.
-
secretstring RequiredThe secret might be a password or passphrase.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED. An access token is a previously acquired token granting access to the target resource.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired. Token expiration should occur
after the termination of the requested session, allowing the client to be notified of any changes during the
sessions's existence. If the token expires while the session is still active, the client will stop receiving notifications.
If the access token is a JWT and registered "exp" (Expiration Time) claim is present, the two expiry times should match.
It must follow RFC 3339 and must have time zone.
-
accessTokenTypestring RequiredREQUIRED. Type of the access token (See OAuth 2.0). For the current version of the API the type MUST be set to
Bearer.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED access token.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. Type of the access token (See OAuth 2.0).
-
accessTokenTypestring Required -
refreshTokenstring RequiredREQUIRED refresh token.
-
refreshTokenEndpointstring (uri) Required
-
-
phoneNumberstring RequiredA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
durationinteger (int32) RequiredRequested session duration in seconds. Value may be explicitly limited for the QoS profile, as specified in the Qos Profile (see qos-profile API). Implementations can grant the requested session duration or set a different duration, based on network policies or conditions.
Responses
Session created
-
deviceobjectDisambiguates the device to which the session applies when multiple device identifiers were provided
-
phoneNumberstringA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
networkAccessIdentifierstringA public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.
-
ipv4Addressany | anyThe device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers).
If the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress.
If NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object)
In all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.
-
publicAddressstring (ipv4)A single IPv4 address with no subnet mask
-
privateAddressstring (ipv4)A single IPv4 address with no subnet mask
-
publicPortintegerTCP or UDP port number
Any ofanyany -
-
ipv6Addressstring (ipv6)The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).
The session shall apply to all IP flows between the device subnet and the specified application server, unless further restricted by the optional parameters devicePorts or applicationServerPorts.
-
-
applicationServerobject RequiredA server hosting backend applications to deliver some business logic to clients.
The developer can choose to provide the below specified device identifiers:
-
ipv4Address -
ipv6Address
-
ipv4AddressstringIPv4 address may be specified in form <address/mask> as:
- address - an IPv4 number in dotted-quad form 1.2.3.4. Only this exact IP number will match the flow control rule.
- address/mask - an IP number as above with a mask width of the form 1.2.3.4/24. In this case, all IP numbers from 1.2.3.0 to 1.2.3.255 will match. The bit width MUST be valid for the IP version.
-
ipv6AddressstringIPv6 address may be specified in form <address/mask> as:
- address - The /128 subnet is optional for single addresses:
- 2001:db8:85a3:8d3:1319:8a2e:370:7344
- 2001:db8:85a3:8d3:1319:8a2e:370:7344/128
- address/mask - an IP v6 number with a mask:
- 2001:db8:85a3:8d3::0/64
- 2001:db8:85a3:8d3::/64
- address - The /128 subnet is optional for single addresses:
-
-
devicePortsobjectThe ports used locally by the device for flows to which the requested QoS profile should apply. If omitted, then the qosProfile will apply to all flows between the device and the specified application server address and ports
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
applicationServerPortsobjectA list of single ports or port ranges on the application server
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
qosProfilestring RequiredA unique name for identifying a specific QoS profile.
This may follow different formats depending on the API provider implementation.
Some options addresses:
- A UUID style string
- Support for predefined profiles QOS_S, QOS_M, QOS_L, and QOS_E
- A searchable descriptive name The set of QoS Profiles that an API provider is offering may be retrieved by means of the QoS Profile API (qos-profile) or agreed on onboarding time.
-
sinkstring (uri)The address to which events about all status changes of the session (e.g. session termination) shall be delivered using the selected protocol.
-
sinkCredentialobject | object | objectA sink credential provides authentication or authorization information necessary to enable delivery of events to a target.
-
credentialTypestring Required
One of, selected bycredentialType-
credentialTypestring Required -
identifierstring RequiredThe identifier might be an account or username.
-
secretstring RequiredThe secret might be a password or passphrase.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED. An access token is a previously acquired token granting access to the target resource.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired. Token expiration should occur
after the termination of the requested session, allowing the client to be notified of any changes during the
sessions's existence. If the token expires while the session is still active, the client will stop receiving notifications.
If the access token is a JWT and registered "exp" (Expiration Time) claim is present, the two expiry times should match.
It must follow RFC 3339 and must have time zone.
-
accessTokenTypestring RequiredREQUIRED. Type of the access token (See OAuth 2.0). For the current version of the API the type MUST be set to
Bearer.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED access token.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. Type of the access token (See OAuth 2.0).
-
accessTokenTypestring Required -
refreshTokenstring RequiredREQUIRED refresh token.
-
refreshTokenEndpointstring (uri) Required
-
-
sessionIdstring (uuid) RequiredSession ID in UUID format
-
durationinteger (int32) RequiredSession duration in seconds. Implementations can grant the requested session duration or set a different duration, based on network policies or conditions.
-
When
qosStatusis "REQUESTED", the value is the duration to be scheduled, granted by the implementation. -
When
qosStatusis "AVAILABLE", the value is the overall duration since `startedAt. When the session is extended, the value is the new overall duration of the session. -
When
qosStatusis "UNAVAILABLE", the value is the overall effective duration sincestartedAtuntil the session was terminated.
-
-
startedAtstring (date-time)Date and time when the QoS status became "AVAILABLE". Not to be returned when
qosStatusis "REQUESTED". It must follow RFC 3339 and must have time zone. -
expiresAtstring (date-time)Date and time of the QoS session expiration. It must follow RFC 3339 and must have time zone.
-
When
qosStatusis "AVAILABLE", it is the limit time when the session is scheduled to finnish, if not terminated by other means. -
When
qosStatusis "UNAVAILABLE", it is the time when the session was terminated. -
Not to be returned when
qosStatusis "REQUESTED".
When the session is extended, the value is the new expiration time of the session.
-
-
qosStatusstring RequiredThe current status of the requested QoS session. The status can be one of the following:
-
REQUESTED- QoS has been requested by creating a session -
AVAILABLE- The requested QoS has been provided by the network -
UNAVAILABLE- The requested QoS cannot be provided by the network due to some reason
-
-
statusInfostringReason for the new
qosStatus. CurrentlystatusInfois only applicable whenqosStatusis 'UNAVAILABLE'.-
DURATION_EXPIRED- Session terminated due to requested duration expired -
NETWORK_TERMINATED- Network terminated the session before the requested duration expired -
DELETE_REQUESTED- User requested the deletion of the session before the requested duration expired
-
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Conflict
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unprocessable Content
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Too Many Requests
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Response Headers
x-correlatorunknownQoD
Get QoS session information
/orgs /{org_id} /quality-on-demand /sessions /{sessionId} Querying for QoS session resource information details
NOTES:
-
The access token may be either 2-legged or 3-legged.
-
If a 3-legged access token is used, the end user (and device) associated with the session must also be associated with the access token.
-
The session must have been created by the same API client given in the access token
Path parameters
sessionIdstring (uuid)RequiredSession ID that was obtained from the createSession operation
org_idstringRequired
Query parameters
phoneNumberstringRequired
Responses
Contains information about active session
-
deviceobjectDisambiguates the device to which the session applies when multiple device identifiers were provided
-
phoneNumberstringA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
networkAccessIdentifierstringA public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.
-
ipv4Addressany | anyThe device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers).
If the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress.
If NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object)
In all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.
-
publicAddressstring (ipv4)A single IPv4 address with no subnet mask
-
privateAddressstring (ipv4)A single IPv4 address with no subnet mask
-
publicPortintegerTCP or UDP port number
Any ofanyany -
-
ipv6Addressstring (ipv6)The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).
The session shall apply to all IP flows between the device subnet and the specified application server, unless further restricted by the optional parameters devicePorts or applicationServerPorts.
-
-
applicationServerobject RequiredA server hosting backend applications to deliver some business logic to clients.
The developer can choose to provide the below specified device identifiers:
-
ipv4Address -
ipv6Address
-
ipv4AddressstringIPv4 address may be specified in form <address/mask> as:
- address - an IPv4 number in dotted-quad form 1.2.3.4. Only this exact IP number will match the flow control rule.
- address/mask - an IP number as above with a mask width of the form 1.2.3.4/24. In this case, all IP numbers from 1.2.3.0 to 1.2.3.255 will match. The bit width MUST be valid for the IP version.
-
ipv6AddressstringIPv6 address may be specified in form <address/mask> as:
- address - The /128 subnet is optional for single addresses:
- 2001:db8:85a3:8d3:1319:8a2e:370:7344
- 2001:db8:85a3:8d3:1319:8a2e:370:7344/128
- address/mask - an IP v6 number with a mask:
- 2001:db8:85a3:8d3::0/64
- 2001:db8:85a3:8d3::/64
- address - The /128 subnet is optional for single addresses:
-
-
devicePortsobjectThe ports used locally by the device for flows to which the requested QoS profile should apply. If omitted, then the qosProfile will apply to all flows between the device and the specified application server address and ports
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
applicationServerPortsobjectA list of single ports or port ranges on the application server
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
qosProfilestring RequiredA unique name for identifying a specific QoS profile.
This may follow different formats depending on the API provider implementation.
Some options addresses:
- A UUID style string
- Support for predefined profiles QOS_S, QOS_M, QOS_L, and QOS_E
- A searchable descriptive name The set of QoS Profiles that an API provider is offering may be retrieved by means of the QoS Profile API (qos-profile) or agreed on onboarding time.
-
sinkstring (uri)The address to which events about all status changes of the session (e.g. session termination) shall be delivered using the selected protocol.
-
sinkCredentialobject | object | objectA sink credential provides authentication or authorization information necessary to enable delivery of events to a target.
-
credentialTypestring Required
One of, selected bycredentialType-
credentialTypestring Required -
identifierstring RequiredThe identifier might be an account or username.
-
secretstring RequiredThe secret might be a password or passphrase.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED. An access token is a previously acquired token granting access to the target resource.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired. Token expiration should occur
after the termination of the requested session, allowing the client to be notified of any changes during the
sessions's existence. If the token expires while the session is still active, the client will stop receiving notifications.
If the access token is a JWT and registered "exp" (Expiration Time) claim is present, the two expiry times should match.
It must follow RFC 3339 and must have time zone.
-
accessTokenTypestring RequiredREQUIRED. Type of the access token (See OAuth 2.0). For the current version of the API the type MUST be set to
Bearer.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED access token.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. Type of the access token (See OAuth 2.0).
-
accessTokenTypestring Required -
refreshTokenstring RequiredREQUIRED refresh token.
-
refreshTokenEndpointstring (uri) Required
-
-
sessionIdstring (uuid) RequiredSession ID in UUID format
-
durationinteger (int32) RequiredSession duration in seconds. Implementations can grant the requested session duration or set a different duration, based on network policies or conditions.
-
When
qosStatusis "REQUESTED", the value is the duration to be scheduled, granted by the implementation. -
When
qosStatusis "AVAILABLE", the value is the overall duration since `startedAt. When the session is extended, the value is the new overall duration of the session. -
When
qosStatusis "UNAVAILABLE", the value is the overall effective duration sincestartedAtuntil the session was terminated.
-
-
startedAtstring (date-time)Date and time when the QoS status became "AVAILABLE". Not to be returned when
qosStatusis "REQUESTED". It must follow RFC 3339 and must have time zone. -
expiresAtstring (date-time)Date and time of the QoS session expiration. It must follow RFC 3339 and must have time zone.
-
When
qosStatusis "AVAILABLE", it is the limit time when the session is scheduled to finnish, if not terminated by other means. -
When
qosStatusis "UNAVAILABLE", it is the time when the session was terminated. -
Not to be returned when
qosStatusis "REQUESTED".
When the session is extended, the value is the new expiration time of the session.
-
-
qosStatusstring RequiredThe current status of the requested QoS session. The status can be one of the following:
-
REQUESTED- QoS has been requested by creating a session -
AVAILABLE- The requested QoS has been provided by the network -
UNAVAILABLE- The requested QoS cannot be provided by the network due to some reason
-
-
statusInfostringReason for the new
qosStatus. CurrentlystatusInfois only applicable whenqosStatusis 'UNAVAILABLE'.-
DURATION_EXPIRED- Session terminated due to requested duration expired -
NETWORK_TERMINATED- Network terminated the session before the requested duration expired -
DELETE_REQUESTED- User requested the deletion of the session before the requested duration expired
-
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Too Many Requests
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Response Headers
x-correlatorunknownQoD
Delete a QoD session
/orgs /{org_id} /quality-on-demand /sessions /{sessionId} Release resources related to QoS session
If the notification callback is provided and the qosStatus of the
session was AVAILABLE the client will receive in addition to the
response a QOS_STATUS_CHANGED event with
-
qosStatusasUNAVAILABLEand -
statusInfoasDELETE_REQUESTED
There will be no notification event if the qosStatus was already
UNAVAILABLE.
NOTES:
-
The access token may be either 2-legged or 3-legged.
-
If a 3-legged access token is used, the subject associated with the session must also be associated with the access token.
-
The session must have been created by the same API consumer given in the access token
Path parameters
sessionIdstring (uuid)RequiredSession ID that was obtained from the createSession operation
org_idstringRequired
Query parameters
phoneNumberstringRequired
Responses
Session deleted
No body.
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Too Many Requests
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Response Headers
x-correlatorunknownQoD
Extend the duration of an active session
/orgs /{org_id} /quality-on-demand /sessions /{sessionId} /extend Extend the overall session duration of an active QoS session (with qosStatus = AVAILABLE).
The overall duration of the QoS session, including the additional
extended duration, shall not exceed the maximum duration limit fixed for
the QoS Profile. If the current duration plus the value of
requestedAdditionalDuration exceeds the maximum limit, the new overall
duration shall be capped to the maximum value allowed.
An example: For a QoS profile limited to a maxDuration of 50,000
seconds, a QoD session was originally created with duration 30,000
seconds. Before the session expires, the developer requests to extend
the session by another 30,000 seconds:
-
Previous duration: 30,000 seconds
-
Requested additional duration: 30,000 seconds
-
New overall session duration: 50,000 seconds (the maximum allowed)
NOTES:
-
The access token may be either 2-legged or 3-legged.
-
If a 3-legged access token is used, the subject associated with the session must also be associated with the access token.
-
The session must have been created by the same API consumer given in the access token
Path parameters
sessionIdstring (uuid)RequiredSession ID that was obtained from the createSession operation
org_idstringRequired
Request body application/json Required
Parameters to extend the duration of an active session
-
requestedAdditionalDurationinteger (int32) RequiredAdditional duration in seconds to be added to the current session duration. The overall session duration, including extensions, shall not exceed the maximum duration limit for the QoS Profile.
-
phoneNumberstring RequiredA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
Responses
Contains information about active session
-
deviceobjectDisambiguates the device to which the session applies when multiple device identifiers were provided
-
phoneNumberstringA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
networkAccessIdentifierstringA public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.
-
ipv4Addressany | anyThe device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers).
If the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress.
If NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object)
In all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.
-
publicAddressstring (ipv4)A single IPv4 address with no subnet mask
-
privateAddressstring (ipv4)A single IPv4 address with no subnet mask
-
publicPortintegerTCP or UDP port number
Any ofanyany -
-
ipv6Addressstring (ipv6)The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).
The session shall apply to all IP flows between the device subnet and the specified application server, unless further restricted by the optional parameters devicePorts or applicationServerPorts.
-
-
applicationServerobject RequiredA server hosting backend applications to deliver some business logic to clients.
The developer can choose to provide the below specified device identifiers:
-
ipv4Address -
ipv6Address
-
ipv4AddressstringIPv4 address may be specified in form <address/mask> as:
- address - an IPv4 number in dotted-quad form 1.2.3.4. Only this exact IP number will match the flow control rule.
- address/mask - an IP number as above with a mask width of the form 1.2.3.4/24. In this case, all IP numbers from 1.2.3.0 to 1.2.3.255 will match. The bit width MUST be valid for the IP version.
-
ipv6AddressstringIPv6 address may be specified in form <address/mask> as:
- address - The /128 subnet is optional for single addresses:
- 2001:db8:85a3:8d3:1319:8a2e:370:7344
- 2001:db8:85a3:8d3:1319:8a2e:370:7344/128
- address/mask - an IP v6 number with a mask:
- 2001:db8:85a3:8d3::0/64
- 2001:db8:85a3:8d3::/64
- address - The /128 subnet is optional for single addresses:
-
-
devicePortsobjectThe ports used locally by the device for flows to which the requested QoS profile should apply. If omitted, then the qosProfile will apply to all flows between the device and the specified application server address and ports
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
applicationServerPortsobjectA list of single ports or port ranges on the application server
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
qosProfilestring RequiredA unique name for identifying a specific QoS profile.
This may follow different formats depending on the API provider implementation.
Some options addresses:
- A UUID style string
- Support for predefined profiles QOS_S, QOS_M, QOS_L, and QOS_E
- A searchable descriptive name The set of QoS Profiles that an API provider is offering may be retrieved by means of the QoS Profile API (qos-profile) or agreed on onboarding time.
-
sinkstring (uri)The address to which events about all status changes of the session (e.g. session termination) shall be delivered using the selected protocol.
-
sinkCredentialobject | object | objectA sink credential provides authentication or authorization information necessary to enable delivery of events to a target.
-
credentialTypestring Required
One of, selected bycredentialType-
credentialTypestring Required -
identifierstring RequiredThe identifier might be an account or username.
-
secretstring RequiredThe secret might be a password or passphrase.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED. An access token is a previously acquired token granting access to the target resource.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired. Token expiration should occur
after the termination of the requested session, allowing the client to be notified of any changes during the
sessions's existence. If the token expires while the session is still active, the client will stop receiving notifications.
If the access token is a JWT and registered "exp" (Expiration Time) claim is present, the two expiry times should match.
It must follow RFC 3339 and must have time zone.
-
accessTokenTypestring RequiredREQUIRED. Type of the access token (See OAuth 2.0). For the current version of the API the type MUST be set to
Bearer.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED access token.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. Type of the access token (See OAuth 2.0).
-
accessTokenTypestring Required -
refreshTokenstring RequiredREQUIRED refresh token.
-
refreshTokenEndpointstring (uri) Required
-
-
sessionIdstring (uuid) RequiredSession ID in UUID format
-
durationinteger (int32) RequiredSession duration in seconds. Implementations can grant the requested session duration or set a different duration, based on network policies or conditions.
-
When
qosStatusis "REQUESTED", the value is the duration to be scheduled, granted by the implementation. -
When
qosStatusis "AVAILABLE", the value is the overall duration since `startedAt. When the session is extended, the value is the new overall duration of the session. -
When
qosStatusis "UNAVAILABLE", the value is the overall effective duration sincestartedAtuntil the session was terminated.
-
-
startedAtstring (date-time)Date and time when the QoS status became "AVAILABLE". Not to be returned when
qosStatusis "REQUESTED". It must follow RFC 3339 and must have time zone. -
expiresAtstring (date-time)Date and time of the QoS session expiration. It must follow RFC 3339 and must have time zone.
-
When
qosStatusis "AVAILABLE", it is the limit time when the session is scheduled to finnish, if not terminated by other means. -
When
qosStatusis "UNAVAILABLE", it is the time when the session was terminated. -
Not to be returned when
qosStatusis "REQUESTED".
When the session is extended, the value is the new expiration time of the session.
-
-
qosStatusstring RequiredThe current status of the requested QoS session. The status can be one of the following:
-
REQUESTED- QoS has been requested by creating a session -
AVAILABLE- The requested QoS has been provided by the network -
UNAVAILABLE- The requested QoS cannot be provided by the network due to some reason
-
-
statusInfostringReason for the new
qosStatus. CurrentlystatusInfois only applicable whenqosStatusis 'UNAVAILABLE'.-
DURATION_EXPIRED- Session terminated due to requested duration expired -
NETWORK_TERMINATED- Network terminated the session before the requested duration expired -
DELETE_REQUESTED- User requested the deletion of the session before the requested duration expired
-
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Conflict
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Too Many Requests
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Response Headers
x-correlatorunknownQoD
Get QoD session information for a device
/orgs /{org_id} /quality-on-demand /retrieve-sessions Querying for QoS session resource information details for a device
NOTES:
-
The access token may be either 2-legged or 3-legged.
- If a 3-legged access token is used, the subject associated with the session must also be associated with the access token. In this case the optional
deviceparameter MUST NOT be provided in the request. - If a 2-legged access token is used, the device parameter must be provided and identify a device.
- If a 3-legged access token is used, the subject associated with the session must also be associated with the access token. In this case the optional
-
The session must have been created by the same API consumer given in the access token
-
If no QoS session is found for the requested device, an empty array is returned.
-
This call uses the POST method instead of GET to comply with the CAMARA Commonalities guidelines for sending sensitive or complex data in API calls. Since the device field may contain personally identifiable information, it should not be sent via GET. CAMARA API Design Guidelines
Path parameters
org_idstringRequired
Request body application/json Required
Parameters to get QoS session information by device
-
phoneNumberstring RequiredA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
deviceobjectEnd-user equipment able to connect to a network. Examples of devices include smartphones or IoT sensors/actuators.
The developer can choose to provide the below specified device identifiers:
-
ipv4Address -
ipv6Address -
phoneNumber -
networkAccessIdentifier
NOTE1: the network operator might support only a subset of these options. The API consumer can provide multiple identifiers to be compatible across different network operators. In this case the identifiers MUST belong to the same device.
NOTE2: as for this Commonalities release, we are enforcing that the networkAccessIdentifier is only part of the schema for future-proofing, and CAMARA does not currently allow its use. After the CAMARA meta-release work is concluded and the relevant issues are resolved, its use will need to be explicitly documented in the guidelines.
-
phoneNumberstringA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
networkAccessIdentifierstringA public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.
-
ipv4Addressany | anyThe device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers).
If the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress.
If NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object)
In all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.
-
publicAddressstring (ipv4)A single IPv4 address with no subnet mask
-
privateAddressstring (ipv4)A single IPv4 address with no subnet mask
-
publicPortintegerTCP or UDP port number
Any ofanyany -
-
ipv6Addressstring (ipv6)The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).
The session shall apply to all IP flows between the device subnet and the specified application server, unless further restricted by the optional parameters devicePorts or applicationServerPorts.
-
Responses
Returns the QoS sessions information for a given device. A device may have multiple sessions, thus the response is an array. An empty array is returned if no sessions are found.
-
sessionsobject[]An array of QoS sessions for the given device. The array is empty if no sessions are found.
-
deviceobjectDisambiguates the device to which the session applies when multiple device identifiers were provided
-
phoneNumberstringA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
-
networkAccessIdentifierstringA public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.
-
ipv4Addressany | anyThe device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers).
If the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress.
If NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object)
In all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.
-
publicAddressstring (ipv4)A single IPv4 address with no subnet mask
-
privateAddressstring (ipv4)A single IPv4 address with no subnet mask
-
publicPortintegerTCP or UDP port number
Any ofanyany -
-
ipv6Addressstring (ipv6)The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).
The session shall apply to all IP flows between the device subnet and the specified application server, unless further restricted by the optional parameters devicePorts or applicationServerPorts.
-
-
applicationServerobject RequiredA server hosting backend applications to deliver some business logic to clients.
The developer can choose to provide the below specified device identifiers:
-
ipv4Address -
ipv6Address
-
ipv4AddressstringIPv4 address may be specified in form <address/mask> as:
- address - an IPv4 number in dotted-quad form 1.2.3.4. Only this exact IP number will match the flow control rule.
- address/mask - an IP number as above with a mask width of the form 1.2.3.4/24. In this case, all IP numbers from 1.2.3.0 to 1.2.3.255 will match. The bit width MUST be valid for the IP version.
-
ipv6AddressstringIPv6 address may be specified in form <address/mask> as:
- address - The /128 subnet is optional for single addresses:
- 2001:db8:85a3:8d3:1319:8a2e:370:7344
- 2001:db8:85a3:8d3:1319:8a2e:370:7344/128
- address/mask - an IP v6 number with a mask:
- 2001:db8:85a3:8d3::0/64
- 2001:db8:85a3:8d3::/64
- address - The /128 subnet is optional for single addresses:
-
-
devicePortsobjectThe ports used locally by the device for flows to which the requested QoS profile should apply. If omitted, then the qosProfile will apply to all flows between the device and the specified application server address and ports
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
applicationServerPortsobjectA list of single ports or port ranges on the application server
-
rangesobject[]Range of TCP or UDP ports
-
frominteger RequiredTCP or UDP port number
-
tointeger RequiredTCP or UDP port number
-
-
portsinteger[]Array of TCP or UDP ports
-
-
qosProfilestring RequiredA unique name for identifying a specific QoS profile.
This may follow different formats depending on the API provider implementation.
Some options addresses:
- A UUID style string
- Support for predefined profiles QOS_S, QOS_M, QOS_L, and QOS_E
- A searchable descriptive name The set of QoS Profiles that an API provider is offering may be retrieved by means of the QoS Profile API (qos-profile) or agreed on onboarding time.
-
sinkstring (uri)The address to which events about all status changes of the session (e.g. session termination) shall be delivered using the selected protocol.
-
sinkCredentialobject | object | objectA sink credential provides authentication or authorization information necessary to enable delivery of events to a target.
-
credentialTypestring Required
One of, selected bycredentialType-
credentialTypestring Required -
identifierstring RequiredThe identifier might be an account or username.
-
secretstring RequiredThe secret might be a password or passphrase.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED. An access token is a previously acquired token granting access to the target resource.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired. Token expiration should occur
after the termination of the requested session, allowing the client to be notified of any changes during the
sessions's existence. If the token expires while the session is still active, the client will stop receiving notifications.
If the access token is a JWT and registered "exp" (Expiration Time) claim is present, the two expiry times should match.
It must follow RFC 3339 and must have time zone.
-
accessTokenTypestring RequiredREQUIRED. Type of the access token (See OAuth 2.0). For the current version of the API the type MUST be set to
Bearer.
-
credentialTypestring Required -
accessTokenstring RequiredREQUIRED access token.
-
accessTokenExpiresUtcstring (date-time) RequiredREQUIRED. Type of the access token (See OAuth 2.0).
-
accessTokenTypestring Required -
refreshTokenstring RequiredREQUIRED refresh token.
-
refreshTokenEndpointstring (uri) Required
-
-
sessionIdstring (uuid) RequiredSession ID in UUID format
-
durationinteger (int32) RequiredSession duration in seconds. Implementations can grant the requested session duration or set a different duration, based on network policies or conditions.
-
When
qosStatusis "REQUESTED", the value is the duration to be scheduled, granted by the implementation. -
When
qosStatusis "AVAILABLE", the value is the overall duration since `startedAt. When the session is extended, the value is the new overall duration of the session. -
When
qosStatusis "UNAVAILABLE", the value is the overall effective duration sincestartedAtuntil the session was terminated.
-
-
startedAtstring (date-time)Date and time when the QoS status became "AVAILABLE". Not to be returned when
qosStatusis "REQUESTED". It must follow RFC 3339 and must have time zone. -
expiresAtstring (date-time)Date and time of the QoS session expiration. It must follow RFC 3339 and must have time zone.
-
When
qosStatusis "AVAILABLE", it is the limit time when the session is scheduled to finnish, if not terminated by other means. -
When
qosStatusis "UNAVAILABLE", it is the time when the session was terminated. -
Not to be returned when
qosStatusis "REQUESTED".
When the session is extended, the value is the new expiration time of the session.
-
-
qosStatusstring RequiredThe current status of the requested QoS session. The status can be one of the following:
-
REQUESTED- QoS has been requested by creating a session -
AVAILABLE- The requested QoS has been provided by the network -
UNAVAILABLE- The requested QoS cannot be provided by the network due to some reason
-
-
statusInfostringReason for the new
qosStatus. CurrentlystatusInfois only applicable whenqosStatusis 'UNAVAILABLE'.-
DURATION_EXPIRED- Session terminated due to requested duration expired -
NETWORK_TERMINATED- Network terminated the session before the requested duration expired -
DELETE_REQUESTED- User requested the deletion of the session before the requested duration expired
-
-
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unprocessable Content
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Too Many Requests
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Response Headers
x-correlatorunknownDeviceRoamingStatus
Get the current roaming status and the country information
/orgs /{org_id} /device-roaming-status /retrieve Get the current roaming status and the country information
Path parameters
org_idstringRequired
Request body application/json Required
Identify the mobile subscription whose roaming status is to be retrieved.
-
phoneNumberstring RequiredA public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
Responses
Contains information about current roaming status
-
lastStatusTimestring (date-time)Last time that the associated device roaming status was updated
-
roamingboolean RequiredRoaming status. True, if it is roaming
-
countryCodeintegerThe Mobile country code (MCC) as an geographic region identifier for the country and the dependent areas.
-
countryNamestring[]The ISO 3166 ALPHA-2 country-codes of mapped to mobile country code(MCC). If there is mapping of one MCC to multiple countries, then we have list of countries. If there is no mapping of MCC to any country, then an empty array [] shall be returned..
Bad Request
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unauthorized
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Forbidden
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Not found
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Unprocessable Content
-
codestring Requiredcode of the error
-
titlestring Requiredtitle of the error
-
refstring Requiredref of the error
-
detailsstring Requireddetails of the error
Response Headers
x-correlatorstringCorrelation id for the different services