Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion api-reference/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@
"/v1/agent/sessions": {
"get": {
"summary": "List Agent Sessions",
"description": "List your team's sessions, newest first. Filter by agent, status, end\nreason, caller number, SIP Call-ID, or creation time. Paginate with `cursor` (recommended; follow\n`next_cursor` while `has_more` is true) or with `page` for offset pagination\nwith a `total` count — the two are mutually exclusive.",
"description": "List your team's sessions, newest first. Filter by agent, status, end\nreason, caller number, SIP Call-ID, end user ID, or creation time.\nPaginate with `cursor` (recommended; follow `next_cursor` while `has_more`\nis true) or with `page` for offset pagination with a `total` count. The\ntwo are mutually exclusive.",
"security": [
{
"BearerAuth": []
Expand Down Expand Up @@ -624,6 +624,25 @@
},
"deprecated": false
},
{
"in": "query",
"name": "end_user_id",
"description": "Exact-match end_user_id set at session creation.",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End User Id"
},
"deprecated": false
},
{
"in": "query",
"name": "created_after",
Expand Down Expand Up @@ -1384,6 +1403,18 @@
"default": null,
"title": "Name"
},
"end_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End User Id"
},
"status": {
"enum": [
"pending",
Expand Down Expand Up @@ -18193,6 +18224,18 @@
"default": null,
"title": "Name"
},
"end_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End User Id"
},
"status": {
"enum": [
"pending",
Expand Down Expand Up @@ -18581,6 +18624,7 @@
}
],
"default": null,
"description": "Your identifier for the end user, stored verbatim. Returned on session reads and webhooks, and filterable with `GET /v1/agent/sessions?end_user_id=`.",
"title": "End User Id"
},
"metadata": {
Expand Down
Loading