Your next actions, and the owner exceptions
GET
/v1/mobile/workspace/today
const url = 'https://api.vocapable.com/v1/mobile/workspace/today';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vocapable.com/v1/mobile/workspace/today \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
MobileWorkspaceToday
object
generated_at
required
Generated At
string format: date-time
window
required
MobileWorkspaceWindow
The company-local calendar day Today’s counts are taken over.
object
timezone
required
Timezone
string
starts_at
required
Starts At
string format: date-time
ends_at
required
Ends At
string format: date-time
counts
required
MobileWorkspaceTodayCounts
object
open_tasks
required
Open Tasks
integer
overdue_tasks
required
Overdue Tasks
integer
callbacks_due_today
required
Callbacks Due Today
integer
approvals_awaiting_you
required
Approvals Awaiting You
integer
handoffs_awaiting_you
required
Handoffs Awaiting You
integer
priorities
required
Priorities
Array<object>
MobileWorkspacePriorityOne item of the ordered “do this next” list: the record, not a copy of it.
object
kind
required
Kind
string
title
required
Title
string
resource_type
required
Resource Type
string
resource_id
required
Resource Id
string
overdue
required
Overdue
boolean
promises
required
Promises
Array<object>
WorkspaceTaskobject
id
required
Id
string
kind
required
Kind
string
title
required
Title
string
owner
required
Any of:
WorkspacePersonRef
A teammate named on a record: the id the server holds and the name to show.
object
user_id
required
User Id
string
name
required
Name
string
null
status
required
Status
string
revision
required
Revision
integer
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
exceptions
required
Any of:
Array<object>
MobileWorkspaceExceptionAn owner/manager exception: a count of contributing records plus a few of their ids.
object
kind
required
Kind
string
count
required
Count
integer
title
required
Title
string
detail
required
Detail
string
resource_ids
required
Resource Ids
Array<string>
null
Example
{ "priorities": [ { "kind": "callback", "resource_type": "task" } ], "promises": [ { "kind": "follow_up", "subject_type": "handoff", "status": "open" } ], "exceptions": [ { "kind": "missed_commitments" } ]}