Skip to main content

Introduction

Mindstep services are organised by functionality. The APIs exposed by all services are organised around the principles of REST. This means they have predictable resource-oriented URLs, use standard HTTP response codes, authentication and verbs, and returns JSON-encoded responses.

Authentication

All Mindstep services use API keys to authenticate requests. At the time of writing there is no self-service mechanism for managing API keys. Your account manager will issue you with a set of keys that can be used to authenticate requests in our sandbox and production environments.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Authentication to all endpoints is via bearer auth. This means you need to set the Authorization header appropriately on every request. For example:

Authorization: Bearer m_live_your-production-api-key

Errors

All Mindstep services use conventional HTTP status codes to indicate the success or failure of a request. Codes in the 2xx range indicate succes. Codes in the 4xx range indicate a problem with the request. Codes in the 5xx range indicate a problem on our side. The table below explains some common status codes.

Status codeNameDescription
200OKThe request was handled successfully.
201CreatedThe request successfully created a resource.
400Bad RequestSomething was wrong with the request. For example, the request body was missing a required property.
401UnauthorizedMissing API key, or invalid API key provided.
403ForbiddenThe provided API key does not have permissions to access the requested resource.
404Not FoundThe requested resource could not be found.
429Too Many RequestsThe provided API key has made too many requests too quickly.
500Internal Server ErrorSomething went wrong on Mindstep's end.