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

Open a ticket

POST/tickets

Use this to ask Clouduxe support for help, optionally about one service or invoice, with uploaded attachments. Limited to 20 a hour per account.

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

How tokens and scopes work: Authentication and scopes.

  • 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}$
  • Idempotency-KeystringRequired

    A unique key for this logical request, 1 to 128 characters of letters, digits, underscore, dot, colon or hyphen; a UUID is best. Retrying with the same key is safe: the change happens once and the retry gets the same answer. Keys are kept 48 hours.

    pattern ^[A-Za-z0-9_.:-]{1,128}$

Body

Required
  • departmentIdstring (uuid)Required

    The department, from listSupportDepartments.

  • subjectstringRequired

    The subject, 1 to 200 characters on one line.

    min length 1, max length 200
  • bodystringRequired

    The first message, 1 to 20,000 characters.

    min length 1, max length 20000
  • prioritystringOptional

    low, normal, high or urgent. Default normal.

    One oflownormalhighurgent
  • attachmentIdsarray of string (uuid)Optional

    Uploaded attachments, at most 10.

    max items 10

Returns

201Created The 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.

Every response

  • 201CreatedThe ticket.
  • 400Bad requestThe request is not valid. Codes: version_invalid, idempotency_key_required, idempotency_key_invalid, invalid_json, parameter_missing, parameter_invalid, parameter_unknown.
  • 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.
  • 409ConflictThe request conflicts with the object's current state. Codes: account_closed, idempotency_in_progress.
  • 413Too largeThe request body is too large. Codes: request_too_large.
  • 415Unsupported media typeUnsupported media type. Codes: unsupported_media_type.
  • 422UnprocessableThe request is well formed but cannot be carried out. Codes: department_unavailable, attachment_unavailable, idempotency_mismatch.
  • 429Too many requestsA rate limit was reached. Codes: rate_limited.
  • 500Server errorUnexpected error. Codes: internal_error.
  • 503UnavailableTemporarily unavailable. Codes: maintenance, unavailable, outcome_unknown, limits_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.