🔡API

The API is broken into different components

Authentication

To use the API, you need to receive an API Key. Contact BlockSpaces Support, support@blockspaces.com, to receive your API Key.

The API Key is always passed in as an http header variable, X-API-KEY.

API Keys are valid for 12 months.

Common request format

baseUrl: https://app.blockspaces.com
headers: { 'Content-Type': 'application/json', 'X-API-KEY': 'your api key' }

Common Response Format

All API calls respond with the following format.

{
    "status": "success" | "failure",
    "data": JSON response format is described on each API document page,
    "message": "informational message"
}

Components of the API

Last updated