Skip to main content
GET
/
botMetric
/
actions
Get actions
curl --request GET \
  --url https://api.closebot.com/botMetric/actions \
  --header 'X-CB-KEY: <api-key>'
[
  {
    "timestamp": "2023-11-07T05:31:56Z",
    "actionId": "<string>",
    "leadId": "<string>",
    "sourceId": "<string>",
    "botId": "<string>",
    "nodeId": 123,
    "frontendNodeId": "<string>"
  }
]

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Query Parameters

leadId
string

Optional lead ID.

sourceId
string

Optional source ID.

botId
string

Optional bot ID.

start
string<date-time>

Optional start date.

end
string<date-time>

Optional end date.

maxCount
integer<int32>

Optional maximum number of actions to return.

Response

Success

timestamp
string<date-time>
actionId
string | null
leadId
string | null
sourceId
string | null
botId
string | null
nodeId
integer<int32>
frontendNodeId
string | null