LogoLogo
Roadmap
  • ๐ŸŒWelcome
  • Get Started
    • ๐Ÿš€DM Champ Accelerator
    • ๐Ÿ“žConnecting Phone
    • ๐Ÿ‘คCreating Contacts
    • ๐Ÿ“šList and Contact Management
    • โฌ†๏ธImporting Contacts
    • โฌ‡๏ธExporting Contacts
    • ๐Ÿ“…Connecting Google Calendar
    • ๐Ÿ”ขBilling System
    • ๐Ÿ“Creating Campaigns
    • ๐Ÿท๏ธCreating Tags
    • ๐ŸชSetting Up Webhooks
    • ๐ŸงฎAgency Accounts
    • ๐Ÿค–GHL (and others) Integration
    • โณFunnels
    • Connecting Facebook and Instagram
    • ๐Ÿ’ฌChats
    • ๐Ÿ’ฌChat Widget
    • WhatsApp Widget
    • ๐Ÿ“ŠDashboard
  • ๐Ÿ–Œ๏ธWebhooks + Custom Functions
  • ๐Ÿ”งMastering Custom Functions and Integrations
  • ๐Ÿท๏ธTags and Custom Functions
  • ๐Ÿ”ŽReal-time Web Search
  • Instagram DM Flow
  • Facebook Messenger DM Flow
  • API
    • System
    • Contacts
    • Tags
    • Summaries
    • Chat Widget
    • WhatsApp Templates
    • WhatsApp Widget
    • Messages
    • SubAccounts
    • Users
Powered by GitBook
On this page

Was this helpful?

  1. API

SubAccounts

PreviousMessagesNextUsers

Was this helpful?

Delete SubAccount

delete

Delete a specific sub-account. Only available for agency and developer accounts.

Query parameters
apiKeystringOptional

API key for authentication

Example: your_api_key
emailstring ยท emailRequired

Email of the sub-account to delete

Responses
200
Sub-account deleted successfully
application/json
400
Invalid request or not an agency account
application/json
404
Sub-account not found
application/json
500
Server error
application/json
delete
DELETE /v1/subaccounts HTTP/1.1
Host: api.dmchamp.com
Accept: */*
{
  "success": true,
  "message": "Sub-account deleted successfully"
}
  • GETGet SubAccount
  • POSTCreate SubAccount
  • DELETEDelete SubAccount

Get SubAccount

get

Retrieve information about a specific sub-account. Only available for agency and developer accounts.

Query parameters
apiKeystringOptional

API key for authentication

Example: your_api_key
emailstring ยท emailRequired

Email of the sub-account to retrieve

Responses
200
Sub-account found
application/json
400
Invalid request or not an agency account
application/json
404
Sub-account not found
application/json
500
Server error
application/json
get
GET /v1/subaccounts HTTP/1.1
Host: api.dmchamp.com
Accept: */*
{
  "success": true,
  "data": {
    "email": "name@gmail.com",
    "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 SubAccount

post

Create a new sub-account within your agency. Only available for agency and developer accounts.

Query parameters
apiKeystringOptional

API key for authentication

Example: your_api_key
Body
emailstring ยท emailRequired

Sub-account user's email address

first_namestringRequired

Sub-account user's first name

last_namestringRequired

Sub-account user's last name

business_namestringOptional

Business name for the sub-account

descriptionstringOptional

Business description

address_linestringOptional

Business address line

citystringOptional

Business city

countrystringOptional

Business country

postal_codestringOptional

Business postal code

statestringOptional

Business state

time_zone_idstringOptional

Time zone identifier

languagestringOptional

Preferred language

Responses
201
Sub-account created successfully
application/json
400
Invalid input or insufficient credits or not an agency account
application/json
500
Server error
application/json
post
POST /v1/subaccounts HTTP/1.1
Host: api.dmchamp.com
Content-Type: application/json
Accept: */*
Content-Length: 383

{
  "email": "subaccount@example.com",
  "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": "name@gmail.com",
    "first_name": "text",
    "last_name": "text",
    "role": "Sub Account",
    "is_agency_sub_account": true,
    "uid": "text",
    "created_time": "2025-06-13T10:13:21.458Z",
    "temporary_password": "text",
    "usage_limits": {
      "monthly_credits": 1,
      "monthly_credits_used": 1,
      "last_reset_date": "2025-06-13T10:13:21.458Z",
      "credits": 1,
      "roll_over_to_next_month": true
    }
  }
}