DataBank Ticket Events API
The Ticket Events API from DataBank, for ticket events.
The Ticket Events API from DataBank, for ticket events.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/databank:databank-ticket-events-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Databank Ticket Events API
version: 1.0.0
description: 'Operations tagged Ticket Events across 2 of this provider''s published API definitions: swagger.json, databank-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: /v2
security:
- BearerAuth: []
tags:
- name: Ticket Events
paths:
/v1/tickets/{ticket_id}/events:
get:
operationId: api\v1:ticketevents:index:get
summary: For endpoint /v1/tickets/{ticket_id}/events
description: ''
tags:
- Ticket Events
externalDocs:
url: https://databank-ltd.stoplight.io/docs/databank-api-docs/03e7fabb0a061-ticket-events-index
description: ''
parameters:
- in: path
name: ticket_id
description: ticket_id
required: false
schema:
type: string
format: uuid
- in: header
name: x-impersonation-id
description: Impersonated User ID
required: false
schema:
type: string
format: uuid
- $ref: '#/x-swagger-bake/components/parameters/paginatorPage'
- $ref: '#/x-swagger-bake/components/parameters/paginatorLimit'
- in: query
name: sort
required: false
schema:
type: string
enum:
- id
- uuid
- ticket_id
- key
- intent
- summary
- text
- body
- html
- data
- billable
- time
- direction
- origin
- external
- locked
- frozen
- type
- template
- method
- creator_id
- modifier_id
- created
- modified
- deleted
- sent
- recipients
- revision
- sensitive
- visible
- attachments
- $ref: '#/x-swagger-bake/components/parameters/paginatorDirection'
- in: query
name: billable
description: visible
required: false
schema:
type: boolean
- in: query
name: createdMin
description: createdMin
required: false
schema:
type: string
format: date-time
- in: query
name: createdMax
description: createdMax
required: false
schema:
type: string
format: date-time
- in: query
name: origin
description: origin
required: false
schema:
type: string
enum:
- automation
- providers
- customer
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- properties:
result:
type: array
items:
type: object
$ref: '#/components/schemas/TicketEvent'
pagination:
$ref: '#/components/schemas/pagination'
success:
$ref: '#/components/schemas/success'
errors:
type: array
items:
type: object
$ref: '#/components/schemas/error'
post:
operationId: api\v1:ticketevents:index:post
summary: Api\v1:ticketevents:index:post
description: ''
tags:
- Ticket Events
requestBody:
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/TicketEventCreate'
parameters:
- in: header
name: x-impersonation-id
description: Impersonated User ID
required: false
schema:
type: string
format: uuid
- in: path
name: ticket_id
required: true
schema:
type: integer
format: int64
- in: query
name: draft
description: draft
required: false
schema:
type: boolean
default: '1'
- in: query
name: html
description: html
required: false
schema:
type: boolean
default: '0'
- in: query
name: send
description: send
required: false
schema:
type: boolean
default: '0'
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- properties:
result:
$ref: '#/components/schemas/Ticket'
success:
$ref: '#/components/schemas/success'
errors:
type: array
items:
type: object
$ref: '#/components/schemas/error'
x-summary-source: derived
servers:
- url: /
- url: /v2
/v1/tickets/{ticket_id}/events/{event_id}:
get:
operationId: api\v1:ticketevents:view:get
summary: For endpoint /v1/tickets/{ticket_id}/events/{event_id}
description: ''
tags:
- Ticket Events
externalDocs:
url: https://databank-ltd.stoplight.io/docs/databank-api-docs/f538ce0ac780a-ticket-events-view
description: ''
parameters:
- in: path
name: ticket_id
required: true
schema:
type: integer
format: int64
- in: path
name: event_id
required: true
schema:
type: integer
format: int64
responses:
'200':
description: ''
content:
application/json:
schema:
allOf:
- properties:
result:
$ref: '#/components/schemas/TicketEvent'
success:
$ref: '#/components/schemas/success'
errors:
type: array
items:
type: object
$ref: '#/components/schemas/error'
patch:
operationId: api\v1:ticketevents:edit:patch
summary: Api\v1:ticketevents:edit:patch
description: ''
tags:
- Ticket Events
requestBody:
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/TicketEventPatch'
parameters:
- in: path
name: ticket_id
required: true
schema:
type: integer
format: int64
- in: path
name: event_id
required: true
schema:
type: integer
format: int64
- in: path
name: ticket_id
required: true
schema:
type: integer
format: int64
- in: query
name: draft
description: draft
required: false
schema:
type: boolean
default: '1'
- in: query
name: html
description: html
required: false
schema:
type: boolean
default: '0'
- in: query
name: overwrite_recipients
description: overwrite_recipients
required: false
schema:
type: boolean
default: '0'
- in: query
name: send
description: send
required: false
schema:
type: boolean
default: '0'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TicketEvent'
x-summary-source: derived
servers:
- url: /
- url: /v2
/v1/tickets/{ticket_id}/events/{ticket_event_id}/sensitive:
get:
operationId: api\v1:ticketevents:decrypt:get
summary: For endpoint /v1/tickets/{ticket_id}/events/{ticket_event_id}/sensitive
description: ''
tags:
- Ticket Events
externalDocs:
url: https://databank-ltd.stoplight.io/docs/databank-api-docs/95459936934c3-ticket-events-sensitive-view
description: ''
parameters:
- in: path
name: ticket_id
required: true
schema:
type: string
- in: path
name: ticket_event_id
required: true
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
description: ''
servers:
- url: /
- url: /v2
components:
schemas:
TicketEvent:
properties:
attachments:
title: attachments
items:
type: object
properties:
extension:
example: .png
type: string
format: file-extension
description: The extension of a file.
filename:
example: file.png
type: string
format: filename
description: The full name of a file.
size:
example: 1
type: number
description: A whole number.
created:
example: string
name:
example: string
type: string
modified:
example: string
description:
example: string
type: string
type:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
example:
extension: .png
filename: file.png
size: 1
created:
date: '2023-01-20T13:49:21Z'
timezone: America/New_York
timezone_type: 1
name: string
modified:
date: '2023-01-20T13:49:21Z'
timezone: string
timezone_type: 1
description: string
type: string
uuid: 00000000-0000-0000-0000-000000000000
type: array
billable:
example: true
type: boolean
description: A true or false value.
body:
example: string
type: string
creator:
title: creator
properties:
display_name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
email:
example: user@domain.com
type: string
format: email
description: An email address.
username:
example: string
type: string
deleted:
example: true
type: boolean
description: A true or false value.
external:
example: true
type: boolean
description: A true or false value.
intent:
example: string
type: string
key:
example: string
type: string
locked:
example: true
type: boolean
description: A true or false value.
method:
title: method
properties:
name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
modified:
example: '2023-01-20T13:49:21Z'
type: string
format: date-time
description: A date and time.
recipients:
title: recipients
items:
type: object
properties:
display_name:
example: string
type: string
email:
example: user@domain.com
type: string
format: email
description: An email address.
username:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
example:
display_name: string
email: user@domain.com
username: string
uuid: 00000000-0000-0000-0000-000000000000
type: array
sensitive:
example: true
type: boolean
description: A true or false value.
sent:
example: true
type: boolean
description: A true or false value.
summary:
example: string
type: string
text:
example: string
type: string
ticket:
title: ticket
properties:
number:
example: 1234567
type: number
format: ticket-number
description: A ticket number.
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
summary:
example: string
type: string
time:
example: 1
type: number
format: float
description: A floating-point number.
type:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
type: object
description: ''
pagination:
title: pagination
properties:
limit:
example: 25
type: number
description: A whole number.
pages:
example: 1
type: number
description: A whole number.
count:
example: 25
type: number
description: A whole number.
total:
example: 100
type: number
description: A whole number.
TicketEventPatch:
properties:
billable:
example: true
type: boolean
description: A true or false value.
external:
example: true
type: boolean
description: A true or false value.
recipients:
title: recipients
items:
type: object
properties:
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
example:
uuid: 00000000-0000-0000-0000-000000000000
type: array
summary:
example: string
type: string
minutes:
example: '0'
type: integer
body:
example: string
type: string
format: string <text/html>
data:
example: string
type: string
format: string <text/html>
type: object
description: ''
success:
title: success
example: true
TicketEventCreate:
properties:
billable:
example: true
type: boolean
description: A true or false value.
external:
example: true
type: boolean
description: A true or false value.
recipients:
title: recipients
items:
type: object
properties:
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
example:
uuid: 00000000-0000-0000-0000-000000000000
type: array
summary:
example: string
type: string
minutes:
example: '0'
type: integer
body:
example: string
type: string
format: string <text/html>
data:
example: string
type: string
format: string <text/html>
template:
title: template
properties:
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
type:
title: type
properties:
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
type: object
description: ''
Ticket:
properties:
assets:
title: assets
items:
type: object
properties:
name:
example: string
type: string
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
description:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
example:
name: string
slug: this-is-a-slug
description: string
uuid: 00000000-0000-0000-0000-000000000000
type: array
assigned_to:
title: assigned_to
properties:
display_name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
email:
example: user@domain.com
type: string
format: email
description: An email address.
username:
example: string
type: string
attachments:
example: 1
type: number
description: A whole number.
billable:
example: true
type: boolean
description: A true or false value.
billable_hours:
example: 1
type: number
format: float
description: A floating-point number.
category:
title: category
properties:
name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
classification:
title: classification
properties:
name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
closed_date:
example: '2023-01-20T13:49:21Z'
type: string
format: date-time
description: A date and time.
closer:
title: closer
properties:
display_name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
email:
example: user@domain.com
type: string
format: email
description: An email address.
username:
example: string
type: string
closure_category:
title: closure_category
properties:
name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
closure_notification:
example: true
type: boolean
description: A true or false value.
created:
example: '2023-01-20T13:49:21Z'
type: string
format: date-time
description: A date and time.
creator:
title: creator
properties:
display_name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
email:
example: user@domain.com
type: string
format: email
description: An email address.
username:
example: string
type: string
events:
example: 1
type: number
description: A whole number.
last_event:
title: last_event
properties:
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
left:
example: 1
type: number
description: A whole number.
level:
example: 1
type: number
description: A whole number.
location:
title: location
properties:
code:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
name:
example: string
type: string
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
modified:
example: '2023-01-20T13:49:21Z'
type: string
format: date-time
description: A date and time.
modifier:
title: modifier
properties:
display_name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
email:
example: user@domain.com
type: string
format: email
description: An email address.
username:
example: string
type: string
number:
example: 1234567
type: number
format: ticket-number
description: A ticket number.
order:
title: order
properties:
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
number:
example: 1
type: number
description: A whole number.
summary:
example: string
type: string
organization:
title: organization
properties:
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
name:
example: string
type: string
number:
example: string
type: string
owner:
title: owner
properties:
display_name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
email:
example: user@domain.com
type: string
format: email
description: An email address.
username:
example: string
type: string
parent:
title: parent
properties:
number:
example: 1234567
type: number
format: ticket-number
description: A ticket number.
name:
example: string
type: string
summary:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
priority:
title: priority
properties:
name:
example: string
type: string
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
queue:
title: queue
properties:
name:
example: string
type: string
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
read:
example: string
resolution:
title: resolution
properties:
name:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
recipients:
title: recipients
items:
type: object
properties:
display_name:
example: string
type: string
email:
example: user@domain.com
type: string
format: email
description: An email address.
username:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
example:
display_name: string
email: user@domain.com
username: string
uuid: 00000000-0000-0000-0000-000000000000
type: array
status:
title: status
properties:
name:
example: string
type: string
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
summary:
example: string
type: string
template:
title: template
properties:
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
slug:
example: this-is-a-slug
type: string
format: string
description: A human readable slug.
name:
example: string
type: string
time:
example: 1
type: number
format: float
description: A floating-point number.
type:
example: string
type: string
uuid:
example: 00000000-0000-0000-0000-000000000000
type: string
format: uuid
description: A uuid.
type: object
description: ''
error:
title: error
properties:
code:
example: 400
type: number
description: A whole number.
message:
example: Bad Request
type: string
securitySchemes:
BearerAuth:
type: http
scheme: bearer
x-refined-from:
- swagger.json
- databank-openapi.yml
x-provenance:
method: harvested
publisher: DataBank
source: https://api.databank.com/swagger.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)