Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Support

10 routes. Paths are relative to https://api.intersink.com/v1.

All groups

List the channel's tickets (?status=&priority=&assigned_to=me|none|<id>)

GET/support/channels/{channelId}/tickets

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
pagenumber, queryMinimum 1, maximum 10000.
limitnumber, queryMinimum 1, maximum 50.
statusstring, queryOne of: "open", "pending", "resolved", "closed".
channel_idstring, queryCustomer: only this channel
prioritystring, queryOne of: "low", "normal", "high", "urgent".
assigned_tostring, queryAssignee user id, or 'me' / 'none' At most 36 characters.

Response

200. The payload in data is not described in the spec yet.

Get a ticket with the full thread (incl. notes)

GET/support/channels/{channelId}/tickets/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.

Change status / priority / assignee

PATCH/support/channels/{channelId}/tickets/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
idrequirednumber, path

Request body application/json

FieldTypeDescription
statusstringOne of: "open", "pending", "resolved", "closed".
assigned_tostringUser id of a channel admin/manager, or null to unassign
prioritystringOne of: "low", "normal", "high", "urgent".

Response

200. The payload in data is not described in the spec yet.

Reply (or add an internal note) as staff

POST/support/channels/{channelId}/tickets/{id}/messages

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
idrequirednumber, path

Request body application/json

FieldTypeDescription
attachment_idsnumber[]Drive file ids you uploaded (max 10)
messagerequiredstringAt most 10000 characters.
internalbooleanInternal note: never shown to the customer
statusstringStatus to set with this reply (default: pending) One of: "open", "pending", "resolved", "closed".

Response

201. The payload in data is not described in the spec yet.

List my tickets (?channel_id=&status=&page=&limit≤50)

GET/support/tickets

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
pagenumber, queryMinimum 1, maximum 10000.
limitnumber, queryMinimum 1, maximum 50.
statusstring, queryOne of: "open", "pending", "resolved", "closed".
channel_idstring, queryCustomer: only this channel

Response

200. The payload in data is not described in the spec yet.

Open a ticket with a channel

POST/support/tickets

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
attachment_idsnumber[]Drive file ids you uploaded (max 10)
channel_idrequiredstringChannel the ticket is for
subjectrequiredstringAt most 200 characters. Example: "Refund for a failed payment"
categoryrequiredstringAt most 60 characters. Example: "Billing and purchases"
prioritystringOne of: "low", "normal", "high", "urgent".
messagerequiredstringFirst message At most 10000 characters.

Response

201. The payload in data is not described in the spec yet.

Get one of my tickets with its thread

GET/support/tickets/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.

Close my ticket

POST/support/tickets/{id}/close

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.

Reply on my ticket (reopens pending/resolved)

POST/support/tickets/{id}/messages

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Request body application/json

FieldTypeDescription
attachment_idsnumber[]Drive file ids you uploaded (max 10)
messagerequiredstringAt most 10000 characters.

Response

201. The payload in data is not described in the spec yet.

Reopen my resolved/closed ticket

POST/support/tickets/{id}/reopen

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.