Request
#!/usr/bin/env bash
curl -sS --fail-with-body \
"https://ark.cn-beijing.volces.com/api/v3/webhook_endpoints/$WEBHOOK_ENDPOINT_ID/events?limit=20&event_type=session.status_idled" \
-H "Authorization: Bearer $ARK_API_KEY"Response
HTTP/1.1 200 OK
{
"data": [
{
"type": "event",
"id": "whe-20261012080500-f6g7h",
"created_at": "2026-10-12T08:05:00Z",
"data": {
"type": "session.status_idled",
"id": "sesn-20261012080000-k1l2m"
}
}
],
"next_page": null
}