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."
}
Templates
Import template
Import a public or private template into a workspace via the Nedzo REST API. The import is queued and returns an importId to track the job.
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."
}
This endpoint is for the VIP plan only. Other plans get a
403. See Plan access.importId identifies the job.
Public templates can be imported by any account. Private templates can only be imported by the owning account.
workspaceId is always required for this endpoint — it identifies the target workspace to import into and cannot be inferred from the API key. See Workspace ID and Request Scope.Body Parameters
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."
}
Was this page helpful?
