Log Work
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/work-log \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"key": "",
"title": "<string>",
"comment": "<string>",
"category": "<string>",
"work_type": "<string>",
"reference_url": "<string>",
"source": "<string>",
"task_id": "<string>",
"team": "<string>",
"tags": [
"<string>"
]
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/work-log"
payload = {
"key": "",
"title": "<string>",
"comment": "<string>",
"category": "<string>",
"work_type": "<string>",
"reference_url": "<string>",
"source": "<string>",
"task_id": "<string>",
"team": "<string>",
"tags": ["<string>"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
key: '',
title: '<string>',
comment: '<string>',
category: '<string>',
work_type: '<string>',
reference_url: '<string>',
source: '<string>',
task_id: '<string>',
team: '<string>',
tags: ['<string>']
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/work-log', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"author": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"key": "<string>",
"title": "<string>",
"comment": "<string>",
"category": "<string>",
"work_type": "<string>",
"status": "<string>",
"reference_url": "<string>",
"source": "<string>",
"tags": [
"<string>"
],
"started_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"object": "work_log_entry",
"task": {
"id": "<string>",
"identifier": "<string>"
},
"team": {
"id": "<string>",
"name": "<string>"
},
"ended_at": "2023-11-07T05:31:56Z"
}{
"id": "<string>",
"author": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"key": "<string>",
"title": "<string>",
"comment": "<string>",
"category": "<string>",
"work_type": "<string>",
"status": "<string>",
"reference_url": "<string>",
"source": "<string>",
"tags": [
"<string>"
],
"started_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"object": "work_log_entry",
"task": {
"id": "<string>",
"identifier": "<string>"
},
"team": {
"id": "<string>",
"name": "<string>"
},
"ended_at": "2023-11-07T05:31:56Z"
}Work log
Log Work
Log work you start (in_progress), finish (done) or drop (abandoned).
Send the same key when the work ends to close the entry its start opened. Keep title and
comment high level: no customer data, credentials or file contents. Work in the hr,
personal or sensitive_strategy category, or about a topic your workspace excludes in the work
log settings, is never stored: the answer is 204, and an entry already logged under that key is
removed. A 503 means the excluded-topics check could not run and nothing was stored: try again.
POST
/
api
/
v1
/
work-log
Log Work
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/work-log \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"key": "",
"title": "<string>",
"comment": "<string>",
"category": "<string>",
"work_type": "<string>",
"reference_url": "<string>",
"source": "<string>",
"task_id": "<string>",
"team": "<string>",
"tags": [
"<string>"
]
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/work-log"
payload = {
"key": "",
"title": "<string>",
"comment": "<string>",
"category": "<string>",
"work_type": "<string>",
"reference_url": "<string>",
"source": "<string>",
"task_id": "<string>",
"team": "<string>",
"tags": ["<string>"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
key: '',
title: '<string>',
comment: '<string>',
category: '<string>',
work_type: '<string>',
reference_url: '<string>',
source: '<string>',
task_id: '<string>',
team: '<string>',
tags: ['<string>']
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/work-log', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"author": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"key": "<string>",
"title": "<string>",
"comment": "<string>",
"category": "<string>",
"work_type": "<string>",
"status": "<string>",
"reference_url": "<string>",
"source": "<string>",
"tags": [
"<string>"
],
"started_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"object": "work_log_entry",
"task": {
"id": "<string>",
"identifier": "<string>"
},
"team": {
"id": "<string>",
"name": "<string>"
},
"ended_at": "2023-11-07T05:31:56Z"
}{
"id": "<string>",
"author": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"key": "<string>",
"title": "<string>",
"comment": "<string>",
"category": "<string>",
"work_type": "<string>",
"status": "<string>",
"reference_url": "<string>",
"source": "<string>",
"tags": [
"<string>"
],
"started_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"object": "work_log_entry",
"task": {
"id": "<string>",
"identifier": "<string>"
},
"team": {
"id": "<string>",
"name": "<string>"
},
"ended_at": "2023-11-07T05:31:56Z"
}Body
application/json
Response
OK
