Skip to main content

Comet Account Portal API

Getting Started

As well as making API requests to your Comet Server instances described in the previous sections, an API is also available for the Comet Account Portal. This API allows you to control some parts of your Comet account by making HTTP POST requests to https://account.cometbackup.com.

Authentication

Authentication for the Comet Account Portal API can be performed using an API token.

Token Authentication

Provide the token parameter in the POST body of your request, or by using Bearer authentication. You can manage your API tokens from the API token management page in the Comet Account Portal.

Example:

$ curl
-X POST
-H "Authorization: Bearer <your-token-here>"
https://account.cometbackup.com/api/v1/license/list_licenses

$ curl
-X POST
--data-urlencode "auth_type=token"
--data-urlencode "token=<your-token-here>"
https://account.cometbackup.com/api/v1/license/list_licenses

Notes

  1. All requests must be application/x-www-form-urlencoded encoded.

  2. All response object will be application/json encoded. Unless otherwise specified.

  3. The code field in the JSON response should always match the HTTP response code.

CloudView API Endpoints

CloudViewConvertToPaid (Deprecated)

Convert the Comet CloudView instance for this account into active/paid mode

Endpoint/api/v1/cloudview/convert-to-paid
MethodPOST
Token ActionCloudView::ConvertToPaid
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

CloudViewConvertToTrial (Deprecated)

Convert the Comet CloudView instance for this account into trial mode

Endpoint/api/v1/cloudview/convert-to-trial
MethodPOST
Token ActionCloudView::ConvertToTrial
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

CloudViewGenerateLoginCredentials (Deprecated)

Generate the Comet CloudView login credentials for this account

Endpoint/api/v1/cloudview/generate-login-credentials
MethodPOST
Token ActionCloudView::GenerateLoginCredentials
Response Encodingapplication/json
Response TypeApiResponse<CloudViewLoginCredentials>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

CloudViewProvision (Deprecated)

Provision a trial-mode Comet Cloudview instance for this account.

Endpoint/api/v1/cloudview/provision
MethodPOST
Token ActionCloudView::InstanceProvision
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

CloudViewStatus (Deprecated)

Get the status of the Comet CloudView instance for this account. Returns DISABLED, PROVISIONING, READY, or FAILED

Endpoint/api/v1/cloudview/status
MethodPOST
Token ActionCloudView::Status
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

CloudViewTerminate (Deprecated)

Terminate the Comet Cloudview instance for this account (permanent).

Endpoint/api/v1/cloudview/terminate
MethodPOST
Token ActionCloudView::InstanceTerminate
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

Company API Endpoints

CompanyDelete

Close your Comet Account

Endpoint/api/v1/company/delete
MethodPOST
Token ActionCompany::Delete
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_forcebooleanA check for permanently deleting a company

Download API Endpoints

DownloadsGet

Returns an HTTP 301 redirect for the given Self-Hosted software download

Endpoint/api/v1/downloads/get
MethodPOST
Token ActionDownload::Get
Response Encodingtext/plain;charset=UTF-8
Response Typenull

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
version_key*stringThe target version key in the 22.x.x, latest-voyager, or latest-quarterly format. Required.
platform*stringThe target platform type. Required. Valid Platforms - download_windows, download_linux_deb, download_linux_rpm, download_linux_tar, download_linux_arm64_deb, download_linux_arm64_rpm, and download_linux_arm64_tar

DownloadsGetMetadata

Get download metadata for a given version key

Endpoint/api/v1/downloads/meta
MethodPOST
Token ActionDownload::GetMetadata
Response Encodingapplication/json
Response TypeApiResponse<CometVersion>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
version_key*stringThe target version key in the 22.x.x, latest-voyager, or latest-quarterly format. Required.

DownloadsList

List available Self-Hosted software downloads

Endpoint/api/v1/downloads/list_downloads
MethodPOST
Token ActionDownload::ListDownloads
Response Encodingapplication/json
Response TypeApiResponse<Array<CometVersion>>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_search_querystring
pagenumber
page_sizenumber

DownloadsList_Legacy (Deprecated)

This API endpoint is deprecated until 2025-06, after which it will be removed.

List available Self-Hosted software downloads. (Deprecated. Use DownloadsList).

Note: The response encoding for this request will change based on the requested format.

