Skip to main content
GET
/
workflows
/
{id}
/
versions
/
latest
Get Latest Workflow Version
curl --request GET \
  --url https://app.splox.io/api/v1/workflows/{id}/versions/latest \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "version_number": 123,
  "name": "<string>",
  "status": "draft",
  "description": "<string>",
  "metadata": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
Retrieves the latest version of a workflow (by highest version number). Use the returned version ID when running workflows via POST /workflow-requests/run.

Usage

curl https://app.splox.io/api/v1/workflows/019c3221-29d7-70e1-aa1e-dee02589289b/versions/latest \
  -H "Authorization: Bearer YOUR_TOKEN"

Path Parameters

ParameterTypeDescription
idstring (uuid)Workflow ID

Response

{
  "id": "019c3221-29da-7d08-93fa-c48dbaa8b1db",
  "workflow_id": "019c3221-29d7-70e1-aa1e-dee02589289b",
  "version_number": 1,
  "name": "My Workflow",
  "description": "A workflow for processing orders",
  "metadata": {},
  "status": "draft",
  "created_at": "2025-10-22T10:00:00Z",
  "updated_at": "2025-10-22T10:00:00Z"
}

Version Status

StatusDescription
draftWork in progress — can be edited
publishedPublished and immutable — ready for production use
archivedNo longer active

Notes

Authentication required: The authenticated user must own the workflow.

Authorizations

Authorization
string
header
required

API token generated from your Splox account settings. Create tokens at https://app.splox.io/account?tab=settings

Path Parameters

id
string<uuid>
required

Workflow ID

Response

Workflow version retrieved successfully

Represents a specific version of a workflow

id
string<uuid>
required
workflow_id
string<uuid>
required
version_number
integer
required
name
string
required
status
enum<string>
required
Available options:
draft,
published,
archived
description
string
metadata
object
created_at
string<date-time>
updated_at
string<date-time>