Automate Your Technical Documentation with the StageDB API

Streamline your workflow and integrate your existing applications directly with StageDB. Our new REST API allows you to programmatically create projects and generate comprehensive technical documentation for your equipment lists, delivering them directly to any email address.

This powerful feature is designed to save you time by automating the entire documentation process, from equipment selection to final delivery.

How It Works

The process is simple and designed for seamless integration. Your external application sends a POST request to our API endpoint. This single request can:

CREATE A NEW PROJECT
within your StageDB account

SUBMIT A LIST OF EQUIPMENT
using either official manufacturer serial numbers or your internal asset codes

TRIGGER A TECHNICAL FILE BUILD
compiling all the necessary documentation into a single PDF

SEND AN EMAIL
with a custom subject and body containing a direct link to the generated file

The entire workflow is configurable from your application, giving you full control over the output without ever needing to log into the StageDB interface.

Key Features

  • RESTful Integration: A standard POST endpoint that accepts JSON for easy integration with any modern application.

  • Flexible Equipment ID: Identify equipment using serial_numbers or your own asset codes.

  • Highly Customisable Documents: Control the output format, language, and other options directly through the API call.

  • Custom Branded Emails: The email sent to the end-user is highly customisable. You can define the subject line, use HTML in the body, and include tags for dynamic content, such as a direct download URL. This means recipients can access the documentation instantly without needing to log in.

  • Secure Authentication: Access is secured using a unique API key for your company.

Getting Started

Request Your API Key

To begin using the API, you will need to request an API key from our support team. This key is unique to your company and will be used to authenticate your requests.

Authentication

All API requests must be authenticated using your secret API key as a Bearer token in the Authorisation header.
Authorisation: Bearer YOUR_SECRET_API_KEY).

Pricing

We offer a simple, transparent pricing model. The API key comes with a one-time setup fee. This fee is only charged after you have successfully implemented and tested the integration, ensuring you only pay when the solution is working for you.

API Endpoint & Example

You can create a new project and trigger the documentation build by sending a POST request to the following endpoint: https://stagedb.com/api/v1/projects

Example Request

Below is a cURL example demonstrating how to create a project, specify equipment, and configure the output document and email. Most fields are optional, so you can tailor the payload to your specific needs.

JSON

curl -i -X POST https://stagedb.com/api/v1/projects

-H “Authorization: Bearer STGDB_secret_api_key_aaa1aaA1aAaA1AaA1AAaaaaaA11AaA1aAAaAAaAAaAa”

-H “Content-Type: application/json”

-d ‘{

“project”: {

“name”: “New Project”,

“starts_on”: “2025-03-01”,

“finishes_on”: “2025-03-31”,

“equipment”: {

“default_html_note”: “This is a test
project


“,

“serial_numbers”: [“03010-011”, “03010-012”],

“asset_codes”: [“RUN-01/30-089UD-B-305-036”, “AC002”]

},

“bundle”: {

“template_id”: 1,

“signer_user_email_address”: “test@test.com”,

“options”: [“test”, “test2”]

},

“email”: {

“subject”: “Project Update: Technical Documentation Ready”,

“html_body”: “<h1>The technical file has been created successfully.</h1><p>You can download it using the link provided.</p>”,

“email_addresses”: [“client@example.com”, “manager@example.com”]

}

}

}’

“email_addresses”: [“client@example.com”, “manager@example.com”]

}

}

}’

Ready to Automate?

Contact our sales team today to request your API key and start integrating StageDB into your applications.