List

GET

Lists SLAs matching a filter.

Query parameters

applies_toenumOptional

The object types the SLA applies to.

Allowed values: conversationissueticket
applies_to_op"all" or "any"Optional

The Filter operator to be applied on the applies to object types filter.

Allowed values: allany
cursorstringOptional

The cursor to resume iteration from. If not provided, then iteration starts from the beginning.

limitintegerOptional

The maximum number of SLAs to return. The default is ‘50’.

mode"after" or "before"Optional

The iteration mode to use, otherwise if not set, then “after” is used.

Allowed values: afterbefore
sla_type"external" or "internal"Optional

The SLA types the filter matches.

Allowed values: externalinternal
sort_bystringOptional

Fields to sort the SLAs by and the direction to sort them.

statusenumOptional

The SLA statuses the filter matches.

Allowed values: archiveddraftpublished

Response

This endpoint returns an object.
slaslist of objects

The list of SLAs.

next_cursorstringOptional

The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.

prev_cursorstringOptional

The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.