External API
Storylane now offers External API capabilities designed for advanced users, enabling seamless backend integration with our platform. These APIs provide enhanced functionality to help you streamline your demo management and improve security.
The API is available to users on the Enterprise plan. If you're interested in testing the API or the Enterprise plan, please contact us at support@storylane.io.
Benefits of External API Integration
Access Published Demos: List and track all published demos effortlessly.
Secure Demo Links: Generate demo links with advanced security features like passcodes, expiration dates, and authentication codes.
Personalization: Pass email parameters in demo links for tailored experiences.
Token Management: Update links with secure access tokens.
Control Access: View active links and disable them as required.
Getting Started
To begin using the External API, you’ll need to request an API token from Storylane. Follow the steps below:
Step 1: Request an API Token and Workspace ID
Contact our support team at support@storylane.io to request the following credentials:
workspace_id
– Unique identifier for your workspace.access_token
– Your secure API access token.
Once your request is approved, you will receive both credentials securely.
Save these credentials securely, as they are required for authenticated API requests.
We are not able to access access_token
again if you lose it. We don’t store it on our side and have no access to it after we send it to you. Therefore, please store it securely.
Step 2: Set Up and Authenticate Using Postman
Access the Storylane Public Postman Collection: Storylane Public Postman Collection.
In the Postman collection, locate and replace the following variables:
WORKSPACE_ID
– Replace with the workspace ID provided by support.ACCESS_TOKEN
(The Bearer Auth Token) – Replace with the API token provided by support.
Step 3: Run and Verify the Data
Run the API endpoints in Postman and verify that you are successfully retrieving your company’s demo data.
Here is an interactive demo demonstrating how to set up using Postman 👇
API Responses
1. All Published Demos Use the endpoint to list all published demos in your workspace. A sample response:
2. Get Details on a Single Demo Use the endpoint to fetch detailed information about a specific demo. A sample response:
3. List Demo Links Returns a response containing all links associated with a specific demo. A sample:
4. Create a New Demo Link A sample response for getting the details of newly created demo links:
5. Update an Existing Demo Link Returns a response with updated details of an existing demo link:
Additional Notes
Ensure API tokens are stored securely and not shared publicly.
For further assistance, please contact support@storylane.io.
Last updated