channels
voice
calls-markup-language
calls-markup-language-create

Create markup language call

Create a new markup language call which will be processed according to provided markup instructions.

post/markuplanguage/1/create

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

connectTimeoutinteger

Time to wait, in seconds, before the called party answers the call.

maxDurationinteger

Max duration of the call in seconds.

fromstring required

Phone number from which the call originated from.

externalIdstring

Unique identifier of the call.

notifyUrlstring

If set, the system will send a notification to this URL when the call ends.

Example request

{
  "endpoint": {
    "phoneNumber": "41792030000",
    "type": "PHONE"
  },
  "from": "44790123456"
}

Response

Markup Language Call Successfully Created

connectTimeoutinteger

Time to wait, in seconds, before the called party answers the call.

maxDurationinteger

Max duration of the call in seconds.

fromstring

Phone number from which the call originated from.

externalIdstring

Unique identifier of the call.

Example response

{
  "endpoint": {
    "phoneNumber": "41792030000",
    "type": "PHONE"
  },
  "from": "44790123456"
}

Changes

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