Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI ReferenceChangelog
Dev GuideAPI ReferenceUser GuideDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference
Dev CommunityOptimizely AcademySubmit a ticket

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

POST /tasks

Experimental Create a task

Log in to see full request history
Body Params

Payload to create a task

string
required

Title of the task

string

Id of the campaign to be associated with the task

string

Id of the workflow to be used in the task

date-time

Start date and time of the task, in ISO 8601 UTC format (2020-02-10T10:40:45Z). If workflow_id is present and the workflow has step duration, then either start_at or due_at is required. If both start_at and due_at is provided with a workflow_id that has step duration, then the start_at field will be ignored.

date-time

Due date and time of the task, in ISO 8601 UTC format (2020-02-10T10:40:45Z). The due_at field is required if workflow_id is present and the workflow does not have step duration. If workflow_id is present and the workflow has step duration, then either start_at or due_at is required.

string

Id of the owner of the task

Responses

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here! Or choose an example:
application/json