The Task Object
This is an object representing a task object inside your space.
Properties
Section titled “Properties”- id number
Numeric ID of your task
- name string
Given name of your task
- description string
A brief description of your task for your editors
- task_type string
Default:
webhook; Currently available:webhook - last_execution string
Date and time of last execution (Format: YYYY-mm-dd HH:MM)
- last_response string
Last execution response log
- webhook_url string
URL of webhook that should be called when tasks is being executed
- user_dialog object
User dialog configuration
{"task": { "id": 45130, "name": "My Task", "description": "A task for manual firing", "task_type": "webhook", "last_execution": "2024-01-23T09:58:01.815Z", "last_response": null, "webhook_url": "https://www.storyblok.com", "user_dialog": { "name": { "type": "text", "display_name": "What's your name?" }, "environment": { "type": "option", "options": [ { "name": "Dev", "value": "dev" }, { "name": "Staging", "value": "staging" } ], "display_name": "Which environment?" }}}Get in touch with the Storyblok community