Mutation
mutation CreateEscalationPath($input: CreateEscalationPathInput!) {
createEscalationPath(input: $input) {
escalationPath {
id
name
steps {
__typename
... on EscalationPathStepUser {
__typename
}
}
description
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"name": "string",
"steps": [
{
"type": "USER"
}
]
}
}Response
{
"data": {
"createEscalationPath": {
"escalationPath": {
"id": "id",
"name": "string",
"steps": [
{
"__typename": "EscalationPathStepUser"
}
],
"description": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
createEscalationPath
Creates a new escalation path with the given name, optional description, and an ordered list of steps (up to 20).
Each step routes the thread to either a specific user or the owners of a label type. Steps must not contain duplicates.
Requires the escalationPath:create permission and the escalation paths feature entitlement.
MUTATION
createEscalationPath(input: CreateEscalationPathInput!): CreateEscalationPathOutput!Arguments
input
required
Returns
escalationPath
error
Mutation
mutation CreateEscalationPath($input: CreateEscalationPathInput!) {
createEscalationPath(input: $input) {
escalationPath {
id
name
steps {
__typename
... on EscalationPathStepUser {
__typename
}
}
description
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"name": "string",
"steps": [
{
"type": "USER"
}
]
}
}Response
{
"data": {
"createEscalationPath": {
"escalationPath": {
"id": "id",
"name": "string",
"steps": [
{
"__typename": "EscalationPathStepUser"
}
],
"description": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

