Morale API - Overview

Introduction

Our API allows you to interact programmatically with Morale from your own applications. The Morale API allows you to interact with the following resources:

The restful API can be accessed over HTTP and/or HTTPS using verbs (GET, POST, PUT, and DELETE). The API currently only supports JSON as the result format.

Each resource section shows an example of the request and the response of a successful request.

Authentication

All requests (except for account list ) require HTTP Basic Authentication. The authentication mechanism is described fully in the authentication section.

Url

The url for all API requests will use your subdomain of the account you are trying to work with.

http://<subdomain>.teammorale.com/api/<api version>/

The only requests that do not start with the above address are requests in which you are trying to get information about multiple accounts. See the accounts section for a list of those requests.

Response Data

Responses are sent as JSON (application/json) data.

Response codes are sent via the normal HTTP Response Code.

Request Data

POST and PUT request data may be formatted as JSON (application/json).