Ticket
Fetch Tickets
GET
https://app.clubcollect.com/api/v2/invoices/:id/tickets
Path Parameters
id*
string
ID of Invoice for which Tickets wish to be fetched.
Query Parameters
api:key
string
Partner API Key (Deprecated)
Headers
Authorization*
string
ApiKey <api_key>
Content-Type*
string
Must be application/json
.
Create Ticket
POST
https://app.clubcollect.com/api/v2/invoices/:id/tickets
Create a support Ticket for an Invoice.
Path Parameters
id*
string
ID for the Invoice to which the Ticket should be attached.
Query Parameters
api:key
string
Partner API Key (Deprecated)
Headers
Authorization*
string
ApiKey <api_key>
Content-Type*
string
Must be application/json
.
Request Body
message*
string
Contents of the Ticket.
Archive Ticket
POST
https://app.clubcollect.com/api/v2/invoices/:id/tickets/actions/archive
Archive all Tickets for an Invoice.
Path Parameters
id*
string
ID of the Invoice for which Tickets should be archived.
Query Parameters
api:key
string
Partner API Key (Deprecated)
Headers
Authorization*
string
ApiKey <api_key>
Content-Type*
string
Must be application/json
.
Assign Ticket to Support
POST
https://app.clubcollect.com/api/v2/invoices/:id/tickets/actions/assign:to:support
Assign Tickets for an Invoice to ClubCollect Support Team.
Path Parameters
id*
string
ID of Invoice for which Tickets should be assigned to Support.
Query Parameters
api:key
string
Partner API Key (Deprecated)
Headers
Authorization*
string
ApiKey <api_key>
Content-Type*
string
Must be application/json
.
Fetch All Tickets
GET
https://app.clubcollect.com/api/v2/companies/:id/tickets/:status
Returns the list of tickets linked to a company, filtered by Ticket status, paginated and sorted in ascending order, i.e. from oldest to newest.
Path Parameters
status*
string
One of: { unanswered answered archived }
id*
string
ID of Company for which Tickets should be fetched.
Query Parameters
api:key
string
Partner API Key (Deprecated)
page:number
integer
Page number. If it's not given, default to 1
.
page:size
integer
Number of results per page. If it's not given, defaults to 30
. Maximum permitted value is 100
.
Headers
Authorization*
string
ApiKey <api_key>
Last updated
Was this helpful?