SubAccounts
Retrieve information about a specific sub-account. Only available for agency and developer accounts.
API key for authentication
your_api_key
Email of the sub-account to retrieve
Sub-account found
Invalid request or not an agency account
Sub-account not found
Server error
GET /v1/subaccounts HTTP/1.1
Host: api.dmchamp.com
Accept: */*
{
"success": true,
"data": {
"email": "[email protected]",
"first_name": "text",
"last_name": "text",
"role": "Sub Account",
"is_agency_sub_account": true,
"business_name": "text",
"description": "text",
"address_line": "text",
"city": "text",
"country": "text",
"postal_code": "text",
"state": "text",
"time_zone_id": "text",
"language": "text",
"usage_limits": {
"monthly_credits": 1,
"monthly_credits_used": 0,
"credits": 1,
"roll_over_to_next_month": false
}
}
}
Create a new sub-account within your agency. Only available for agency and developer accounts.
API key for authentication
your_api_key
Sub-account user's email address
Sub-account user's first name
Sub-account user's last name
Business name for the sub-account
Business description
Business address line
Business city
Business country
Business postal code
Business state
Time zone identifier
Preferred language
Sub-account created successfully
Invalid input or insufficient credits or not an agency account
Server error
POST /v1/subaccounts HTTP/1.1
Host: api.dmchamp.com
Content-Type: application/json
Accept: */*
Content-Length: 383
{
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"business_name": "Sample Business",
"description": "Business description",
"address_line": "123 Main St",
"city": "Sample City",
"country": "US",
"postal_code": "12345",
"state": "CA",
"time_zone_id": "America/Los_Angeles",
"language": "en",
"usage_limits": {
"monthly_credits": 1000,
"credits": 1000,
"roll_over_to_next_month": false
}
}
{
"success": true,
"data": {
"email": "[email protected]",
"first_name": "text",
"last_name": "text",
"role": "Sub Account",
"is_agency_sub_account": true,
"uid": "text",
"created_time": "2025-09-12T14:28:24.058Z",
"temporary_password": "text",
"usage_limits": {
"monthly_credits": 1,
"monthly_credits_used": 1,
"last_reset_date": "2025-09-12T14:28:24.058Z",
"credits": 1,
"roll_over_to_next_month": true
}
}
}
Delete a specific sub-account. Only available for agency and developer accounts.
API key for authentication
your_api_key
Email of the sub-account to delete
Sub-account deleted successfully
Invalid request or not an agency account
Sub-account not found
Server error
DELETE /v1/subaccounts HTTP/1.1
Host: api.dmchamp.com
Accept: */*
{
"success": true,
"message": "Sub-account deleted successfully"
}
Was this helpful?