Skip to content
Last updated: 2026-04-06
Reference

Developer Tools

Resources for integrating Dxtra privacy compliance features into your applications.

Environment Setup First API Request Browse Integrations


Developer Journey

flowchart LR
    A[Environment Setup] --> B[First API Request]
    B --> C{Choose Path}
    C --> D[API Integration]
    C --> E[Widget Embedding]
    C --> F[Platform Integration]
    C --> G[Tag Manager]
    D --> H[Production]
    E --> H
    F --> H
    G --> H
Step Time Guide
1. Environment Setup 5 min Setup Guide
2. First API Request 5 min First Request
3. Choose Integration - Integration Overview
4. Implementation 30+ min See path-specific guides below
5. Testing - Debugging Guide
6. Production - Go-Live Checklist

GraphQL API

Dxtra provides a GraphQL API for managing privacy data for privacy data operations.

Environment Endpoint
Production https://api.dxtra.ai/v1/graphql
Local Dev https://local.graphql.local.dxtra.ai/v1/graphql

Quick links:

Resource Description
Authentication JWT token exchange and API key setup
First API Request Complete walkthrough with code examples
GraphQL Reference Schema documentation
Error Handling Response codes and troubleshooting
Rate Limits Usage limits and best practices

Getting Started

Install Dependencies

Use standard GraphQL clients - no proprietary SDKs required.

Bash
npm install graphql-request graphql
Bash
pip install gql[all]
Bash
# Direct HTTP requests to GraphQL endpoint
curl -X POST https://api.dxtra.ai/v1/graphql \
  -H "Authorization: Bearer YOUR_JWT" \
  -H "X-Hasura-Role: user" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ dataControllers { id title } }"}'

Code Examples

Working implementations for common integration patterns:

Language Guide Use Cases
Node.js Express middleware, React hooks Web apps, APIs
Python FastAPI endpoints Backend services
cURL Command-line examples Testing, scripting

Integration Paths

API Integration

Build custom privacy features with full API control.

Best for: Custom applications, mobile apps, complex workflows

Widget Embedding

Add pre-built privacy components to your website.

Best for: Quick deployment, websites, consent banners

HTML
<script src="https://transparencycenter.dxtra.ai/assets/index.js" type="module"></script>
<transparency-app data-controller-id="YOUR_DATA_CONTROLLER_ID"></transparency-app>

Platform Integrations

Connect third-party services via webhooks.

Best for: E-commerce, marketing tools, payment processors

Text Only
https://conduit.dxtra.ai/api/v1/integrations/{service}/event?did={DID}&dxKey={KEY}
Category Platforms
E-commerce Shopify, WooCommerce
Payments Stripe, QuickBooks
Marketing Mailchimp, Klaviyo, Customer.io
Events Eventbrite, Survey Monkey

View All Integrations

Tag Manager

Privacy-first analytics and tag management.

Best for: Analytics, consent-controlled tracking, A/B testing

HTML
<script src="https://tagmanager-edge.dxtra.ai/tm.js" async></script>

API Limits

Endpoint Type Limit Window
GraphQL queries 100 requests 1 minute
Authentication 10 requests 5 minutes
Webhook ingress 1000 events 1 minute

Details: Rate Limits


Next Steps

  • Environment Setup


    Configure your development environment with API credentials.

    Setup Guide

  • First API Request


    Make your first successful API call in 5 minutes.

    First Request

  • Choose Integration


    Browse available integrations for your platform.

    Integrations

  • Tag Manager


    Set up privacy-first analytics and tag management.

    Tag Manager


Support