RiskPilot API
RiskPilot customer API

Your support requests

GET
/api/v1/customer/support/tickets

Your support requests › query Parameters

limit
​integer · min: 1 · max: 200

Page size.

Default: 50
offset
​integer · min: 0

Items to skip.

Default: 0

Your support requests › Responses

OK

​Ticket[] · required
total
​integer · required
categories
​string[]
​object

Open a support request

POST
/api/v1/customer/support/tickets

Open a support request › Request Body

subject
​string · maxLength: 200 · required
message
​string · maxLength: 20000 · required
category
​string · enum

Default other.

Enum values:
billing
technical
data
account
sales
other
​AttachmentInput[]

Open a support request › Responses

Opened.

​Ticket · required
​TicketMessage[] · required

A request and its messages

GET
/api/v1/customer/support/tickets/{id}

A request and its messages › path Parameters

id
​string · pattern: ^\d{1,18}$ · required

Ticket id.

A request and its messages › Responses

OK

​Ticket · required
​TicketMessage[] · required

Download an attachment

GET
/api/v1/customer/support/tickets/{id}/attachments/{attachmentId}

Download an attachment › path Parameters

id
​string · pattern: ^\d{1,18}$ · required

Ticket id.

attachmentId
​string · pattern: ^\d{1,18}$ · required

Attachment id.

Download an attachment › Responses

The file (its own content type, as an attachment).

string

Answer on a request

POST
/api/v1/customer/support/tickets/{id}/messages

Answer on a request › path Parameters

id
​string · pattern: ^\d{1,18}$ · required

Ticket id.

Answer on a request › Request Body

message
​string · maxLength: 20000 · required
​AttachmentInput[]

Answer on a request › Responses

Added.

​Ticket · required
​TicketMessage[] · required

The website's contact form

POST
/api/v1/public/contact

404 when the contact form is switched off. Rate limited per address and per email.

The website's contact form › Request Body

name
​string · maxLength: 200 · required
email
​string · required
subject
​string · maxLength: 200 · required
message
​string · maxLength: 10000 · required
category
​string · enum

Default sales.

Enum values:
billing
technical
data
account
sales
other
website
​string

Leave empty (a honeypot).

The website's contact form › Responses

Received.

received
​boolean · required
reference
​string