Skip to main content
CDNifyPowered by SSL.com

API

Everything you do in the portal can be automated through the API v2. The previous API v1 and the Reseller API remain available for existing integrations.

  • Token authentication

    Bearer tokens with explicit scopes; the portal uses secure session cookies.

  • Stable error codes

    Errors follow RFC 9457 with a stable code and messages in English or Spanish.

  • Safe retries

    Send an Idempotency-Key with creations so a retried request never runs twice.

  • Cursor pagination

    Lists return an opaque cursor and a has_more flag.

  • Compatible with the previous API

    Integrations built on API v1 and the Reseller API keep working.

API v2 operations

API v2 operations
MethodPathRequired permission
GET/api/v2/organizationorganization.read
PATCH/api/v2/organizationorganization.update
GET/api/v2/organization/membersmembers.read
POST/api/v2/organization/membersmembers.manage
DELETE/api/v2/organization/members/{member_id}members.manage
GET/api/v2/organization/entitlementsorganization.read
GET/api/v2/plansorganization.read
GET/api/v2/reseller/customerstenant.customers_read
POST/api/v2/reseller/customerstenant.customers_manage
GET/api/v2/reseller/customers/{customer_id}tenant.customers_read
GET/api/v2/sitessites.read
POST/api/v2/sitessites.create
GET/api/v2/sites/{site_id}sites.read
PATCH/api/v2/sites/{site_id}sites.update
DELETE/api/v2/sites/{site_id}sites.delete
GET/api/v2/sites/{site_id}/revisionssites.read
GET/api/v2/sites/{site_id}/custom-domainsdomains.read
POST/api/v2/sites/{site_id}/custom-domainsdomains.manage
GET/api/v2/sites/{site_id}/custom-domains/{domain_id}domains.read
DELETE/api/v2/sites/{site_id}/custom-domains/{domain_id}domains.manage
POST/api/v2/sites/{site_id}/custom-domains/{domain_id}/verificationdomains.manage
GET/api/v2/sites/{site_id}/purge-requestssites.read
POST/api/v2/sites/{site_id}/purge-requestscache.purge
GET/api/v2/sites/{site_id}/purge-requests/{purge_id}sites.read
GET/api/v2/billing/subscriptionbilling.read
GET/api/v2/billing/invoicesbilling.read
GET/api/v2/usagebilling.read
POST/api/v2/billing/providers/{provider}/webhooksNone
GET/api/v2/auth/sessionNone
POST/api/v2/auth/loginNone
POST/api/v2/auth/logoutNone
POST/api/v2/auth/password-resetNone
POST/api/v2/auth/password-reset/completeNone
POST/api/v2/auth/mfa/verifyNone
POST/api/v2/auth/reauthenticateNone
POST/api/v2/auth/mfa/totpNone
POST/api/v2/auth/mfa/totp/{factor_id}/confirmNone
POST/api/v2/auth/mfa/recovery-codesNone
GET/api/v2/auth/mfa/factorsNone
DELETE/api/v2/auth/mfa/factors/{factor_id}None
POST/api/v2/auth/registerNone
POST/api/v2/auth/email-verificationNone
POST/api/v2/auth/email-verification/resendNone
POST/api/v2/auth/switch-organizationNone
POST/api/v2/auth/passwordNone
POST/api/v2/auth/impersonationNone
GET/api/v2/api-tokensNone
POST/api/v2/api-tokensNone
POST/api/v2/api-tokens/legacy-keyNone
DELETE/api/v2/api-tokens/{token_id}None
GET/api/v2/certificatescertificates.read
POST/api/v2/certificatescertificates.upload_key
POST/api/v2/certificates/managedcertificates.manage
GET/api/v2/certificates/{certificate_id}certificates.read
GET/api/v2/certificates/{certificate_id}/eventscertificates.read
POST/api/v2/certificates/{certificate_id}/renewalcertificates.manage
GET/api/v2/billing/payment-methodbilling.read
POST/api/v2/billing/payment-method/update-sessionbilling.manage