1. The Task Object

The Task Object

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)

  • webhook_url

    string

    URL of webhook that should be called when tasks is being executed

  • last_response

    string

    Last execution response log

  • lambda_code

    string

    Beta: Lambda function code

Example Object
{
  "task": {
    "id": 124,
    "name": "My Task Name",
    "description": null,
    "task_type": "webhook",
    "last_execution": null,
    "lambda_code": null,
    "last_response": null,
    "webhook_url": "https://www.storyblok.com"
  }
}