Endpoint/api/v1/downloads/list
MethodPOST
Token ActionDownload::ListDownloads
Response Encodingtext/plain;charset=UTF-8
Response Typeany

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
formatstringThe format of the table. Optional. json, csv, or xlsx (Default: json)

HostedComet API Endpoints

HostedCometCreate

Create a new Comet-Hosted instance

Endpoint/api/v1/hosted_comet/create
MethodPOST
Token ActionHostedComet::Create
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_namestringThe display name for the target server. Optional.
target_region*stringThe target hosted region. Required. (See HostedCometListRegions)
target_domainstringThe subdomain for the target server. Optional.
target_email_send_as*stringThe email that should be used to send emails on behalf of
target_email_from*stringThe name to show in the SMTP From field when sending emails
target_storage_type*stringThe storage type to autoconfigure, if any. Required.
target_storage_bucket_namestringThe bucket in the strage provider to use. Required if 'target_storage_type' is 'wasabi' or 'backblaze'.
target_storage_wasabi_access_keystringThe Wasabi root access key. Optional.
target_storage_wasabi_secret_keystringThe Wasabi root secret key. Optional.
target_storage_b2_application_keystringThe Backblaze B2 application key. Optional.
target_storage_b2_application_key_idstringThe Backblaze B2 application key id. Optional.

HostedCometDelete

Delete a Comet-Hosted instance

Endpoint/api/v1/hosted_comet/delete
MethodPOST
Token ActionHostedComet::DeleteInstance
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_hosted_server_id*stringThe target ID for the hosted server. Required.

HostedCometDescribe

Retrieve the state for a single Comet-Hosted instance

Endpoint/api/v1/hosted_comet/describe
MethodPOST
Token ActionHostedComet::Describe
Response Encodingapplication/json
Response TypeApiResponse<HostedCometTenant>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_hosted_server_id*stringThe target ID for the hosted server. Required.

HostedCometList

List all Comet-Hosted instances in your account

Endpoint/api/v1/hosted_comet/list
MethodPOST
Token ActionHostedComet::ListInstances
Response Encodingapplication/json
Response TypeApiResponse<Array<HostedCometTenant>>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

HostedCometListRegions

List available Comet-Hosted regions for your account

Endpoint/api/v1/hosted_comet/list_regions
MethodPOST
Token ActionHostedComet::ListRegions
Response Encodingapplication/json
Response TypeApiResponse<Array<HostedCometListRegionsResponse>>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

HostedCometSetFavourite

Set the favourited status of a Comet-Hosted instance

Endpoint/api/v1/hosted_comet/set_favourite
MethodPOST
Token ActionHostedComet::SetFavourite
Response Encodingapplication/json
Response TypeApiResponse<null>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_hosted_server_id*stringThe target ID for the hosted server. Required.
target_state*booleanThe target favourited status for the hosted server. Required.

HostedCometSetName

Update the name of a Comet-Hosted instance

Endpoint/api/v1/hosted_comet/set_name
MethodPOST
Token ActionHostedComet::SetName
Response Encodingapplication/json
Response TypeApiResponse<null>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_hosted_server_id*stringThe target ID for the hosted server. Required.
target_name*stringThe target name for the hosted server. Required.

HostedCometUpdateBrandingSettings

Update the DNS and/or email settings for a single Comet-Hosted instance. See: Comet Server API

Endpoint/api/v1/hosted_comet/update_branding
MethodPOST
Token ActionHostedComet::UpdateBranding
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_hosted_server_id*stringThe target ID for the hosted server. Required.
target_use_custom_domainbooleanThe status of the custom domain. Optional. (default: false)
target_custom_domainstringThe custom domain, configured to CNAME the hosted comet url. Optional.
target_email_send_as*stringThe email address that should be used to send reports on behalf of. Required.
target_email_from*stringThe email FROM name to show when sending reports. Required.
target_email_delivery_method*stringThe type of the email configuration, 'ses' or 'smtp'. Required.
target_smtp_hoststringThe custom SMTP server hostname. Optional.
target_smtp_portnumberThe custom SMTP server port. Optional.
target_smtp_usernamestringThe custom SMTP server username. Optional.
target_smtp_passwordstringThe custom SMTP server password. Optional.
target_smtp_securitystringThe custom SMTP server security type, 'tls', 'starttls', or 'plain'. Optional.
target_smtp_accept_invalid_ssl_certificatebooleanShould we accept invalid SSL certificates from the custom SMTP server? Optional.

