Conversations

Send Agent Message

Sends a message from an agent to a customer

post/v1/conversations/{id}/messages

Path parameters

idstring uuid required

Request body

textstring required
type1 | 2 | 3 | 4
channelstring
whatsappTemplateIdstring nullable
subChannelIdentifierstring nullable

Response

Successful Response

idinteger required
sidestring required
typestring required
createdAtstring date-time required
sentAtstring date-time required
textstring required
channelstring nullable
deliveryStatusstring nullable
failedReasonstring nullable
deliveredAtstring date-time nullable

Example response

{
  "agent": {
    "profileUrl": "http://www.example.com/"
  }
}

Changes

Changed in 1 of the 48 revisions of this API.25

  • fd63e844381125See the full diff
    • request property type was restricted to a list of enum values

      request-property-became-enum

    • the type request property type/format changed from string/ to integer/

      request-property-type-changed

    • the type request property default value changed from 1 to 1

      request-property-default-value-changed

    • added the new 1.00 enum value to the request property type

      request-property-enum-value-added

    • added the new 2.00 enum value to the request property type

      request-property-enum-value-added

    • added the new 3.00 enum value to the request property type

      request-property-enum-value-added

    • added the new 4.00 enum value to the request property type

      request-property-enum-value-added