Conversations

Send Agent Message

Changed on

Sends a message from an agent to a customer

post/v1/conversations/{id}/messages

Request

  • Base URL: https://api.atlas.so
  • URL: https://api.atlas.so/v1/conversations/{id}/messages
  • Auth: HTTP bearer

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

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property type changed from string to integer

    • info

      the request property default value changed from 1 to 1

    • info

      added the new 1.00 enum value to the request property

    • info

      added the new 2.00 enum value to the request property

    • info

      added the new 3.00 enum value to the request property

    • info

      added the new 4.00 enum value to the request property