Create a to-do

Required scope: command_tickets:write

Creates a to-do on the ticket. Without insert_before or insert_after, the to-do goes at the end of the ticket's to-dos. A ticket can have at most 45 to-dos. Returns the full record of the new to-do.

🚧

Early Access

Command endpoints are in early access and the interface is subject to change. For updates, please refer to our API Changelog.

📘

Command license required

To use these endpoints, you need a Command license. Learn what Command includes

Path Params
string
required

Globally unique identifier for the Command ticket.

Query Params
opt_fields
array of strings

This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include. Properties can include nested fields. To learn more, see the input/output options guide.

opt_fields
boolean

Provides “pretty” output.
Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

Body Params

The to-do to create.

data
object
Responses

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