Assign a ticket to a staff member
POST /Platform/support/tickets/assign
Assign a ticket to a staff member.
Hilus support staff only. Sets the assignee and, when the ticket is
open, moves it to in_progress.
Body parameters
ticket_id: str. The ticket to assign.party_id: str. The staff member's CRM Party id.
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/assign" \
-H "Authorization: Bearer $HILUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'