List Commands (POST)

Lists commands for a Dev organization.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
cursorstringOptionalformat: "text"
The cursor to resume iteration from. If not provided, then iteration starts from the beginning.
executor_typelist of enumsOptional

Filtering based on executor_type.

Allowed values:
limitintegerOptional
The maximum number of commands to return per page. The default is '50'.
modeenumOptional

The iteration mode to use. If “after”, then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If “before”, then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.

Allowed values:
namespacelist of stringsOptional
Filter commands based on namespace.
sort_bylist of stringsOptional
List of fields to sort the commands items by and how to sort them.
source_object_idstringOptionalformat: "id"

ID of the object where command is invoked (work/part/conversation).

statuslist of enumsOptional
Filter commands based on status.
Allowed values:

Response

Success.
commandslist of objects
List of commands.
next_cursorstring or nullformat: "text"
The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.
prev_cursorstring or nullformat: "text"
The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.

Errors