Client applications can use HTTP’s content negotiation mechanism to indicate which representation of the specified resource they are requesting. The API supports only JSON at this time. However, to ensure future compatibility, include the representation type in the Accept request header as shown below.

Accept: application/json

For example:

$ curl -X GET 'https://public.enigma.com/api/collections/' \
        -H 'Authorization: Bearer <APIKEY>' \
        -H 'Accept: application/json'