Skip to main content
POST
/
workflows
/
v1
/
templates
Create Workflow Template
curl --request POST \
  --url https://api-qa.interactly.ai/workflows/v1/templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "access_level": "personal",
  "access_list": [
    "5eb7cf5a86d9755df3a6c593"
  ],
  "logical_id": "<string>",
  "workflow_id": "5eb7cf5a86d9755df3a6c593"
}
'
{
  "workflow_template": {
    "teamId": "5eb7cf5a86d9755df3a6c593",
    "createdBy": "5eb7cf5a86d9755df3a6c593",
    "updatedBy": "5eb7cf5a86d9755df3a6c593",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "_id": "5eb7cf5a86d9755df3a6c593",
    "workflow_template_config": {
      "access_level": "personal",
      "access_list": [
        "5eb7cf5a86d9755df3a6c593"
      ],
      "logical_id": "<string>",
      "workflow_id": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Body

application/json
access_level
enum<string> | null
default:personal

Enum representing different access control levels.

Available options:
personal,
team,
system
access_list
string[] | null

List of user IDs or team IDs that have access to this node library

Required string length: 24
logical_id
string | null

Unique identifier for the workflow template

workflow_id
string | null

The ID of the workflow this template belongs to

Required string length: 24
Example:

"5eb7cf5a86d9755df3a6c593"

Response

Successful Response

Response model for a single workflow template. Contains a WorkflowTemplateModel object.

workflow_template
WorkflowTemplatesModel · object
required

Single workflow template object