Scheduled Messages
List any messages scheduled for the organization
Changed onThis operation lists the messages that are scheduled to be sent from the organization.
get/scheduledmessages
Request
- Base URLhttps://api.sprucehealth.com/v1
- AuthHTTP bearer
Query parameters
paginationTokenstring
Token given in a previous response to allow requesting the next page
Example:abcdefghijklmnop
Response
An array of messages that are scheduled for the organization
Example response
{
"paginationToken": "abcdefghijklmnop",
"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",
"sentConversationItemId": "ti_0D4QABCC06000"
}
],
"totalCount": 750
}Changes
- info
added the optional property
//to the response with the status
- info