Create Team Routing Rule

POST {{baseUrl}}/v2/teams/:identifier/routing-rules?teamIdentifierType=id

Creates a new team routing rule

Request Params

KeyDatatypeRequiredDescription
teamIdentifierTypestringType of the identifier. Possible values are 'id' and 'name'. Default value is 'id'

Request Body

{"notify"=>{"type"=>"<string>", "id"=>"<string>"}, "name"=>"<string>", "order"=>"<integer>", "criteria"=>{"type"=>"<string>"}, "timeRestriction"=>{"type"=>"<string>"}, "timezone"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;requestId&quot;:&quot;ipsum Excepteur magna ut&quot;,&quot;took&quot;:0,&quot;result&quot;:&quot;ipsum culpa&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;nulla dolor Lorem non&quot;,&quot;name&quot;:&quot;dolor magna sunt consequat&quot;}}