Account Management
Learn how to manage your PantheonCloud account, including user management, billing, security settings, and API access control.
Overview
PantheonCloud's Account Management API provides comprehensive tools to manage your account resources programmatically. This includes user administration, role-based access control, billing information management, API key generation, and account settings configuration. Our API allows you to integrate account management functionality directly into your applications and workflows.
User Management
Add, remove, and update users with role-based permissions.
Security Controls
API keys, webhook management, and security settings configuration.
Billing & Usage
Manage payment methods, view invoices, and track usage metrics.
Frequently Asked Questions
API Integration
Integrate account management functionality into your application with these key endpoints:
Get Account Details
GEThttps://api.bitpanyun.com/v1/account/details
Response
{
"account_id": "acct_1234567890",
"account_name": "Example Corp",
"created_at": "2022-01-15T08:30:00Z",
"plan": "professional",
"status": "active",
"usage": {
"sms": {
"current": 4500,
"limit": 10000,
"period": "monthly"
},
"voice": {
"current": 1200,
"limit": 5000,
"period": "monthly"
}
},
"billing": {
"next_billing_date": "2023-08-01T00:00:00Z",
"currency": "USD",
"automatic_payments": true
}
}
Create API Key
POSThttps://api.bitpanyun.com/v1/account/api-keys
Request Body
{
"name": "Integration API Key",
"permissions": ["messaging:send", "voice:call", "analytics:read"],
"expires_at": "2024-01-01T00:00:00Z",
"description": "API key for production integration"
}
Response
{
"key_id": "key_1234567890abcdef",
"api_key": "sk_live_6a7b8c9d0e1f2g3h4i5j6k7l8m9n0o",
"name": "Integration API Key",
"created_at": "2023-07-15T10:30:00Z",
"expires_at": "2024-01-01T00:00:00Z",
"permissions": ["messaging:send", "voice:call", "analytics:read"]
}