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 either an API token or your Comet account credentials.

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

Password Authentication

Provide the email and password parameters in the POST body of your API request.

Note: Password authentication is not supported if two-factor authentication (2FA) is enabled for your account.

Example:

$ curl
-X POST
--data-urlencode "auth_type=password"
--data-urlencode "email=<your-email-here>"
--data-urlencode "password=<your-password-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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
target_forcebooleanA check for permanently deleting a company

Download API Endpoints

LatestVersion

Retrieve information about the latest available version of the Self-Hosted software

Endpoint/latestversion
MethodGET
Response Encodingapplication/json
Response Typeobject
  • No request body
  • No authentication required for this endpoint

Request Parameters

  • No request parameters

Example Response

{
"latest_stable": "24.8.2",
"latest_prerelease": "24.9.4",
"downloads_url": "https://account.cometbackup.com/downloads",
"updates_info": [
"Our new regular \"What's New?\" blog series explains all the latest Comet Backup features, as a convenient bulletin every month.",
"Check out our latest blog post at https://docs.cometbackup.com/blog/"
]
}

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
pagenumber

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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<HostedCometRegion>>

Request Parameters

Required parameters are marked with an asterisk*

Parameter nameTypeDescription
auth_type*stringSpecify the authentication type (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
token*string

User API Endpoints

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
target_contact_name*stringUser contact name. Required.
target_email*stringUser email. Required.
target_password*stringUser 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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
target_id*stringTarget ID of the user to delete. Required.

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 (password or token). Required.
tokenstringSpecify the authentication token. Required if auth_type is token.
emailstringEmail address to log in to account.cometbackup.com. Required if auth_type is password.
passwordstringPassword to log in to account.cometbackup.com. Required if auth_type is password.
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.

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

HostedCometRegion

Parameter nameTypeDescription
idstring
descriptionstring

HostedCometTenant

Parameter nameTypeDescription
idstring
pending_deleteboolean
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

Platform

Parameter nameTypeDescription
platform_idstring
platform_namestring
platform_iconstring
filesize_bytesnumber

ServerLicense

Parameter nameTypeDescription
namestring
serial_numberstring
created_atstring
num_clients_onlinenumber
num_boosters_onlinenumber
server_versionstring
is_archivedboolean
enabledboolean
commentstring
allowed_ip_addressstring
allowed_machine_idstring

User

Parameter nameTypeDescription
idstring
contact_namestring
emailstring
created_atstring
is_primary_contactboolean
is_technicalboolean
is_billingboolean
email_verifiedboolean
twofa_requiredboolean