slas

List Post

POST
Lists SLAs matching a filter.

Request

This endpoint expects an object.
applies_to
list of enumsOptional
The object types the SLA applies to.
Allowed values: conversationissueticket
applies_to_op
enumOptional
Allowed values: allany
cursor
stringOptional
The cursor to resume iteration from. If not provided, then iteration starts from the beginning.
limit
integerOptional
The maximum number of SLAs to return. The default is '50'.
mode
enumOptional
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: afterbefore
sla_type
list of enumsOptional
The SLA types the filter matches.
Allowed values: externalinternal
status
list of enumsOptional
The SLA statuses the filter matches.
Allowed values: archiveddraftpublished

Response

This endpoint returns an object
slas
list of objects
The list of SLAs.
next_cursor
stringOptional
The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.
prev_cursor
stringOptional
The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.