Support tickets
Support tickets: status, priority, client, visitor, SLA and CSAT.
Module: Support (support).
Endpoints
Section titled “Endpoints”GET /api/v1/support_tickets- List with filters, sorting and pagination (scopesupport:read)GET /api/v1/support_tickets/{id}- A record by id (scopesupport:read)POST /api/v1/support_tickets- Create a record (scopesupport:write)POST /api/v1/support_tickets/{id}/assign- Assigns the ticket to a user (or leave assignee_user_id empty to return it to the queue). (scopesupport:write)POST /api/v1/support_tickets/{id}/resolve- Marks the ticket as resolved. (scopesupport:write)POST /api/v1/support_tickets/{id}/reopen- Reopens a resolved or pending ticket. (scopesupport:write)POST /api/v1/support_tickets/{id}/set_status- Changes the status: open, pending or resolved. (scopesupport:write)POST /api/v1/support_tickets/{id}/set_priority- Changes the priority. (scopesupport:write)POST /api/v1/support_tickets/{id}/link_party- Links the ticket to a client (parties) or removes the link. (scopesupport:write)POST /api/v1/support_tickets/{id}/set_labels- Replaces the ticket’s labels. (scopesupport:write)POST /api/v1/support_tickets/{id}/add_note- Internal note on the ticket (invisible to the client). (scopesupport:write)POST /api/v1/support_tickets/{id}/reply- Reply visible on the main thread. (scopesupport:write)POST /api/v1/support_tickets/{id}/merge- Merges this ticket (source) into another (target_id). Threads and messages move to the target. (scopesupport:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).number(integer; read)subject(string; write)status(string; read)priority(string; write)assignee_user_id(string; write)team_id(string; write)party_id(string; write)visitor_name(string; write)visitor_email(string; write)visitor_phone(string; write)visitor_meta(object; read)first_response_due_at(string, date-time; read)resolve_due_at(string, date-time; read)first_responded_at(string, date-time; read)resolved_at(string, date-time; read)last_message_at(string, date-time; read)last_customer_message_at(string, date-time; read)agent_last_read_at(string, date-time; read)csat_score(integer; read)csat_comment(string; read)csat_at(string, date-time; read)csat_feedback_response_id(string, uuid; read)merged_into_id(string, uuid; read)search_tsv(string; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).sla_paused_at(string, date-time; read)sla_paused_ms(integer; read)shop_return_id(string, uuid; read)return_claim_at(string, date-time; read)body(string; write, required)
Events
Section titled “Events”support_tickets.createdsupport_tickets.updatedsupport_tickets.deleted