Skip to main content
The Developer Tools API provides endpoints for managing your TXCloud integration, including API keys, webhooks, and usage analytics.

Key Features

API Key Management

Create, rotate, and manage API keys

Webhooks

Configure and test webhook endpoints

Usage Analytics

Monitor API usage and costs

Audit Logs

Track all API activity

Base URL

https://api.txcloud.io/v1/devex

Authentication

All requests require a Bearer token:
curl https://api.txcloud.io/v1/devex/api-keys \
  -H "Authorization: Bearer txc_live_your_api_key"

Quick Start

import TXCloud from '@txcloud/sdk';

const txcloud = new TXCloud('your_api_key');

// Create a new API key
const newKey = await txcloud.devex.apiKeys.create({
  name: 'Production Key',
  environment: 'live',
  permissions: ['identity:write', 'fraud:read']
});

// Set up a webhook
const webhook = await txcloud.devex.webhooks.create({
  url: 'https://your-app.com/webhooks/txcloud',
  events: ['verification.completed', 'fraud.alert']
});

Endpoints

MethodEndpointDescription
GET/devex/api-keysList API keys
POST/devex/api-keysCreate API key
DELETE/devex/api-keys/{id}Revoke API key
GET/devex/webhooksList webhooks
POST/devex/webhooksCreate webhook
POST/devex/webhooks/{id}/testTest webhook
GET/devex/usageGet usage stats