Guide

Concepts

CAMARA, authentication and the conventions shared across the APIs.

CAMARA
Concepts

CAMARA APIs

CAMARA is the open standard for turning operator network capabilities into plain REST APIs. PAiCore implements that surface, so you integrate the standard once and reach the network through us.

CAMARA is an open-source project under the Linux Foundation, and the API set behind the GSMA Open Gateway initiative. Writing to the standard means your integration is portable: the same request shape works across operators and deployments.

Concepts

Two ways to integrate

Every API here can be consumed two ways. Pick per product and per client:

PathWhat it isBest for
Web (HTTP)Call the REST endpoints directly from your backend with OAuth2. No dependency to add.Any API, any language. The only option for SIM Swap and other backend APIs.
PAiCore SDKFor Number Verification on Android, our SDK performs the device-side step (the mobile-data authorization) so your app writes a few lines.Mobile apps doing Number Verification, where the check must leave from the handset.
Concepts

Authentication

OAuth2 comes in two consent models. Three-legged authenticates the subscriber on each call. Two-legged uses client_credentials with the subscriber named in the request body.

ModelHow it worksUsed by
Three-leggedAuthorization Code + PKCE. The subscriber is authenticated on each call.Number Verification
Two-leggedclient_credentials. The subscriber is named in the request body.SIM Swap and other backend APIs

A data-privacy dpv: purpose is required on every call. It states why the data is used and must be one your client is authorized for.

Concepts

Conventions

Conventions shared across the APIs:

  • REST and JSON, versioned paths. For example /number-verification/v1 and /sim-swap/v2. Use the URL version shown here.
  • OAuth2, in two consent models. Three-legged authenticates the subscriber on each call (Number Verification: Authorization Code + PKCE). Two-legged uses client_credentials with the subscriber named in the request body (SIM Swap and other backend APIs).
  • A data-privacy purpose on every call. A dpv: purpose states why the data is used and must be one your client is authorized for.
  • E.164 numbers. phoneNumber and login_hint carry the full international form, for example +351960000000.
  • Correlation header. Send x-correlator on each call; it is echoed back and used end to end for tracing a request.
  • One base URL. A deployment exposes everything under its public API host. The exact OAuth endpoints are advertised in each API's discovery document.
Base URL and credentials

Throughout these pages $API is your deployment's base URL (for example https://api.<deployment>), and $CLIENT_ID / $CLIENT_SECRET are the confidential client issued to you. They stay on your server.

PAiCore Technology · Concepts · developer documentation.