The HTTP API is inspired by the Dropbox API v2.
MapHub API uses HTTP POST requests with JSON arguments and JSON responses.
Request authentication is via API keys using the
Authorization: Token <api_key>request header.
You can create API keys from the Settings page:
To use the API, you need to verify your email address.
Errors are returned in the
errorJSON field, status code is always 200.
A successful response has no
Endpoints accept arguments as JSON in the request body and return results as JSON in the response body.
The Upload and Append endpoints accept file content in the request body, so their arguments are instead passed as JSON in the
MapHub-API-Arg request header.
You can see the currently implemented endpoints in the left side menu.
If you'd like to see more API endpoints or need some added features, please contact us.
The API for Enterprise users is the same as with the public website, except the
maphub.net URL is changed to your server's URL. For example, instead of