Skip to main content
POST
/
templates
/
{id}
/
import
curl -X POST "https://api.nedzo.ai/v1/templates/123e4567-e89b-12d3-a456-426614174000/import" \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"workspaceId": "789e4567-e89b-12d3-a456-426614174000"}'
{
  "importId": "abc12345-e89b-12d3-a456-426614174000",
  "status": "queued",
  "validation": {
    "valid": true,
    "itemCounts": {
      "agents": 1,
      "workflows": 0,
      "customFields": 0,
      "tags": 0
    },
    "warnings": [],
    "errors": []
  },
  "message": "Import queued successfully."
}

Documentation Index

Fetch the complete documentation index at: https://docs.nedzo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Import a template into a workspace. The import is queued for processing and completes quickly; the returned importId identifies the job. Public templates can be imported by any account. Private templates can only be imported by the owning account.

Body Parameters

workspaceId
string
required
Target workspace to import the template into.
curl -X POST "https://api.nedzo.ai/v1/templates/123e4567-e89b-12d3-a456-426614174000/import" \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"workspaceId": "789e4567-e89b-12d3-a456-426614174000"}'
{
  "importId": "abc12345-e89b-12d3-a456-426614174000",
  "status": "queued",
  "validation": {
    "valid": true,
    "itemCounts": {
      "agents": 1,
      "workflows": 0,
      "customFields": 0,
      "tags": 0
    },
    "warnings": [],
    "errors": []
  },
  "message": "Import queued successfully."
}