Import time
POST
apiKeyheader
AuthorizationBearer <token>An API key (blk_…) from Settings → API keys.
source*stringdryRun?stringValue in
"true""false"dateFormat?stringDefault
"auto"Value in
"auto""MDY""DMY""YMD"application/json- response
dryRun*booleanbatchId*string|nullrows*integerRange
-9007199254740991 <= value <= 9007199254740991imported*integerRange
-9007199254740991 <= value <= 9007199254740991duplicates*integerRange
-9007199254740991 <= value <= 9007199254740991invalid*array<>totalSeconds*integerRange
-9007199254740991 <= value <= 9007199254740991dateFormat*stringValue in
"MDY""DMY""YMD"newClients*array<string>newProjects*array<>newTasks*integerRange
-9007199254740991 <= value <= 9007199254740991newTags*array<string>members*array<>curl -X POST 'https://your-billleaf-api/v1/time/import/string'Example Response201
{ "dryRun": true, "batchId": "string", "rows": -9007199254740991, "imported": -9007199254740991, "duplicates": -9007199254740991, "invalid": [ { "line": -9007199254740991, "message": "string" } ], "totalSeconds": -9007199254740991, "dateFormat": "MDY", "newClients": [ "string" ], "newProjects": [ { "name": "string", "clientName": "string" } ], "newTasks": -9007199254740991, "newTags": [ "string" ], "members": [ { "name": "string", "email": "string", "matched": true, "entries": -9007199254740991 } ]}