Introduction

This article outlines how to generate an auth token for the API.

Authorization

The steps for authorization to the API are as follows.

  • When you go to the SpatialIndex beta, it instructs you how to login using Metamask (uPort support is under-way):

  • You will be asked to sign a message. The message looks garbled but that issue is currently out of our control:

  • Once signed, your browser will have a Bearer token in all of the subsequent requests to the API. By going to the developer console of your browser and inspecting the network requests, you should be able to see it as described below:

  • You can now try out the API