AI ready
Open in Claude (opens in a new tab)View as Markdown

Get an event

GET/events/{eventId}

Use this to fetch one event by its id.

Token
Bearer API token: cxk_live_ followed by 46 letters and digits
Scope
webhooks:read
Header
Authorization: Bearer $CLOUDUXE_API_KEY

How tokens and scopes work: Authentication and scopes.

  • eventIdstring (uuid)Required

    The event's id.

  • Clouduxe-VersionstringOptional

    The API version to use, such as 2026-12-01. Omit it to use your token's version.

    pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$

Returns

200OK The event.

  • objectstringRequired

    The object's type. Always "event".

  • idstring (uuid)Required

    The event's id. Deliveries of the same event carry the same id: record ids you processed and ignore repeats.

  • typestringRequired

    The event type. webhook_endpoint.test is sent only by testWebhookEndpoint, to that endpoint.

    One oforder.paidorder.heldorder.completedorder.cancelledservice.createdservice.provisionedservice.provisioning_failedservice.suspendedservice.unsuspendedservice.plan_changedservice.cancellation_scheduledservice.cancellation_removedservice.renewedservice.terminatingservice.terminatedaction.completedinvoice.createdinvoice.paidinvoice.overdueinvoice.cancelledwallet.creditedticket.repliedticket.closedapi_token.revokedprotection.attack_startedprotection.attack_endedwebhook_endpoint.test
  • apiVersionstringRequired

    The API version data.object is rendered in.

  • createdAtstring (date-time)Required

    When it happened.

  • dataobjectRequired

    The event's data.

    Show 2 child attributesHide 2 child attributes
    • objectOrder or Service or Action or Invoice or Wallet or Ticket or ApiToken or WebhookEndpoint or ProtectionIncidentRequired

      The object as it was when the event happened: an order, a service, an action, an invoice, a wallet, a ticket, an api_token or (for a test) a webhook_endpoint, by the event type. Its object field names which.

      Show the 9 possible shapesHide the 9 possible shapes

      Order

      • objectstringRequired

        The object's type. Always "order".

      • idstring (uuid)Required

        The order's id.

      • statusstringRequired

        placed (invoiced, not paid), paid (provisioning has started), held (paid, waiting for a review before set-up), completed (every service is ready) or cancelled.

        One ofplacedpaidheldcompletedcancelled
      • itemsarray of OrderItemRequired

        The order's services.

        Show 10 child attributesHide 10 child attributes
        • idstring (uuid)Required

          The item's id.

        • planIdstringRequired

          The plan's id.

        • billingCycleMonthsintegerRequired

          The billing cycle in months.

        • hostnamestring or nullRequired

          The hostname ordered, or null.

        • labelstring or nullRequired

          The label ordered, or null.

        • priceobjectRequired

          The item's price per cycle, excluding GST.

          Show 2 child attributesHide 2 child attributes
          • amountintegerRequired

            The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

            min -9007199254740991, max 9007199254740991
          • currencystringRequired

            The ISO 4217 currency code, upper case.

            pattern ^[A-Z]{3}$
        • serviceIdstring (uuid) or nullRequired

          The service made for this item, or null until it exists.

        • actionIdstring (uuid) or nullRequired

          The provision action for this item, or null before payment.

        • referencestring or nullRequired

          Your own identifier for this object, such as your client's id in your billing system. 1 to 100 printable characters, or null. Not unique: several objects may share one. Filter lists by it with the reference query parameter.

          min length 1, max length 100
        • metadataobjectRequired

          Your own key-value data on this object.

          max 20 keys
      • subtotalobjectRequired

        The items' total before discount and tax.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • discountobjectRequired

        The coupon's discount.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • taxobjectRequired

        GST, where it applies.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • totalobjectRequired

        subtotal minus discount plus tax: what was paid.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • couponCodestring or nullRequired

        The coupon applied, or null.

      • invoiceIdstring (uuid) or nullRequired

        The order's invoice.

      • referencestring or nullRequired

        Your own identifier for this object, such as your client's id in your billing system. 1 to 100 printable characters, or null. Not unique: several objects may share one. Filter lists by it with the reference query parameter.

        min length 1, max length 100
      • metadataobjectRequired

        Your own key-value data on this object.

        max 20 keys
      • createdAtstring (date-time)Required

        When the order was placed.

      • paidAtstring (date-time) or nullRequired

        When it was paid, or null.

      • completedAtstring (date-time) or nullRequired

        When its last service became ready, or null.

      • cancelledAtstring (date-time) or nullRequired

        When it was cancelled, or null.

      • livemodebooleanRequired

        True for objects of your live account.

      Service

      • objectstringRequired

        The object's type. Always "service".

      • idstring (uuid)Required

        The service's id.

      • typestringRequired

        vps, dedicated or proxy.

        One ofvpsdedicatedproxy
      • statusstringRequired

        pending (paid and waiting for set-up to start), provisioning, active, suspended, failed (set-up failed; staff are on it), terminating (deletion scheduled at deletesAt) or terminated.

        One ofpendingprovisioningactivesuspendedfailedterminatingterminated
      • suspensionReasonstring or nullRequired

        Why the service is suspended: overdue (an unpaid invoice) or other (contact support). Null unless suspended.

        One ofoverdueother
      • deletesAtstring (date-time) or nullRequired

        When a terminating service's server will be deleted, or null.

      • planIdstringRequired

        The plan's id.

      • planNamestring or nullRequired

        The plan's name.

      • regionstring or nullRequired

        The region, or null for a proxy.

        One ofmumbaisingaporelimburg
      • labelstring or nullRequired

        Your label for the service.

        max length 253
      • referencestring or nullRequired

        Your own identifier for this object, such as your client's id in your billing system. 1 to 100 printable characters, or null. Not unique: several objects may share one. Filter lists by it with the reference query parameter.

        min length 1, max length 100
      • metadataobjectRequired

        Your own key-value data on this object.

        max 20 keys
      • firewallAvailablebooleanRequired

        True when the service has a Shield firewall you can manage through the firewall operations.

      • billingobject or nullRequired

        Billing details, for the account owner's tokens. Null for a delegate's token.

        Show 6 child attributesHide 6 child attributes
        • cycleMonthsintegerRequired

          The billing cycle in months.

        • priceobject or nullRequired

          The renewal price per cycle, excluding GST, locked when the service was bought. Null when it cannot be read.

          Show 2 child attributesHide 2 child attributes
          • amountintegerRequired

            The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

            min -9007199254740991, max 9007199254740991
          • currencystringRequired

            The ISO 4217 currency code, upper case.

            pattern ^[A-Z]{3}$
        • currentPeriodStartstring (date)Required

          The first day of the current period, a UTC calendar day.

        • paidThroughstring (date)Required

          The last day paid for, a UTC calendar day. The renewal invoice for the next period is issued before it.

        • cancelAtPeriodEndbooleanRequired

          True when the service will end on paidThrough instead of renewing.

        • endsOnstring (date) or nullRequired

          The day the service ends, when cancelAtPeriodEnd is true; otherwise null.

      • serverobject or nullRequired

        For vps and dedicated; null for proxy.

        Show 8 child attributesHide 8 child attributes
        • powerStatestringRequired

          running, stopped, building (being built or reinstalled), suspended, missing (the server cannot be found; staff are notified) or unknown.

          One ofrunningstoppedbuildingsuspendedmissingunknown
        • hostnamestring or nullRequired

          The hostname you set at order or reinstall.

        • ipv4array of stringRequired

          The server's IPv4 addresses, primary first.

        • ipv6array of stringRequired

          The server's IPv6 addresses.

        • imageobject or nullRequired

          The installed image, or null when not known.

          Show 4 child attributesHide 4 child attributes
          • objectstringRequired

            The object's type. Always "image".

          • idstringRequired

            The image's id. Pass it as imageId.

          • namestringRequired

            The image's name, for showing to people.

          • familystringRequired

            linux or windows. A root password reset sets the password of Administrator on windows and of root otherwise.

            One oflinuxwindows
        • resourcesobject or nullRequired

          The server's resources, or null when not known.

          Show 4 child attributesHide 4 child attributes
          • cpuCoresinteger or nullRequired

            Virtual CPU cores, or null when not known.

          • memoryMbinteger or nullRequired

            Memory in MiB, or null.

          • diskGbinteger or nullRequired

            Disk in GB, or null.

          • trafficGbinteger or nullRequired

            Monthly traffic allowance in GB, or null for unmetered or unknown.

        • statusUpdatedAtstring (date-time) or nullRequired

          When this state was read.

        • stalebooleanRequired

          True when the state is more than 5 minutes old.

      • proxyobject or nullRequired

        For proxy; null otherwise.

        Show 2 child attributesHide 2 child attributes
        • profilestringRequired

          The protection profile.

        • portsarray of ProxyPortRequired

          The protected ports.

          Show 3 child attributesHide 3 child attributes
          • protocolstringRequired

            tcp or udp.

            One oftcpudp
          • portStartintegerRequired

            The first port.

            min 1, max 65535
          • portEndintegerRequired

            The last port, equal to portStart for one port.

            min 1, max 65535
      • createdAtstring (date-time)Required

        When the service was created.

      • livemodebooleanRequired

        True for objects of your live account.

      Action

      • objectstringRequired

        The object's type. Always "action".

      • idstring (uuid)Required

        The action's id.

      • typestringRequired

        What the action does.

        One ofbootshutdownrestartpoweroffreinstallreset_passwordplan_changeterminateprovision
      • statusstringRequired

        queued (recorded, not started; provisioning of a dedicated server or a proxy can stay here for hours while staff set it up), running (sent; waiting for the server to show the result), succeeded, failed, or unknown (the platform's answer was lost and the result was not confirmed in time; check the service). succeeded, failed and unknown are final and never change.

        One ofqueuedrunningsucceededfailedunknown
      • serviceIdstring (uuid) or nullRequired

        The service the action acts on. Null for a provision action until its service exists.

      • orderIdstring (uuid) or nullRequired

        The order a provision action belongs to, or null.

      • invoiceIdstring (uuid) or nullRequired

        The invoice a plan change created, or null.

      • failureobject or nullRequired

        Set when status is failed; otherwise null.

        Show 2 child attributesHide 2 child attributes
        • codestringRequired

          platform_refused, platform_unavailable, provisioning_failed (staff are notified and will contact you), order_rejected (the order failed review; its payment returns to wallet credit), order_cancelled or service_locked.

          One ofplatform_refusedplatform_unavailableprovisioning_failedorder_rejectedorder_cancelledservice_locked
        • messagestringRequired

          A sentence for a person.

      • secretAvailablebooleanRequired

        True while a secret this action set (a root or Administrator password) can be read with getActionSecret. Only the account owner's tokens can read it. It turns false when you delete it, after 5 reads, or when it expires.

      • secretExpiresAtstring (date-time) or nullRequired

        When the secret is deleted unread or not (60 minutes after the action succeeded), or null when there is none.

      • createdAtstring (date-time)Required

        When the action was requested.

      • startedAtstring (date-time) or nullRequired

        When it was sent to the platform, or null while queued.

      • completedAtstring (date-time) or nullRequired

        When it reached a final status, or null.

      • livemodebooleanRequired

        True for objects of your live account.

      Invoice

      • objectstringRequired

        The object's type. Always "invoice".

      • idstring (uuid)Required

        The invoice's id.

      • numberstringRequired

        The printed number, such as C-INV-02731 (credit notes: C-CN-).

      • documentTypestringRequired

        invoice (a tax invoice), credit_note, or free (a zero-value document).

        One ofinvoicecredit_notefree
      • statusstring or nullRequired

        open, part_paid, overdue, paid or cancelled (settled by a credit note). Null for a credit note.

        One ofopenpart_paidoverduepaidcancelled
      • currencystringRequired

        The invoice's currency.

        pattern ^[A-Z]{3}$
      • issuedAtstring (date-time)Required

        When it was issued.

      • issueDatestring (date)Required

        The date printed as the date of issue.

      • dueDatestring (date)Required

        The due date.

      • subtotalobjectRequired

        Before discount and tax.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • discountobjectRequired

        Discounts.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • taxobjectRequired

        Tax in total.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • taxBreakdownobject or nullRequired

        The GST split for an Indian invoice; null otherwise.

        Show 3 child attributesHide 3 child attributes
        • cgstobject or nullRequired

          Central GST, or null.

          Show 2 child attributesHide 2 child attributes
          • amountintegerRequired

            The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

            min -9007199254740991, max 9007199254740991
          • currencystringRequired

            The ISO 4217 currency code, upper case.

            pattern ^[A-Z]{3}$
        • sgstobject or nullRequired

          State GST, or null.

          Show 2 child attributesHide 2 child attributes
          • amountintegerRequired

            The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

            min -9007199254740991, max 9007199254740991
          • currencystringRequired

            The ISO 4217 currency code, upper case.

            pattern ^[A-Z]{3}$
        • igstobject or nullRequired

          Integrated GST, or null.

          Show 2 child attributesHide 2 child attributes
          • amountintegerRequired

            The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

            min -9007199254740991, max 9007199254740991
          • currencystringRequired

            The ISO 4217 currency code, upper case.

            pattern ^[A-Z]{3}$
      • totalobjectRequired

        The invoice total.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • amountPaidobject or nullRequired

        Paid so far. Null for a credit note.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • amountCreditedobject or nullRequired

        Settled by credit notes. Null for a credit note.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • amountDueobject or nullRequired

        Still due. Null for a credit note.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • paidAtstring (date-time) or nullRequired

        When it was paid in full, or null.

      • buyerGstinstring or nullRequired

        Your GSTIN as printed, or null.

      • placeOfSupplyobject or nullRequired

        The place of supply, for GST.

        Show 2 child attributesHide 2 child attributes
        • countrystringRequired

          ISO 3166-1 alpha-2.

        • gstStatestring or nullRequired

          The Indian GST state code, or null.

      • linesarray of InvoiceLineRequired

        The invoice's lines. Empty in listInvoices; filled by getInvoice.

        Show 11 child attributesHide 11 child attributes
        • idstring (uuid)Required

          The line's id.

        • descriptionstringRequired

          What the line is for.

        • quantityintegerRequired

          The quantity.

        • unitAmountobjectRequired

          The price of one unit, excluding tax.

          Show 2 child attributesHide 2 child attributes
          • amountintegerRequired

            The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

            min -9007199254740991, max 9007199254740991
          • currencystringRequired

            The ISO 4217 currency code, upper case.

            pattern ^[A-Z]{3}$
        • discountobject or nullRequired

          The line's discount, or null.

          Show 2 child attributesHide 2 child attributes
          • amountintegerRequired

            The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

            min -9007199254740991, max 9007199254740991
          • currencystringRequired

            The ISO 4217 currency code, upper case.

            pattern ^[A-Z]{3}$
        • netobjectRequired

          After discount, before tax.

          Show 2 child attributesHide 2 child attributes
          • amountintegerRequired

            The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

            min -9007199254740991, max 9007199254740991
          • currencystringRequired

            The ISO 4217 currency code, upper case.

            pattern ^[A-Z]{3}$
        • taxRateBpintegerRequired

          The tax rate in basis points (1800 is 18%).

        • taxobjectRequired

          The line's tax.

          Show 2 child attributesHide 2 child attributes
          • amountintegerRequired

            The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

            min -9007199254740991, max 9007199254740991
          • currencystringRequired

            The ISO 4217 currency code, upper case.

            pattern ^[A-Z]{3}$
        • serviceIdstring (uuid) or nullRequired

          The service the line bills, or null.

        • periodStartstring (date) or nullRequired

          The first day billed, or null.

        • periodEndstring (date) or nullRequired

          The last day billed, or null.

      • orderIdstring (uuid) or nullRequired

        The order this invoice was issued for, or null.

      • creditsInvoiceIdstring (uuid) or nullRequired

        For a credit note: the invoice it credits. Null otherwise.

      • livemodebooleanRequired

        True for objects of your live account.

      Wallet

      • objectstringRequired

        The object's type. Always "wallet".

      • balancesarray of MoneyRequired

        Credit held, one entry per currency. Empty when you hold none.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • topUpCurrencystring or nullRequired

        The currency a top-up in the panel would add, or null when not known.

        pattern ^[A-Z]{3}$
      • livemodebooleanRequired

        True for objects of your live account.

      Ticket

      • objectstringRequired

        The object's type. Always "ticket".

      • idstring (uuid)Required

        The ticket's id.

      • referencestringRequired

        The ticket's reference, such as CX-1482.

      • subjectstringRequired

        The subject.

      • statusstringRequired

        open, in_progress, awaiting_customer (staff replied and wait for you), customer_replied or closed.

        One ofopenin_progressawaiting_customercustomer_repliedclosed
      • prioritystringRequired

        low, normal, high or urgent.

        One oflownormalhighurgent
      • departmentobjectRequired

        The ticket's department.

        Show 3 child attributesHide 3 child attributes
        • objectstringRequired

          The object's type. Always "department".

        • idstring (uuid)Required

          The department's id.

        • namestringRequired

          Its name.

      • unreadintegerRequired

        Staff messages you have not read in the panel.

      • messagesarray of TicketMessageRequired

        The messages, oldest first. Empty in listTickets; filled by getTicket and createTicket.

        Show 6 child attributesHide 6 child attributes
        • idstring (uuid)Required

          The message's id.

        • authorobjectRequired

          Who wrote it.

          Show 2 child attributesHide 2 child attributes
          • typestringRequired

            customer or staff.

            One ofcustomerstaff
          • namestring or nullRequired

            The author's name, or null.

        • bodystringRequired

          The message text.

        • attachmentsarray of TicketAttachmentRequired

          Files on the message.

          Show 5 child attributesHide 5 child attributes
          • idstring (uuid)Required

            The attachment's id. Get a download link with getAttachment.

          • filenamestringRequired

            The file name.

          • sizeintegerRequired

            Bytes.

          • typestringRequired

            The media type, sniffed from the file.

          • removedAtstring (date-time) or nullRequired

            When staff removed it, or null.

        • createdAtstring (date-time)Required

          When it was written.

        • redactedAtstring (date-time) or nullRequired

          When staff redacted it, or null.

      • createdAtstring (date-time)Required

        When it was opened.

      • updatedAtstring (date-time)Required

        When it last changed.

      • lastActivityAtstring (date-time)Required

        The last message's time.

      • closedAtstring (date-time) or nullRequired

        When it was closed, or null.

      • livemodebooleanRequired

        True for objects of your live account.

      ApiToken

      • objectstringRequired

        The object's type. Always "api_token".

      • idstring (uuid)Required

        The token's id.

      • namestringRequired

        The token's name.

      • prefixstringRequired

        The token's prefix: cxk_live_.

        One ofcxk_live_
      • lastFourstringRequired

        The token's last four characters, to tell tokens apart.

      • scopesarray of stringRequired

        What the token may do.

      • apiVersionstringRequired

        The API version used when a request sends no Clouduxe-Version header.

      • ipAllowlistarray of stringRequired

        Addresses or CIDR ranges the token may be used from. Empty means any address.

      • createdByobjectRequired

        Who made it.

        Show 2 child attributesHide 2 child attributes
        • personIdstring (uuid)Required

          The person's id.

        • namestring or nullRequired

          Their name, or null.

      • createdAtstring (date-time)Required

        When it was made.

      • expiresAtstring (date-time) or nullRequired

        When it expires, or null for never. A token holding any elevated scope (marked elevated at https://docs.clouduxe.com/api/authentication#scopes) always expires, at most 365 days after creation.

      • lastUsedAtstring (date-time) or nullRequired

        When it was last used (updated at most once a minute), or null.

      • lastUsedIpstring or nullRequired

        The address it was last used from, or null.

      • revokedAtstring (date-time) or nullRequired

        When it was revoked, or null.

      • revokedReasonstring or nullRequired

        Why: user, leaked (reported by secret scanning), member_removed, person_disabled, account_closed or expired.

        One ofuserleakedmember_removedperson_disabledaccount_closedexpired
      • livemodebooleanRequired

        True for objects of your live account.

      WebhookEndpoint

      • objectstringRequired

        The object's type. Always "webhook_endpoint".

      • idstring (uuid)Required

        The endpoint's id.

      • urlstring (uri)Required

        The https URL events are POSTed to.

      • descriptionstring or nullRequired

        Your description.

      • enabledEventsarray of stringRequired

        The event types sent here, or ["*"] for all.

      • statusstringRequired

        enabled, or disabled (by you, or after 3 days of failed deliveries).

        One ofenableddisabled
      • apiVersionstringRequired

        The API version event payloads are rendered in.

      • secretstring or nullRequired

        The signing secret, cxwhsec_ followed by 43 characters. Returned only in the first answer when the endpoint is created and when its secret is rotated. A replay of the same Idempotency-Key answers null: if you lost the secret, rotate it.

      • createdByTokenIdstring (uuid) or nullRequired

        The API token that created the endpoint, or null when it was made in the panel.

      • updatedByTokenIdstring (uuid) or nullRequired

        The API token that last changed the URL, events or secret, or null when the panel did.

      • createdAtstring (date-time)Required

        When it was created.

      • livemodebooleanRequired

        True for objects of your live account.

      ProtectionIncident

      • objectstringRequired

        The object's type. Always "protection_incident".

      • idstring (uuid)Required

        The incident's id.

      • serviceIdstring (uuid)Required

        The service attacked.

      • statusstringRequired

        ongoing or ended.

        One ofongoingended
      • startedAtstring (date-time)Required

        When the first attack packet was dropped.

      • startKnownbooleanRequired

        False when the attack began before the records this service can see (its start is then a lower bound, and the totals are not measured).

      • endedAtstring (date-time) or nullRequired

        When the attack ended (its last dropped packet), or null while ongoing.

      • vectorstringRequired

        The main attack vector, in words, such as UDP flood or invalid game protocol.

      • targetPortobject or nullRequired

        The port most of the attack aimed at, or null.

        Show 2 child attributesHide 2 child attributes
        • protocolstringRequired

          tcp or udp.

          One oftcpudp
        • portintegerRequired

          The port.

          min 1, max 65535
      • peakPpsinteger or nullRequired

        The highest packets per second measured at the protection layer, or null when not measured.

      • droppedPacketsinteger or nullRequired

        Packets dropped by protection during the attack, or null when not measured.

      • actionsTakenarray of stringRequired

        What protection did: filtered (dropped at the server's protection), edge_filtered (also scrubbed earlier, at the network edge).

      • livemodebooleanRequired

        True for objects of your live account.

    • previousAttributesobject or nullRequired

      The earlier values of fields that changed, such as a service's status, or null.

  • livemodebooleanRequired

    True for objects of your live account.

Every response

  • 200OKThe event.
  • 400Bad requestThe request is not valid. Codes: version_invalid.
  • 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
  • 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
  • 404Not foundNot found. Codes: not_found.
  • 429Too many requestsA rate limit was reached. Codes: rate_limited.
  • 500Server errorUnexpected error. Codes: internal_error.
  • 503UnavailableTemporarily unavailable. Codes: unavailable.

Updated 5 November 2026. Generated from the API contract.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.