GET
/
api
/
public
/
ticket-dashboard
List ticket dashboard rows (paginated)
curl --request GET \
  --url https://api.vambe.me/api/public/ticket-dashboard \
  --header 'x-api-key: <x-api-key>'
{
  "items": [
    {
      "id": "<string>",
      "phone": "<string>",
      "created_at": "<string>",
      "first_human_stage_at": "<string>",
      "first_human_message_at": "<string>",
      "resolved_at": "<string>",
      "status": "<string>",
      "current_stage": "<string>",
      "current_pipeline": "<string>",
      "closure_stage": "<string>",
      "closure_pipeline": "<string>",
      "closed_by": "<string>",
      "closed_by_assistant": "<string>",
      "closed_by_agent": "<string>",
      "canal_contacto": "<string>",
      "nombre_contacto": "<string>",
      "id_contacto": "<string>",
      "tags": "<string>",
      "historial_de_etapas": "<string>",
      "historial_de_agentes": "<string>",
      "monto_total": "<string>",
      "moneda": "<string>",
      "productos": "<string>",
      "ad_platform": "<string>"
    }
  ],
  "page": 1,
  "pageSize": 50,
  "total": 1234,
  "totalPages": 25,
  "hasNextPage": true
}

Headers

x-api-key
string
required

Query Parameters

start_date
string

Filter from (inclusive). Format: YYYY-MM-DD or ISO.

Example:

"2024-05-01"

end_date
string

Filter to (inclusive). Format: YYYY-MM-DD or ISO.

Example:

"2024-05-31"

page
number
default:1

Page number (>= 1). Defaults to 1.

Required range: x > 1
Example:

1

page_size
number
default:50

Items per page (1..500). Defaults to 50.

Required range: 1 < x < 500
Example:

50

include_count
boolean
default:false

If true, includes total, totalPages and hasNextPage.

Example:

false

Response

200 - application/json

Paginated list of ticket dashboard rows

items
object[]
page
number
Example:

1

pageSize
number
Example:

50

total
number
Example:

1234

totalPages
number
Example:

25

hasNextPage
boolean
Example:

true