BizKitHub
DokumentationAPI-ExplorerSupport/api/v1/support/issue/{externalId}
getSupportÖffentliche API v1

/api/v1/support/issue/{externalId}

Returns the public-safe subset of an issue: subject, description, status, priority, reporter (name/email), and the full comment thread. Used by the customer-facing ticket page on bizkithub.com.

supportgetApiV1SupportIssueByExternalId

Parameter

1 im Pfad · 1 in der Query

Pfadparameter

· 1
externalIdstringPflicht

The 16-char alphanumeric external identifier of the issue (from BKH-ISSUE token).

Länge: 16
Beispiela1B2c3D4e5F6g7H8

Query-Parameter

· 1
apiKeystringPflicht

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
success"true"Pflicht
issueobjectPflicht
externalIdstringPflicht
issueKeystringPflicht
subjectstringPflicht
descriptionstringPflicht
statusCategoryCode"new" | "progress" | "waiting" | "done"Pflicht
statusLabelstringPflicht
prioritynumber | nullPflicht
insertedDatestringPflicht
localestringPflicht
organisationNamestringPflicht
organisationLogostring | nullPflicht
reporterobjectPflicht
emailstring | nullPflicht
displayNamestringPflicht
commentsobject[]Pflicht
Jedes Array-Element:
idstringPflicht
authorKind"human" | "ai" | "system"Pflicht
authorDisplayNamestringPflicht
insertedDatestringPflicht
messagestringPflicht

Comment body rendered as sanitised HTML. Internal staff notes (channel = internal) and spam-flagged rows are stripped at the SELECT level, so this list never leaks either to the customer-facing portal.

attachmentsobject[]Pflicht

Files uploaded together with the original issue. Empty when none.

Jedes Array-Element:
tokenstringPflicht

Opaque blob token, safe to embed in the public URL.

filenamestringPflicht
sizenumberPflicht

File size in bytes.

contentTypestringPflicht
downloadUrlstringPflicht

Signed direct-download URL.

escalationsobject[]Pflicht

Accepted escalation requests, oldest first.

Jedes Array-Element:
insertedDatestringPflicht
reasonstringPflicht

Justification as submitted by the requester side (reporter, or a member of the originating organisation).

previousPrioritynumberPflicht

Priority before the escalation (1..5).

newPrioritynumberPflicht

Priority after the escalation (1..5). Equal to previousPriority when already at blocker.

nextEscalationAllowedAtstring | nullPflicht

ISO timestamp from which the ticket may be escalated again (one escalation per ticket per 24 h). null = escalation is available now.

Variante 2
success"false"Pflicht
error"NOT_FOUND" | "INVALID_EXTERNAL_ID"Pflicht

Antwortbeispiel

application/json
{
  "success": true,
  "issue": {
    "externalId": "example_externalId",
    "issueKey": "example_issueKey",
    "subject": "example_subject",
    "description": "example_description",
    "statusLabel": "example_statusLabel",
    "insertedDate": "example_insertedDate",
    "locale": "example_locale",
    "organisationName": "example_organisationName",
    "reporter": {
      "displayName": "example_displayName"
    },
    "comments": [
      {
        "id": "example_id",
        "authorDisplayName": "example_authorDisplayName",
        "insertedDate": "example_insertedDate",
        "message": "example_message"
      }
    ],
    "attachments": [
      {
        "token": "example_token",
        "filename": "example_filename",
        "size": 0,
        "contentType": "example_contentType",
        "downloadUrl": "example_downloadUrl"
      }
    ],
    "escalations": [
      {
        "insertedDate": "example_insertedDate",
        "reason": "example_reason",
        "previousPriority": 0,
        "newPriority": 0
      }
    ]
  }
}

Anfragebeispiel

GET /api/v1/support/issue/{externalId}

get
curl -X GET "https://api.bizkithub.com/api/v1/support/issue/a1B2c3D4e5F6g7H8?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten