Create

POST
Creates an SLA in draft status.

Request

This endpoint expects an object.
namestringRequired
Human-readable name.
account_selectorobjectOptional
applies_tolist of enumsOptional
Allowed values: conversationissueticket
The object types this SLA can apply to.
descriptionstringOptional
Description of the purpose and capabilities of the SLA.
evaluation_periodenumOptional
Allowed values: monthlyquarterlyweeklyyearly
Specifies the frequency of when the contractually-meaningful evaluation of the SLA happens. The organization for their own information might evaluate the various metrics contained in the policy as often as we can make it feasible for them, but only the evaluation at the end of the evaluation period triggers a compensation and needs to be shared with the customer.
policieslist of objectsOptional
The policies encompassed by this SLA, ordered in decreasing priority.
sla_type"external" or "internal"Optional
Allowed values: externalinternal
Type of the SLA.

Response

This endpoint returns an object.
slaobject