Welcome to the API documentation page.
https://app.wordware.ai/api/released-app/e20756d1-a9cd-4184-9a05-ae3dd0f7f5c7/run
You have to pass two parameters to the request body: inputs and version.
These are the inputs for this WordApp:
We use a simplified semantic versioning. All versions follow the format <major>.<minor>, for example 1.10.
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.10. We recommend you use this syntax when you build your APIs. Example:
{"version": "^1.10"}
The whole request body looks like this:
{ "inputs": { "Your Photo": { "type": "image", "image_url": "<image_url>" } }, "version": "^1.10" }
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>
Use this cURL command to send your request:
curl -X POST https://app.wordware.ai/api/released-app/e20756d1-a9cd-4184-9a05-ae3dd0f7f5c7/run
-H "Authorization: Bearer $WORDWARE_API_KEY"
-d '{"inputs":{"Your Photo":{"type":"image","image_url":"<image_url>"}},"version":"^1.10"}'