HostedCometCreate_Legacy (Deprecated)

This API endpoint is deprecated until 2025-06, after which it will be removed.

Create a new CometGo! instance. (Deprecated. Use HostedCometCreate)

Endpoint/api/v1/cometgo
MethodPOST
Token ActionHostedComet::Create
Response Encodingapplication/json
Response TypeApiResponse<object>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

HostedCometList_Legacy (Deprecated)

List all CometGo! instances in your account. (Deprecated. Use HostedCometList)

Endpoint/api/v1/cometgo/list
MethodPOST
Token ActionHostedComet::ListInstances
Response Encodingapplication/json
Response TypeApiResponse<Array<object>>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

HostedCometStatus_Legacy (Deprecated)

This API endpoint is deprecated until 2025-06, after which it will be removed.

Get the status of a CometGo! instance. (Deprecated. Use HostedCometDescribe)

Endpoint/api/v1/cometgo/status
MethodPOST
Token ActionHostedComet::Describe
Response Encodingapplication/json
Response TypeApiResponse<object>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

HostedCometTerminate_Legacy (Deprecated)

This API endpoint is deprecated until 2025-06, after which it will be removed.

Terminate a CometGo! instance. (Deprecated. Use HostedCometDelete)

Endpoint/api/v1/cometgo/terminate
MethodPOST
Token ActionHostedComet::DeleteInstance
Response Encodingapplication/json
Response TypeApiResponse<null>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

License API Endpoints

LicenseArchiveLicense

Archive an existing Self-Hosted license. Archived licenses will be disabled and can not be reused

Endpoint/api/v1/license/archive
MethodPOST
Token ActionLicense::ArchiveLicense
Response Encodingtext/plain;charset=UTF-8
Response Typestring

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
serial*stringThe serial of the license to relax. Required.

LicenseCreateLicense

Create a new server license

Endpoint/api/v1/license/create_license
MethodPOST
Token ActionLicense::CreateLicense
Response Encodingapplication/json
Response TypeApiResponse<ServerLicense>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_namestringName of the new server license. Optional.

LicenseListLicenses

List Self-Hosted serial numbers

Endpoint/api/v1/license/list_licenses
MethodPOST
Token ActionLicense::ListLicenses
Response Encodingapplication/json
Response TypeApiResponse<Array<ServerLicense>>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

LicenseRelaxLicense

Relax the IP address and machine ID restrictions for a Self-Hosted license

Endpoint/api/v1/license/relax
MethodPOST
Token ActionLicense::RelaxLicense
Response Encodingtext/plain;charset=UTF-8
Response Typestring

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
serial*stringThe serial of the license to relax. Required.

LicenseResyncAll

Force sync to get the latest state from the license server

Endpoint/api/v1/license/resync_all
MethodPOST
Token ActionLicense::ResyncAll
Response Encodingapplication/json
Response TypeApiResponse<null>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

LicenseSetFavourite

Update the server license favourited status

Endpoint/api/v1/license/set_favourite
MethodPOST
Token ActionLicense::SetFavourite
Response Encodingapplication/json
Response TypeApiResponse<null>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_serial*string
target_state*boolean

LicenseSetLockState

Update the server license lock state

Endpoint/api/v1/license/set_lock_state
MethodPOST
Token ActionLicense::SetLockState
Response Encodingapplication/json
Response TypeApiResponse<null>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_serial*string
target_lock_state*boolean

LicenseSetName

Update the server license name

Endpoint/api/v1/license/set_name
MethodPOST
Token ActionLicense::SetName
Response Encodingapplication/json
Response TypeApiResponse<null>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_serial*string
target_name*string

LicenseCreateLicense_Legacy (Deprecated)

Create a new Self-Hosted license. (Deprecated. See LicenseCreateLicense)

Endpoint/api/v1/license/create
MethodPOST
Token ActionLicense::CreateLicense
Response Encodingtext/plain;charset=UTF-8
Response Typestring

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_namestringName of the new server license. Optional.

LicenseListAllLicenses_Legacy (Deprecated)

This API endpoint is deprecated until 2025-06, after which it will be removed.

List serial numbers for user account. (Deprecated. Use LicenseListLicenses)

Endpoint/api/v1/license/list_all
MethodPOST
Token ActionLicense::ListLicenses
Response Encodingtext/plain;charset=UTF-8
Response TypeArray<object>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

