Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Deskcrew Io Kb API
version: 1.0.0
contact:
name: DeskCrew support
url: https://deskcrew.io/board/deskcrew
email: hello@deskcrew.io
description: 'Operations tagged Kb across 2 of this provider''s published API definitions: openapi.json, deskcrew-io-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://deskcrew.io
security:
- bearerAuth: []
tags:
- name: Kb
paths:
/api/v1/kb:
get:
summary: List knowledge-base articles
description: Requires the `kb:read` scope.
operationId: get_api_v1_kb
security:
- bearerAuth: []
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
post:
summary: Create an article
description: Requires the `kb:write` scope.
operationId: post_api_v1_kb
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
description: 'title: string, required; body: string, required: markdown; status: draft | published; category_id: number, optional'
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
servers:
- url: https://deskcrew.io
/api/v1/kb/{id}:
get:
summary: Get one article
description: Requires the `kb:read` scope.
operationId: get_api_v1_kb__id_
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
patch:
summary: Update an article
description: Requires the `kb:write` scope.
operationId: patch_api_v1_kb__id_
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
delete:
summary: Delete an article
description: Requires the `kb:write` scope.
operationId: delete_api_v1_kb__id_
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
servers:
- url: https://deskcrew.io
/api/v1/kb/categories:
get:
summary: List KB categories
description: Requires the `kb:read` scope.
operationId: get_api_v1_kb_categories
security:
- bearerAuth: []
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
post:
summary: Create a category
description: Requires the `kb:write` scope.
operationId: post_api_v1_kb_categories
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
description: 'name: string, required'
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
servers:
- url: https://deskcrew.io
/api/v1/kb/categories/{id}:
get:
summary: Get one category
description: Requires the `kb:read` scope.
operationId: get_api_v1_kb_categories__id_
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
patch:
summary: Rename or reorder a category
description: Requires the `kb:write` scope.
operationId: patch_api_v1_kb_categories__id_
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
delete:
summary: Delete a category
description: Requires the `kb:write` scope.
operationId: delete_api_v1_kb_categories__id_
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
'401':
description: Missing or invalid API key
'403':
description: The key does not hold the required scope
'404':
description: Not found in this workspace
'429':
description: Rate limited
tags:
- Kb
servers:
- url: https://deskcrew.io
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: A workspace API key that starts with dk_, or a signed-in person's session token from the DeskCrew apps.
x-refined-from:
- openapi.json
- deskcrew-io-openapi.json
x-scopes:
- tickets:read
- tickets:write
- tickets:reply
- issues:read
- issues:write
- changelog:read
- changelog:write
- customers:read
- kb:read
- kb:write
- webhooks:manage
- errors:write
- bounties:manage
- bounties:read