Logo
Api

Batch

Accepts up to 2000 heartbeats in a single request authenticated via Bearer API key.

POST
/api/external/batch
AuthorizationBearer <token>

In: header

Response Body

curl -X POST "https://ziit.app/api/external/batch" \  -H "Content-Type: application/json" \  -d '[    {      "timestamp": "2023-10-15T14:30:00Z",      "project": "my-awesome-project",      "language": "javascript",      "editor": "vscode",      "os": "macos",      "file": "App.js"    }  ]'
{
  "success": true,
  "count": 0,
  "ids": [
    "string"
  ]
}
Empty
Empty
Empty