Skip to content
Flow Tickets

Get Ticket List V2

Queries the ticket list so approvers or administrators can search tickets by condition.

Request parameters

  • This endpoint has no required parameters; see the field documentation below for optional ones.
  • Filter with any combination of tab, id, flow_key, actor_id, all, last_handler_id, and applied_time_range, and control paging with page and page_size.
  • See each field's own documentation for format, accepted values, and business meaning.

Business notes

This is a shared endpoint of the common ticket-approval system; omitted filters are not applied.

Returns

On success, returns the matching tickets with pagination. See the response definition below for field meanings.

POSThttps://b-api.lbkrs.com/admin-api/v2/tickets

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

tabstring

Ticket category to query.

Allowed values: pending Pending my approval, created Created by me, done Already reviewed, cc Copied to me

Values
pending
Pending my approval
created
Created by me
done
Already reviewed
cc
Copied to me
idstring

Ticket ID associated with this request.

flow_keystring

Specifies Flow Key.

actor_idstring

Actor ID associated with this request.

allboolean

Boolean flag for all.

Boolean values:

  • true - The condition applies
  • false - The condition does not apply
last_handler_idstring

Last Handler ID associated with this request.

applied_time_rangestring

Specifies Applied Time Range.

pagenumber

Page number to query, starting from 1.

page_sizenumber

Maximum number of records to return per page. Use a positive integer.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure
pageinteger

Page

page_sizeinteger

Page size

ticketsarray<object>

Tickets

Child attributes
idstring

Id

flow_keystring

Flow key

flow_titlestring

Flow title

titlestring

Title

statusinteger

Status

actorobject

Actor

Child attributes
idstring

ID

namestring

Name

emailstring

Email

avatarstring

Avatar

resignedboolean

Resigned

feishu_idstring

Feishu id

callback_errorstring

Callback error

resolved_atstring

Resolved at

created_atstring

Created at

updated_atstring

Updated at

approved_payloadobject

Approved payload

rejected_payloadobject

Rejected payload

front_payloadobject

Front payload

contentstring

Content

target_typestring

Target type

target_idsarray<string>

Target ids

target_preview_urlstring

Target preview url

settingobject

Setting

timelinesarray<object>

Timelines

Child attributes
idstring

ID

typestring

Type

operatorobject

Operator

Child attributes
idstring

ID

namestring

Name

emailstring

Email

avatarstring

Avatar

resignedboolean

Resigned

feishu_idstring

Feishu id

handlersarray<object>

Handlers

Child attributes
idstring

ID

namestring

Name

emailstring

Email

avatarstring

Avatar

resignedboolean

Resigned

feishu_idstring

Feishu id

commentobject

Comment

Child attributes
bodystring

Body

deleted_atstring

Deleted at

idstring

Id

template_idstring

Template id

detail_template_idstring

Detail template id

statusinteger

Status

done_atstring

Done at

created_atstring

Created at

updated_atstring

Updated at

errorstring

Error

settingobject

Setting

capacityobject

Capacity

categorystring

Category

descriptionstring

Description

flow_node_configure_typestring

Flow node configure type

sub_titlesarray<string>

Sub titles

biz_payloadsobject

Biz payloads

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs