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.
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
- API Overview - Introduction to the GraphQL API
- GraphQL Reference - Complete schema documentation
- Code Examples - Production-ready patterns
Widget Embedding¶
Add pre-built privacy components to your website.
Best for: Quick deployment, websites, consent banners
<script src="https://transparencycenter.dxtra.ai/assets/index.js" type="module"></script>
<transparency-app data-controller-id="YOUR_DATA_CONTROLLER_ID"></transparency-app>
- Widget Embedding Guide - Complete integration guide
- Widget Overview - Available components
Platform Integrations¶
Connect third-party services via webhooks.
Best for: E-commerce, marketing tools, payment processors
| Category | Platforms |
|---|---|
| E-commerce | Shopify, WooCommerce |
| Payments | Stripe, QuickBooks |
| Marketing | Mailchimp, Klaviyo, Customer.io |
| Events | Eventbrite, Survey Monkey |
Tag Manager¶
Privacy-first analytics and tag management.
Best for: Analytics, consent-controlled tracking, A/B testing
- Tag Manager Overview - Platform capabilities
- Installation - Setup guide
- Consent Integration - Connect with consent management
- Tag Manager API - API reference
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.
-
First API Request
Make your first successful API call in 5 minutes.
-
Choose Integration
Browse available integrations for your platform.
-
Tag Manager
Set up privacy-first analytics and tag management.
Support¶
- Troubleshooting - Common issues and solutions
- Support Contact - Technical assistance
- Community Forum - Developer discussions