Report API Endpoints

ReportActiveServices

Export active services report.

Note: The response encoding for this request will change based on the requested format.

Endpoint/api/v1/report/active_services
MethodPOST
Token ActionReport::ListActiveServices
Response Encodingtext/plain;charset=UTF-8
Response Typeany

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
formatstringThe format of the table. Optional. json, csv, or xlsx (Default: json)

ReportBillingHistory

Export usage history report.

Note: The response encoding for this request will change based on the requested format

Endpoint/api/v1/report/billing_history
MethodPOST
Token ActionReport::ListBillingHistory
Response Encodingtext/plain;charset=UTF-8
Response Typeany

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
formatstringThe format of the table. Optional. json, csv, or xlsx (Default: json)

Token API Endpoints

TokenCreateToken

Create an API token for a company

Endpoint/api/v1/token/create_token
MethodPOST
Token ActionToken::CreateToken
Response Encodingapplication/json
Response TypeApiResponse<CompanyApiToken>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
permissions*Array<string>List of API token actions. Valid options can be found by calling TokenListActions

TokenListActions

List available API token actions that can be provided to TokenCreateToken

Endpoint/api/v1/token/list_actions
MethodPOST
Token ActionToken::ListActions
Response Encodingapplication/json
Response TypeApiResponse<Array<string>>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

TokenListTokens

List your API tokens, including revoked tokens

Endpoint/api/v1/token/list_tokens
MethodPOST
Token ActionToken::ListTokens
Response Encodingapplication/json
Response TypeApiResponse<Array<CompanyApiToken>>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

TokenRevokeToken

Revoke a given API token

Endpoint/api/v1/token/revoke_token
MethodPOST
Token ActionToken::RevokeToken
Response Encodingapplication/json
Response TypeApiResponse<null>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
token*string

User API Endpoints

MfaDisableTotp

Disable Two-Factor Authentication (Both TOTP and WebAuthn)

Endpoint/api/v1/user/mfa/disable
MethodPOST
Token ActionUser::PatchSelf
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

MfaEnableTotp

Enable Two-Factor Authentication (TOTP)

Endpoint/api/v1/user/mfa/enable-totp
MethodPOST
Token ActionUser::PatchSelf
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
totp_secret*string
totp_verify_code*string

MfaWebauthnEnable

Enable Two-Factor Authentication (WebAuthn)

Endpoint/api/v1/user/mfa/webauthn/enable
MethodPOST
Token ActionUser::PatchSelf
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
webauthn_challenge_response*string

MfaWebauthnRequestChallenge

Request a challenge in order to enable WebAuthn 2FA

Endpoint/api/v1/user/mfa/webauthn/request-challenge
MethodPOST
Token ActionUser::PatchSelf
Response Encodingapplication/json
Response TypeApiResponse<UserMfaEnableWebauthnChallengeResponse>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

UserChangePassword

Reset user account password

Endpoint/api/v1/user/change-password
MethodPOST
Token ActionUser::PatchSelf
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
new_password*string

UserCreateUser

Create a new user account

Endpoint/api/v1/user/create_user
MethodPOST
Token ActionUser::CreateUser
Response Encodingapplication/json
Response TypeApiResponse<User>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_contact_name*stringUser contact name. Required.
target_email*stringUser email. Required.
target_password*string|nullUser password. Required. Must have at least 8 characters, one uppercase letter, one lowercase letter and one number.
target_is_billingbooleanShould the user receive billing emails? Optional.
target_is_technicalbooleanShould the user receive technical email? Optional.
send_verification_emailbooleanShould an email verification token be sent? Optional.

UserDeleteUser

Delete a single user account

Endpoint/api/v1/user/delete_user
MethodPOST
Token ActionUser::DeleteUser
Response Encodingapplication/json
Response TypeApiResponse<null>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_id*stringTarget ID of the user to delete. Required.

UserGetAccountSettings

Get basic user and company settings for the logged-in account

Endpoint/api/v1/user/account-settings/get
MethodPOST
Token ActionUser::ReadSelf
Response Encodingapplication/json
Response TypeApiResponse<???>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

UserListUsers

List the other user accounts in my company

Endpoint/api/v1/user/list_company_users
MethodPOST
Token ActionUser::PatchUser
Response Encodingapplication/json
Response TypeApiResponse<Array<User>>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.

UserPatchUser

Update a single user account

