API

API provides access to its services via REST web services. The API uses key based authentication passed via Authorization header. You can manage your API keys from LabStack account settings.

To construct a REST call, combine:

  • HTTP Method
  • Service endpoint
  • Headers
    • Authorization
    • Content-Type
  • Payload

For example, this request sends a PING:

Request

curl \
  https://api.labstack.com/ping \
  -X POST \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '"PING"'

Response

200 - OK

"PONG"

Client Libraries

Language Status
Go Active
Java Active
Python Active
Node.js Active
PHP Under development
Ruby Under development

© 2018 LabStack. All Rights Reserved.