File a support ticket
POST /Platform/support/tickets
File a support ticket.
Creates a SupportTicket in open status for the caller's
organization, stamping the reporter (email / name / user id) from
the authenticated caller so every ticket is attributable, and opens
its thread with the description. Hilus support is alerted to every
filing; the severity sets the follow-up deadline. Open to an
organization whose usage is paused (unpaid or blocked), so it can
always reach support.
Body parameters
subject: str. One-line summary of the issue (required).description: optional str. Full description: what was done, what was expected, what happened.category: optional str.bug,question,billing,feature_request,data_issueorother. Leave it out and Hilus's AI decides from the report, moments after filing.severity: optional str. How urgent it is for you:low,medium(default),highorcritical.source: optional str. Originating-surface label (web,cli,chat,api).page_url: optional str. URL/screen where the issue occurred.related_entity_type: optional str. Entity type the ticket concerns (e.g. 'Call').SupportTicketfor a follow-up to one of your tickets: the two are linked.related_entity_id: optional str. Id of that entity in your organization.context: optional dict. Freeform diagnostic dict: request ids, message ids, app version, reproduction steps.attachments: optional List[Any]. Files to attach (screenshots, exports): the handles an upload returns (file-…), at most ten, 25 MB each.
Returns
TicketView
id: str. Ticket identifier.number: optional int or null. The ticket's number in the organization it is filed with (#143).subject: str or null. One-line summary.description: str or null. Reporter-provided details.category: str. Ticket type key.severity: "low" or "medium" or "high" or "critical". Urgency of the issue.status: "open" or "in_progress" or "waiting_on_reporter" or "resolved" or "closed". Current ticket lifecycle state.reporter_email: str or null. Reporter's email address.reporter_name: str or null. Reporter's display name.organization_id: optional str or null. The organization the ticket is from.source: str or null. Originating application or channel.page_url: str or null. Page where the issue occurred.related_entity_type: str or null. Related entity class name.related_entity_id: str or null. Related entity identifier.assigned_to: str or null. Assigned staff email or identifier.assignee_party_id: str or null. Assigned staff Party identifier.reporter_party_id: str or null. Reporter Party identifier.account_id: str or null. Linked Account identifier.conversation_id: str or null. Thread Conversation identifier.follow_up_at: moment or null. When the ticket is due a follow-up.resolution: str or null. Resolution notes.resolved_at: moment or null. When the ticket was resolved.created_at: moment or null. When the ticket was created.message_count: int. Number of messages in the thread.messages: optional List[TicketMessage] or null. Thread messages when requested.attachments: optional List[TicketAttachment]. Files attached to the report itself, when the thread is requested.can_triage: optional bool. Whether the caller may assign the ticket and change its severity (Hilus support staff).can_resolve: optional bool. Whether the caller may resolve the ticket (its reporter, or Hilus support staff).can_edit: optional bool. Whether the caller may correct the ticket's subject, description or category (its reporter, an admin of its organization, or Hilus support staff).
Example request
curl -X POST "https://api.hilus.ai/Platform/support/tickets" \
-H "Authorization: Bearer $HILUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'