Logo
banner image
Public

API Documentation

Welcome to the API documentation page.

API

URL

https://app.wordware.ai/api/released-app/999cc252-5181-42b9-a6d3-060b4e9f858d/run

Request Body

You have to pass two parameters to the request body: inputs and version.

Inputs

These are the inputs for this WordApp:

  • Type a Thought Provoking Question that uses internet search (<string>)

Version

We use a simplified semantic versioning. All versions follow the format <major>.<minor>, for example 1.24.

You have to pass the version number you want to use. You can use the caret syntax like this to get the latest non-breaking version: ^1.24. We recommend you use this syntax when you build your APIs. Example:

{"version": "^1.24"}

Complete Body

The whole request body looks like this:

{ "inputs": { "Type a Thought Provoking Question that uses internet search": "<string>" }, "version": "^1.24" }

Testing

Setup

To get started, export your API key in your terminal. When logged in you can find it in your .

export WORDWARE_API_KEY=<your_api_key>

cURL

Use this cURL command to send your request:

curl -X POST https://app.wordware.ai/api/released-app/999cc252-5181-42b9-a6d3-060b4e9f858d/run
-H "Authorization: Bearer $WORDWARE_API_KEY"
-d '{"inputs":{"Type a Thought Provoking Question that uses internet search":"<string>"},"version":"^1.24"}'