Endpoint/api/v1/user/patch_user
MethodPOST
Token ActionUser::PatchUser
Response Encodingapplication/json
Response TypeApiResponse<User>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
target_id*stringThe target ID for the user. Required.
target_contact_namestringThe contact name for the user. Optional.
target_emailstringThe email for the user. Optional.
target_passwordstringThe password for the user. Optional.
target_is_billingbooleanShould the user receive billing emails? Optional.
target_is_technicalbooleanShould the user receive technical email? Optional.

UserSetAccountSettings

Set basic user and company settings for the logged-in account

Endpoint/api/v1/user/account-settings/set
MethodPOST
Token ActionUser::PatchSelf
Response Encodingapplication/json
Response TypeApiResponse<string>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
user_contact_name*string
user_email*string
user_is_2fa_required*boolean
user_notifications_is_technical*boolean
user_notifications_is_billing*boolean
user_notifications_email_weekly_usage*boolean
company_name*string
company_phone_number*string
company_address_streetstring
company_address_citystring
company_address_postcodestring
company_address_country*string

Constants

COMET_VERSION_* (number)

NameTypeValueDescription
CURRENTnumber1
BEHIND_MAJORnumber2
BEHIND_MINORnumber3
BEHIND_PATCHnumber4

HOSTED_COMET_REGION_* (string)

NameTypeValueDescription
US_WEST_1stringus-west-1
US_EAST_1stringus-east-1
EU_CENTRAL_1stringeu-central-1
EU_WEST_2stringeu-west-2
AP_SOUTHEAST_2stringap-southeast-2

Response Types

ApiResponse

Parameter nameTypeDescription
statusstringThe response status: ok or error
codenumberThe response HTTP status code
data\<any>The response data

Examples Response Format

Example HTTP 200 Response:

{
"status": "ok",
"code": 200,
"data": [
{ ... },
]
}

Example HTTP 401 Response:

{
"status": "error",
"code": 401,
"data": {
"message": "You do not have access to this resource."
}
}

CloudViewLoginCredentials

Parameter nameTypeDescription
statusstring
login_urlstring
login_postdatastring

CometVersion

Parameter nameTypeDescription
versionstring
shortstringstring
codenamestring
platformsArray<Platform>
release_notes_urlstring
release_datestring
is_prereleaseboolean

CompanyApiToken

Parameter nameTypeDescription
api_tokenstring
created_atstring
updated_atstring
revoked_atstring
last_used_atstring
permissionsstring

HostedCometListRegionsResponse

Parameter nameTypeDescription
idstring
descriptionstring

HostedCometTenant

Parameter nameTypeDescription
idstring
pending_deleteboolean
pending_delete_failedboolean
admin_usernamestring
admin_passwordstring
send_as_display_namestring
send_as_email_addressstring
send_as_email_verifiedboolean
send_as_dmarc_verifiedboolean
server_namestring
user_dnsstring
created_atstring
date_deletedstring
use_custom_dnsboolean
user_custom_dnsstring
smtp_modestring
smtp_hoststring
smtp_portnumber
smtp_usernamestring
smtp_passwordstring
smtp_securitystring
smtp_accept_invalid_certificateboolean
favouritedboolean
num_devices_onlinenumber
num_boosters_onlinenumber
regionHOSTED_COMET_REGION_* (string)
versionstring

Platform

Parameter nameTypeDescription
platform_idstring
platform_namestring
platform_iconstring
filesize_bytesnumber

Region

Parameter nameTypeDescription
namestring
codestring
default_hosted_regionstring
default_cspbw_regionstring

ServerLicense

Parameter nameTypeDescription
namestring
serial_numberstring
created_atstring
num_clients_onlinenumber
num_boosters_onlinenumber
server_versionstring
is_archivedboolean
is_outdatedCOMET_VERSION_* (number)|null
enabledboolean
commentstring
allowed_ip_addressstring
allowed_machine_idstring
favouritedboolean
regionRegion|null

User

Parameter nameTypeDescription
idstring
contact_namestring
emailstring
created_atstring
is_primary_contactboolean
is_technicalboolean
is_billingboolean
is_webprosboolean
email_verifiedboolean
twofa_requiredboolean

UserMfaEnableWebauthnChallengeResponse

Parameter nameTypeDescription
webauthn_challengestringThe WebAuthn challenge (PublicKeyCredentialRequestOptions) encoded in JSON format.