scheduled-actions
Get scheduled actions list with any action type by current customer
get/scheduled-actions
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
The quantity of scheduled actions items per query/page
nextPageTokenstring
Next page token is the base64 encoded cursor (created action date) from which to start paginated list
Response
OK
Example response
{
"timestamp": "2022-03-13T15:08:14.748Z",
"status": "successful",
"scheduled_actions": [
{
"id": "b5220786-0636-48c9-a9a0-087d17d15d9f",
"submit_on": "2022-02-19 16:04:53",
"created_at": "2022-03-08T14:20:08.000Z",
"updated_at": "2022-03-08T14:20:08.000Z",
"action_type": "FILL_REQUEST",
"status": "PENDING",
"metadata": {
"request_id": 1
},
"customer_id": 21
}
],
"pagination": {
"next_page_token": "MjAyMi0wMy0wOCAxNjoyMDowMg==",
"total": 50,
"per_page": 10,
"pages": 5
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.