APIs, REST and JSON

The LOOP API has been designed to fit closely in line with Government Digital Service (GDS) standards.

The endpoints have been implemented using a RESTful architecture. It makes use of HTTP verbs to indicate the action you are wanting to perform.

Safe methods (GET) will never alter data, whilst unsafe methods (POSTPUT and DELETE) will.

The entire API is designed to work with JSON, and expects all input to be sent as JSON (with exception to files). The following headers are expected to be sent with each request:

Content-Type: application/json Accept: application/json

The main API implements OAuth 2.0 for authentication and can be used in the future to open up the API to 3rd party applications with grant types other than the password grant.

The full LOOP API documentation is available here.