Skip to main content
GET
/
v1
/
gateway
/
workflows
/
{workflowId}
JavaScript
import Triglit from 'triglit';

const client = new Triglit({
  apiKey: 'My API Key',
});

const workflow = await client.workflows.retrieve('wf_abc123def456');

console.log(workflow.id);
{
  "id": "wf_abc123def456",
  "tenantId": "tenant_123",
  "subTenantId": "sub_tenant_456",
  "name": "User Onboarding Workflow",
  "description": "Automated workflow for new user onboarding",
  "isActive": true,
  "createdAt": "2024-01-15T10:30:00.000Z",
  "updatedAt": "2024-01-15T10:30:00.000Z"
}

Authorizations

X-API-Key
string
header
required

Headers

X-API-Key
string
required

Path Parameters

workflowId
string
required
Example:

Response

id
string
required
Example:
tenantId
string
required
Example:
name
string
required
Example:
isActive
boolean
required
Example:
createdAt
string
required
Example:
updatedAt
string
required
Example:
subTenantId
string
Example:
description
string
Example: