customer-engagement
conversations
conversation-routing

Create routing

Create routing method creates a new routing setup if it does not exist or replaces the existing setup. As rules inside routing are stored, executed, and retrieved in the provided order with this method, that order cannot be changed. Every expression within routing can be constructed with at least one or more available operators. The result of the expression will be a success (TRUE) only if all results of operations are TRUE. The query will be executed, one expression after another, in the order they are submitted until new a inbound message first matches the expression. Then the message will be assigned to the matched queue.

The order of rules inside routing is essential for proper routing, as rules match in the provided order. The first rule matching the message will be used. <a href="https://www.infobip.com/docs/conversations/supervisor-guide#queues-and-routing" target="_blank">More info</a>

put/ccaas/1/routing

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body

priority'URGENT' | 'HIGH' | 'NORMAL' | 'LOW'

Conversation priority.

expressionobject required

Query for logical validation of new messages. See Routing for more info.

queueIdstring required

Queue Id is a destination queue where the new message will be assigned to.

enabledboolean

Enabled is a boolean value (TRUE, FALSE), so the rule is engaged or avoided in the routing process. If not provided will be set to default.

namestring

Rule name, light description of expression logic.

routeOnlyDuringWorkingHoursboolean

When set to true, it indicates that the route should only be processed during designated working hours. Set up working hours

Response

OK

statusCode'SUCCESS' | 'ERROR'
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.