POST api/Webhook

Request Information

URI Parameters

None.

Body Parameters

WebhookPayload
NameDescriptionTypeAdditional information
Messages

Collection of Message

None.

Request Formats

application/json, text/json

Sample:
{
  "Messages": [
    {
      "From": "sample string 1",
      "Id": "sample string 2",
      "Timestamp": 3,
      "Text": {
        "Body": "sample string 1"
      }
    },
    {
      "From": "sample string 1",
      "Id": "sample string 2",
      "Timestamp": 3,
      "Text": {
        "Body": "sample string 1"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<WebhookPayload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VibeVoiceApi.Controllers">
  <Messages>
    <Message>
      <From>sample string 1</From>
      <Id>sample string 2</Id>
      <Text>
        <Body>sample string 1</Body>
      </Text>
      <Timestamp>3</Timestamp>
    </Message>
    <Message>
      <From>sample string 1</From>
      <Id>sample string 2</Id>
      <Text>
        <Body>sample string 1</Body>
      </Text>
      <Timestamp>3</Timestamp>
    </Message>
  </Messages>
</WebhookPayload>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.