Approvals
See what the person your app acts for can decide right now, so your app can tell them, while the deciding stays in Agoo.
This is a published preview. Names and fields may still change before general availability; changes will be listed in the changelog.
GET/approval-requests (scope approvals:read) returns what the person an
OAuth app acts for may decide now, oldest first, with counts of what's waiting. Use it to show "3 approvals waiting" in your own app, a chat tool
or a daily summary.
It's read only. Approving, declining and sending back happen in Agoo, where the person sees the whole request before they decide. No key, app or AI assistant can approve anything through the API.
What's in it
- Each item has its
kind, such as leave, a timesheet or extra time. New kinds are added as more of Agoo uses approvals, so show an item whose kind you don't know with a general label rather than leaving it out. countsgives how many are waiting, so you don't need to page through to show a number.- Only what the person may decide now is there: not what they've already decided, and not what's waiting for someone else.
limitsets how many items come back (1 to 100, 25 by default).
It's for an OAuth app acting for someone: an API key has no person, so nothing is waiting for it.
Related
Intake Requests
Submit a request to one of your organisation's intake queues from your own app, for the person it acts for, just as the queue's form would.
Imports and Bulk Exports
Bring tasks and projects in from other tools with a dry run, mapping, row-level results and undo, and export tasks or results in bulk.