Get my dochost account
get_accountGet your plan, page-quota usage, entitlement flags (size cap, custom slug, password, branding), and the primary host new links publish on. Call before publishing so you know your limits up front. The primary host is chosen in the dashboard (manageDomainsUrl), not through this API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| plan | Yes | ||
| password | No | ||
| analytics | No | ||
| pageQuota | No | ||
| pagesUsed | No | ||
| sizeCapMb | No | ||
| customSlug | No | ||
| noBranding | No | ||
| primaryHost | No | Host new links publish on: a custom domain, `{sub}.dochost.co`, or `dochost.co/d`. | |
| pagesRemaining | No | ||
| permanentLinks | No | ||
| manageDomainsUrl | No | Dashboard page where the user adds domains and picks the primary one. Send them here to change it. |