Support tickets
Read, create and answer support tickets.
Base URL: https://fineproxy.org/account_new ·Download the OpenAPI 3.1 specification
List Tickets
GET/api/v1/customer/tickets
List your support tickets, newest first.
Required scope: tickets:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
offsetoptional | query | integer | Default: 0 |
limitoptional | query | integer | Default: 50 |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/tickets" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (4)
| Name | Type | Description |
|---|---|---|
ticketsrequired | array<TicketResponse> | |
totalrequired | integer | |
offsetoptional | integer | Default: 0 |
limitoptional | integer | Default: 50 |
Create Ticket
POST/api/v1/customer/tickets
Create a new support ticket.
Required scope: tickets:write
Request body
| Name | Type | Description |
|---|---|---|
subjectrequired | string | |
messagerequired | string | |
service_idoptional | string (uuid) | null | |
attachmentsoptional | array<TicketAttachmentIn> |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/tickets" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"subject": "string",
"message": "string"
}'Responses
201Successful Response422Validation Error
Response fields (10)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
tenant_idrequired | string (uuid) | |
customer_idrequired | string (uuid) | null | |
subjectrequired | string | |
statusrequired | TicketStatus | open · in_progress · waiting · customer_replied · closed |
service_idrequired | string (uuid) | null | |
last_message_atrequired | string (date-time) | null | |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | null | |
messagesrequired | array<TicketMessageResponse> |
Get Ticket
GET/api/v1/customer/tickets/{ticket_id}
Get a single ticket with its full message history.
Required scope: tickets:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
ticket_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/tickets/$TICKET_ID" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (10)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
tenant_idrequired | string (uuid) | |
customer_idrequired | string (uuid) | null | |
subjectrequired | string | |
statusrequired | TicketStatus | open · in_progress · waiting · customer_replied · closed |
service_idrequired | string (uuid) | null | |
last_message_atrequired | string (date-time) | null | |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | null | |
messagesrequired | array<TicketMessageResponse> |
Reply Ticket
POST/api/v1/customer/tickets/{ticket_id}/reply
Reply to an existing ticket. Closed tickets cannot receive replies.
Required scope: tickets:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
ticket_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
messagerequired | string | |
attachmentsoptional | array<TicketAttachmentIn> |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/tickets/$TICKET_ID/reply" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"message": "string"
}'Responses
200Successful Response422Validation Error
Response fields (10)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
tenant_idrequired | string (uuid) | |
customer_idrequired | string (uuid) | null | |
subjectrequired | string | |
statusrequired | TicketStatus | open · in_progress · waiting · customer_replied · closed |
service_idrequired | string (uuid) | null | |
last_message_atrequired | string (date-time) | null | |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | null | |
messagesrequired | array<TicketMessageResponse> |
Update Ticket Status
PATCH/api/v1/customer/tickets/{ticket_id}/status
Close an active ticket (closed) or reopen a closed one (open). Same rules as the cabinet endpoint.
Required scope: tickets:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
ticket_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
statusrequired | TicketStatus | open · in_progress · waiting · customer_replied · closed |
Example request
curl -X PATCH "https://fineproxy.org/account_new/api/v1/customer/tickets/$TICKET_ID/status" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "open"
}'Responses
200Successful Response422Validation Error
Response fields (10)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
tenant_idrequired | string (uuid) | |
customer_idrequired | string (uuid) | null | |
subjectrequired | string | |
statusrequired | TicketStatus | open · in_progress · waiting · customer_replied · closed |
service_idrequired | string (uuid) | null | |
last_message_atrequired | string (date-time) | null | |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | null | |
messagesrequired | array<TicketMessageResponse> |
Download Ticket Attachment
GET/api/v1/customer/tickets/{ticket_id}/attachments/{attachment_id}/download
Download the content of a ticket attachment (owner only). Same rules as the cabinet endpoint.
Required scope: tickets:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
ticket_idrequired | path | string (uuid) | |
attachment_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/tickets/$TICKET_ID/attachments/$ATTACHMENT_ID/download" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error