/dispatch_history/{bucketId}https://apis-spb.konso.io/dispatch_history/{bucketId}smart_toyAgentic specDispatch message history
Получает постраничную выборку записей истории сообщений dispatch для указанного bucketId.
Параметры запроса
bucketIdstringProject (bucket) identifier
x-api-keystringAPI key passed in the request header for authentication
emailstringFilter by recipient email address
subjectstringFilter by message subject (partial match)
fromDatenumberStart of date range as Unix timestamp (milliseconds)
toDatenumberEnd of date range as Unix timestamp (milliseconds)
tagsstringComma-separated list of tags to filter by (e.g. onboarding,welcome)
sortstringпо умолчанию: "TimeStampDesc"Sort order: TimeStampAsc or TimeStampDesc. Defaults to TimeStampDesc
fromnumberпо умолчанию: "0"Zero-based offset for pagination
tonumberпо умолчанию: "10"Maximum number of records to return
Ответы
тип: PagedApiResponse<DispatchHistoryDto>
тип: ApiResponse<T>
successbooleanAlways falseerrorsErrorDetail[]Server-side errorscorrelationIdstringTrace IDmessagestringError messagestackstringStack trace (non-production only)curl --request GET \
--url 'https://apis-spb.konso.io/dispatch_history/{bucketId}?from=0&to=20&sort=TimeStampDesc' \
--header 'x-api-key: <your-api-key>'{
"total": 1,
"list": [
{
"id": "msg_a1b2c3d4e5f6",
"projectId": "my-bucket-id",
"correlationId": "req-abc-123",
"env": "production",
"recipient": "user@example.com",
"subject": "Welcome to Konso",
"createdOn": 1718620800000,
"messageType": 1,
"status": "Sent",
"statusId": 2,
"errorMsg": null,
"providerName": "SendGrid",
"providerId": "prv_xyz789",
"tags": ["onboarding", "welcome"],
"sentOn": 1718620801500
}
]
}