Skip to main content
POST
/
v3
/
dashboards
/
{dashboardId}
/
snapshots
Create Snapshot
curl --request POST \
  --url https://api4.kinbox.com.br/v3/dashboards/{dashboardId}/snapshots \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "_id": "<string>",
  "dashboardName": "<string>",
  "dashboardId": "<string>",
  "name": "<string>",
  "totalTimeInMs": 123,
  "error": "<string>",
  "authorId": 123,
  "authorName": "<string>",
  "status": {}
}'
{
  "id": "<string>",
  "_id": "<string>",
  "data": {},
  "dashboardId": "<string>",
  "name": "<string>",
  "processedAt": "<string>",
  "processedTimeInMs": 123,
  "totalTimeInMs": 123,
  "error": "<string>",
  "authorId": 123,
  "authorName": "<string>",
  "status": {},
  "workspaceId": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "lastUpdateAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
dashboardName
string
required
authorId
number
required
authorName
string
required
_id
string
dashboardId
string
name
string
totalTimeInMs
number
error
string
status
object

Response

201 - application/json
id
string
required
data
object
required
authorId
number
required
authorName
string
required
workspaceId
number
required
createdAt
string<date-time>
required
lastUpdateAt
string<date-time>
required
_id
string
dashboardId
string
name
string
processedAt
string
processedTimeInMs
number
totalTimeInMs
number
error
string
status
object
updatedAt
string<date-time>