Knowledge Base

1 operation. Paths start at your portal’s /api/v1.

List one client's pending KB drafts (title and ticket number only)

GET/clients/{id}/kb-drafts

Scope read:knowledge_baseRead only

Requires the read:knowledge_base scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.

Parameters

  • idstringin pathRequired

    Client id.

Response 200

  • dataobject[]Required

    The response payload.

  • data[].idstringRequired

    Record id (use it to link or fetch the record).

  • data[].titlestringRequired

    The proposed article title.

  • data[].ticketIdinteger or nullRequired

    Number of the ticket the draft came from, or null.

  • data[].createdAtstringRequired

    When the draft was proposed (ISO 8601, UTC).

Errors (401, 403, 404, 429)
  • 401 Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.
  • 403 The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).
  • 404 Not found for this key (a record in another organization is also a 404, never a 403).
  • 429 Rate limit exceeded; wait Retry-After seconds.

All API areas →