v1

latestOpenAPI 3.0.02026-07-2447166133.5 KB
Scheduled Messages

List any messages scheduled in a conversation

This operation lists the messages that are scheduled in a conversation.

get/conversations/{conversationId}/scheduledmessages

Path parameters

conversationIdstring required

The id of the conversation to get the scheduled messages for

Response

An array of messages that are scheduled in a conversation

Example response

{
  "scheduledMessages": [
    {
      "conversationId": "t_0E5QDGJC03000",
      "createdAt": "2020-04-01T00:00:00Z",
      "id": "scm_26RRC7PQ6JG00",
      "message": {
        "attachments": [
          {
            "data": {
              "mimetype": "audio/mpeg"
            },
            "title": "example.pdf"
          }
        ],
        "text": "Can you look at this @Dr. Smith?"
      },
      "modifiedAt": "2020-04-01T00:00:00Z",
      "scheduledToSendAt": "2020-04-01T00:00:00Z",
      "sendAsInternalMemberId": "entity_0D4QABCC06000"
    }
  ]
}