v1

latestOpenAPI 3.0.22026-07-1319091298.3 KB
Integrations

Mint JWT token for custodial platform integration

Authenticates using platform-specific session token (e.g., Shopify Session Token) and returns a session response with a short-lived JWT token for accessing Didomi Admin API resources. The token is scoped to the integration's role (external-integrations-notices-manager) and organization. Only custodial integrations are supported.

post/platform-integrations/sessions

Headers

X-Shopify-Authorizationstring required
Example:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Shopify session token (JWT) from App Bridge

Request body

PlatformIntegrationsSessionsInput required

Response

JWT token successfully minted

typestring required

Session type (always "api-key")

keystring required

API key ID

access_tokenstring required

JWT access token for API authentication

platform_integration_idstring required

ID of the platform integration this token authenticates against.

Example response

{
  "type": "api-key"
}