Child Accounts

Create a new account

For getting list of products use documentation here: https://www.activecampaign.com/partner/api/v2/example.php?call=/api/v1/products. More detailed instructions can be found in Step 1 of this document: https://www.activecampaign.com/partner/api/v2/account_add_flow.php

post/api/child-accounts/v1/

Request

  • Base URL
    https://agency-partner-hub-web.global-aws-use1-p.app-us1.com
  • URL
    https://agency-partner-hub-web.global-aws-use1-p.app-us1.com/api/child-accounts/v1/
  • Auth
    • API key in header api-key
    • or HTTP bearer

Request body

account_namestring required

Display name for the account

cnamestring nullable

Custom domain (CNAME) for the account

namestring required

Contact or account owner name

emailstring email required

Primary account email

notificationstring required

Notification email address for account-related alerts

languagestring nullable

Account language name (e.g. polish, dutch, english)

timezonestring nullable

IANA timezone identifier (e.g. Europe/Amsterdam, America/New_York)

snapshotstring nullable

Deprecated. Use snapshot_id instead.

currencystring nullable

Currency code (e.g. USD, PLN, EUR)

billing_intervalinteger required

Billing interval in months

profilestring nullable

Billing profile identifier. Go to update card/billing settings, copy the string_id from the URL.

countrystring required

ISO country code (e.g. US, PL, GB)

snapshot_idinteger nullable

ID of the snapshot to clone from. Obtain from GET /api/child-account-snapshots/v1/ endpoint.

Example request

{
  "account_name": "My Account",
  "cname": "subdomain.example.com",
  "name": "John Doe",
  "email": "user@example.com",
  "notification": "notify@example.com",
  "language": "english",
  "timezone": "Europe/Amsterdam",
  "currency": "USD",
  "billing_interval": 1,
  "products": [
    {
      "addon": null,
      "code": "ac",
      "tier": "basic",
      "name": null,
      "version": null,
      "entitlements": []
    }
  ],
  "profile": "pm_xxxxxxxxxxxx",
  "country": "US",
  "snapshot_id": 123
}

Response

Account created successfully.

Changes

No recorded changes to this operation across all 1 revision of this API.