Messages

Message summary

http https://sls-api.sheepcrm.com/api/v2/selfservice/$FLOCK/messages/summary/ "Authorization: Bearer $APP_API_TOKEN"

HTTP/1.1 200 OK
{

}

Get all messages for the user

http https://sls-api.sheepcrm.com/api/v2/selfservice/$FLOCK/messages/ "Authorization: Bearer $APP_API_TOKEN"

HTTP/1.1 200 OK
{
        List of all messages
}

A single message

http https://sls-api.sheepcrm.com/api/v2/selfservice/$FLOCK/message/{message-uid}/ "Authorization: Bearer $APP_API_TOKEN"

Read a message

Get the message and mark it as read

http https://sls-api.sheepcrm.com/api/v2/selfservice/$FLOCK/message/{message-uid}/read/ "Authorization: Bearer $APP_API_TOKEN"

Acknowledge a message

http PUT https://sls-api.sheepcrm.com/api/v2/selfservice/$FLOCK/message/{message-uid}/acknowledge/ "Authorization: Bearer $APP_API_TOKEN"