List the authenticated caller's support tickets.
GET
/v1/support
const url = 'https://api.share2.us/v1/support';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.share2.us/v1/support \ --header 'Authorization: Bearer <token>'Requires an interactive login; a personal API token is refused with 403 session_required. A ticket carries whatever the account holder chose to tell us and a reply is sent in their name.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Caller support tickets, newest updated first.
Media typeapplication/json
object
tickets
required
Array<object>
object
id
required
string format: uuid
account_id
string format: uuid
email
string format: email
subject
required
string
message
string
status
required
string
merged_into
string format: uuid
closed_by
string
closed_at
string format: date-time
resolution_note
string
satisfaction_rating
integer
resolution_feedback
string
created_at
required
string format: date-time
updated_at
required
string format: date-time
message_count
integer
last_message_preview
string
last_author_type
string
next_cursor
string | null
Example
{ "tickets": [ { "status": "open", "closed_by": "user", "last_author_type": "user" } ]}default
Section titled “default”Standard error envelope.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
request_id
required
string
Example
{ "error": { "code": "quota_exceeded" }}