customer-engagement
conversations
waiting-strategies-calls

Create waiting strategy

Use this method to add a new waiting strategy. To upload an audio file and get value for fileDescriptor field, use <a href="https://www.infobip.com/docs/api#customer-engagement/anonymize/upload-audio-files" target="_blank">Upload audio files endpoint</a>. <a href="https://www.infobip.com/docs/conversations/supervisor-guide#waiting-strategy-digital-channels" target="_blank">More info</a>.

post/ccaas/voice/2/waiting-strategies

Request

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

Request body

namestring

Waiting strategy name.

conditionType'SENDER' | 'QUEUE' required

Defines which waiting strategy entity the condition applies to. Once defined, cannot be changed.

conditionB979cda441a7c661201042835d7dc18eaec3fa68a2905164912469051f8b8866Condition required

Defines how the 'condition' field is built, e.g., if 'SENDER', the condition is an object with an array of senders.

Response

OK

idstring

Unique id of the waiting strategy.

namestring

Waiting strategy name.

conditionType'SENDER' | 'QUEUE'

Defines which waiting strategy entity the condition applies to. Once defined, cannot be changed.

conditionB979cda441a7c661201042835d7dc18eaec3fa68a2905164912469051f8b8866Condition

Defines how the 'condition' field is built, e.g., if 'SENDER', the condition is an object with an array of senders.

createdAtstring date-time

Time at which the waiting strategy was created.

updatedAtstring date-time

Time stamp when waiting strategy is updated.

Changes

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