🔗 Console REST APISupport

Get all tickets

Retrieves all support tickets for the current user and organization

GET
/api/support/tickets

Authorization

headerAuthorization<token>

API Key is required to access the endpoints

Response Body

Successfully retrieved tickets

  1. response
[index: integer]?
curl -X GET 'https://api-console.apibricks.io/api/support/tickets'
[  {    "idOrganizationTicket": "901331f1-1d42-4bfc-b3af-6053087f5b95",    "idOrganization": "9bf7f388-1dbc-4a73-92b2-4ad35e7fe880",    "idUser": "f5e5bd20-f699-469f-984e-b1fce3d4ff7e",    "idTicketZendesk": 0,    "idOrganizationZendesk": 0,    "subject": "string",    "status": "string",    "priority": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "metadata": "string",    "severity": "string",    "organization": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "stripeId": "string",      "name": "string",      "company": "string",      "country": "string",      "address1": "string",      "address2": "string",      "city": "string",      "postalCode": "string",      "region": "string",      "purchaseOrder": "string",      "billingEmail": "string",      "autoRechargeEnabled": 0,      "autoRechargeBalanceGoesBelowUsd": 0,      "autoRechargeBalanceBackUpToUsd": 0,      "creditBalance": 0,      "creditUninvoicedCurrent": 0,      "creditUninvoicedLimit": 0,      "creditUsageYesterday": 0,      "creditUsageToday": 0,      "creditUsageTodayUpdatedAt": "2019-08-24T14:15:22Z",      "pastDueUsd": 0,      "pastDueSince": "2019-08-24T14:15:22Z",      "apiKeysActiveCount": 0,      "ticketsLiveWaitOnProvider": 0,      "ticketsLiveWaitOnCustomer": 0,      "ticketsNotLive": 0,      "totalPaidUsd": 0,      "totalPaidUsdLastW": 0,      "totalPaidUsdLastM": 0,      "totalPaidUsdLastQ": 0,      "totalPaidUsdLastY": 0,      "tier": "string",      "lifetimeValueTier": 0,      "lifetimeValueNextTierUsdCents": 0,      "firstPaymentDate": "2019-08-24T14:15:22Z",      "lastAuditTrailEvent": "2019-08-24T14:15:22Z",      "usageInvoicedUpToExcl": "2019-08-24T14:15:22Z",      "paymentMethodsLiveCount": 0,      "quotaThresholdLastNotification": "2019-08-24T14:15:22Z",      "quotaExceededLastNotification": "2019-08-24T14:15:22Z",      "allNotificationsEmail": "string",      "actionRequiredNotificationsEmail": "string",      "creditsLowBalanceLastNotification": "2019-08-24T14:15:22Z",      "timeCreated": "2019-08-24T14:15:22Z",      "teamMembersCount": 0,      "spendMgmtEnabled": 0,      "spendMgmtCreditUsageDailyHardLimit": 0,      "spendMgmtCreditUsageDailyNotifyThreshold": 0,      "spendMgmtCreditUsageWebhookUrl": "string",      "spendMgmtNotifyLimitLastNotification": "2019-08-24T14:15:22Z",      "spendMgmtHardLimitLastNotification": "2019-08-24T14:15:22Z",      "slackChannelRequestedTime": "2019-08-24T14:15:22Z",      "status": "string",      "statusChangedTime": "2019-08-24T14:15:22Z",      "statusSuspendedReason": "string",      "billingMode": "string",      "customReferralCode": "string",      "creatingConsoleLoginId": "7f89452b-58d1-48d0-aa99-f05e613e9699",      "stripeConnectAccountId": "string",      "referralPayoutMethod": "string",      "stripeConnectReleasedUtc": "2019-08-24T14:15:22Z"    },    "additionalEmailContact": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",      "email": "user@example.com",      "domain": "string",      "normalizedEmail": "string",      "contactType": "string",      "timeCreated": "2019-08-24T14:15:22Z",      "timeLastSignedIn": "2019-08-24T14:15:22Z"    },    "organizationTicketEvents": [      {        "createdAt": "2019-08-24T14:15:22Z",        "author": "string",        "authorRole": "string",        "text": "string",        "isInternal": 0      }    ]  }]