XISUITEDokumentation

Automations

26 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1

List automations for a space#

GET/automationsToken

Returns all automations in the given space. Pass `archived=true` to retrieve archived automations only. Requires `can_view_automations` space permission.

Parameter

NameOrtTypBeschreibung
spaceIdPflichtQuerystring

Space UUID

archivedQueryboolean

Return archived automations (default: false)

Antworten

  • 200Array of automations
  • 400spaceId query param required
  • 401Not authenticated
  • 403Insufficient space permissions
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Create a new automation#

POST/automationsToken

Creates a draft automation in the given space. Requires `can_create_automations` space permission.

Request-Bodyapplication/jsonCreateAutomationDto

NameTypBeschreibung
space_idPflichtstring

Space ID the automation belongs to

namePflichtstring

Automation name

descriptionstring

Automation description

iconstring

Icon identifier

Antworten

  • 201Automation created
  • 400Validation error
  • 401Not authenticated
  • 403Insufficient space permissions
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/automations" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"space_id":"…","name":"…"}'

Get automation by ID#

GET/automations/{id}Token

Returns a single automation including its current status, webhook token, and published version reference.

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

spaceIdQuerystring

Space UUID (optional context)

Antworten

  • 200Automation details
  • 400spaceId does not match this automation
  • 401Not authenticated
  • 404Automation not found
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Update automation metadata#

PUT/automations/{id}Token

Updates name, description, icon, or webhook rate limits. Does not affect the published version or status.

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Request-Bodyapplication/jsonUpdateAutomationDto

NameTypBeschreibung
namestring–
descriptionstring–
iconstring–
webhook_rate_limit_per_secnumber–
webhook_rate_limit_per_hournumber–
max_concurrent_runsobject–
webhook_signature_schemestring

Werte: hmac-sha256none

Antworten

  • 200Updated automation
  • 400Validation error
  • 401Not authenticated
  • 404Automation not found
Beispiel (cURL)
curl -X PUT "https://xapi.ambertech.cloud/api/v1/automations/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"…","description":"…","icon":"…"}'

Archive automation (soft delete)#

DELETE/automations/{id}Token

Marks the automation as archived (`is_archived=true`). Archived automations are hidden from the default list but can be retrieved with `?archived=true`. Use POST /:id/restore to unarchive.

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Antworten

  • 204Automation archived — no body returned
  • 401Not authenticated
  • 404Automation not found
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/automations/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Get run analytics for an automation (last 30 days)#

GET/automations/{id}/analyticsToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

daysQuerystring

Number of days back (default 30)

startDateQuerystring

ISO date string start (overrides days)

endDateQuerystring

ISO date string end (default today)

spaceIdQueryany–

Antworten

  • 200Analytics payload
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations/{id}/analytics" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Clone an automation#

POST/automations/{id}/cloneToken

Creates a copy of the automation named `{original name} (copy)`. If the source has a draft version, it is also cloned into the new automation. The clone starts in `draft` status.

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID to clone

Antworten

  • 201Cloned automation
  • 401Not authenticated
  • 404Source automation not found
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/automations/{id}/clone" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Pause a published automation#

POST/automations/{id}/pauseToken

Sets automation status to `paused`. Stops all future trigger executions (webhook deliveries and cron schedules). The automation can be resumed with POST /:id/resume.

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Antworten

  • 200Automation with status=paused
  • 401Not authenticated
  • 404Automation not found
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/automations/{id}/pause" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Permanently delete an automation#

DELETE/automations/{id}/permanentToken

Hard-deletes the automation and all related data (versions, runs, steps, subscriptions, schedules). Allowed from any state. This action is irreversible.

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Antworten

  • 204Automation permanently deleted
  • 401Not authenticated
  • 404Automation not found
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/automations/{id}/permanent" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

List users with explicit access to this automation#

GET/automations/{id}/permissionsToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations/{id}/permissions" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Grant a user access to this automation#

POST/automations/{id}/permissionsToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Antworten

  • 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/automations/{id}/permissions" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Revoke a user's access to this automation#

DELETE/automations/{id}/permissions/{permId}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

permIdPflichtPfadstring

Permission row UUID

Antworten

  • 204Kein Inhalt
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/automations/{id}/permissions/{permId}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Publish the current draft version#

POST/automations/{id}/publishToken

Validates the draft definition (must have at least one trigger node), marks it as the published version, and sets automation status to `published`. For `webhook.received` triggers: generates a unique `webhook_token` if not already set. For `schedule.cron` triggers: creates or updates the automation schedule with the computed next run time.

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Antworten

  • 200Published automation with updated status and version
  • 400No nodes, or no trigger node in definition
  • 401Not authenticated
  • 404Automation or draft not found
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/automations/{id}/publish" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Restore (unarchive) an automation#

POST/automations/{id}/restoreToken

Sets `is_archived=false` on the automation, making it visible in the default list again. The automation status is unchanged.

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Antworten

  • 200`{ id }` of the restored automation
  • 401Not authenticated
  • 404Automation not found
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/automations/{id}/restore" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Resume a paused automation#

POST/automations/{id}/resumeToken

Sets automation status back to `published`. Only works when the current status is `paused`. Returns 400 if the automation is not currently paused.

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Antworten

  • 200Automation with status=published
  • 400Automation is not currently paused
  • 401Not authenticated
  • 404Automation not found
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/automations/{id}/resume" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Save the current automation draft as a reusable template#

POST/automations/{id}/save-as-templateToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring

Automation UUID

Request-Bodyapplication/jsonSaveAsTemplateDto

NameTypBeschreibung
spaceIdPflichtstring

Space UUID to save the template into

namestring

Template name — defaults to the trigger kind if omitted

descriptionstring–
categorystring

Werte: notificationsschedulingintegrationsinternal

Standard: "internal"

tagsstring[]–
iconstring

Standard: "bx-bolt-circle"

svg_iconstring–
colorstring–
is_publicboolean

Standard: false

Antworten

  • 201Created template
  • 400No draft version found
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/automations/{id}/save-as-template" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"spaceId":"…"}'

Get available action nodes catalog#

GET/automations/actions/catalogToken

Returns all available automation action node definitions including their config schemas, output schemas, and connection requirements. Used by the automation editor to render the node palette and configuration forms. Requires `can_view_automations` space permission.

Parameter

NameOrtTypBeschreibung
spaceIdPflichtQuerystring

Space UUID

Antworten

  • 200Array of action node definitions
  • 400spaceId is required
  • 401Not authenticated
  • 403Insufficient space permissions
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations/actions/catalog" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Get space-level automation config#

GET/automations/space-configToken

Parameter

NameOrtTypBeschreibung
spaceIdPflichtQuerystring

Space UUID

Antworten

  • 200Space automation config
  • 404Space not found
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations/space-config" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Update space-level automation config#

PATCH/automations/space-configToken

Parameter

NameOrtTypBeschreibung
spaceIdPflichtQueryany

Space UUID

Request-Bodyapplication/jsonUpdateSpaceConfigDto

NameTypBeschreibung
spaceIdPflichtstring

Space UUID

max_concurrent_runsobject

Maximum concurrent automation runs for this space. null or omitted = unlimited.

Antworten

  • 200Updated space automation config
  • 404Space not found
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/automations/space-config" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"spaceId":"…"}'

List automation templates#

GET/automations/templatesToken

Returns system templates merged with any custom templates saved for the space. Custom templates with the same ID take precedence.

Parameter

NameOrtTypBeschreibung
spaceIdPflichtQuerystring

Space UUID

Antworten

  • 200Array of automation templates
  • 400spaceId query param required
  • 401Not authenticated
  • 403Insufficient space permissions
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations/templates" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Create a custom automation template directly#

POST/automations/templatesToken

Creates a template from scratch without needing an existing automation draft. Use POST /:id/save-as-template to create from an existing automation.

Request-Bodyapplication/jsonCreateTemplateDto

NameTypBeschreibung
spaceIdPflichtstring

Space UUID

namePflichtstring

Template name (1–200 chars)

descriptionstring–
categorystring

Werte: notificationsschedulingintegrationsinternal

Standard: "internal"

tagsstring[]–
iconstring

Standard: "bx-bolt-circle"

svg_iconstring–
colorstring–
trigger_kindPflichtstring

Trigger event kind (e.g. app.task.created)

trigger_configobject

Trigger configuration JSON — defaults to {}

definitionobject

Automation definition with nodes and edges arrays — defaults to empty canvas

is_publicboolean

Standard: false

Antworten

  • 201Created template
  • 400Validation error
  • 401Not authenticated
  • 403Insufficient space permissions
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/automations/templates" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"spaceId":"…","name":"…","trigger_kind":"…"}'

Get a single automation template by ID#

GET/automations/templates/{templateId}Token

Parameter

NameOrtTypBeschreibung
templateIdPflichtPfadstring

Template UUID

spaceIdPflichtQuerystring

Space UUID

Antworten

  • 200Template details
  • 400spaceId query param required
  • 401Not authenticated
  • 403Insufficient space permissions
  • 404Template not found
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations/templates/{templateId}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Update a custom automation template#

PUT/automations/templates/{templateId}Token

Parameter

NameOrtTypBeschreibung
templateIdPflichtPfadstring

Template UUID

Request-Bodyapplication/jsonUpdateTemplateDto

NameTypBeschreibung
spaceIdPflichtstring

Space UUID

namestring–
descriptionstring–
categorystring

Werte: notificationsschedulingintegrationsinternal

tagsstring[]–
iconstring–
svg_iconstring–
colorstring–
is_publicboolean–
definitionobject

Updated workflow definition (nodes + edges)

Antworten

  • 200Updated template
  • 400Validation error
  • 401Not authenticated
  • 403Insufficient space permissions
  • 404Template not found
Beispiel (cURL)
curl -X PUT "https://xapi.ambertech.cloud/api/v1/automations/templates/{templateId}" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"spaceId":"…"}'

Delete a custom automation template#

DELETE/automations/templates/{templateId}Token

Parameter

NameOrtTypBeschreibung
templateIdPflichtPfadstring

Template UUID

spaceIdPflichtQuerystring

Space UUID

Antworten

  • 204Deleted
  • 400spaceId query param required
  • 401Not authenticated
  • 403Insufficient space permissions
  • 404Template not found
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/automations/templates/{templateId}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

List public marketplace templates#

GET/automations/templates/marketplaceToken

Returns all public templates shared by other spaces. Excludes templates from the caller's own space.

Parameter

NameOrtTypBeschreibung
spaceIdPflichtQuerystring

Space UUID

Antworten

  • 200Array of public automation templates
  • 400spaceId query param required
  • 401Not authenticated
  • 403Insufficient space permissions
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations/templates/marketplace" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Get available trigger nodes catalog#

GET/automations/triggers/catalogToken

Returns all available automation trigger node definitions including their config schemas and output schemas. Used by the automation editor to render the trigger node palette and provide {{ trigger.* }} template variable autocomplete. Requires `can_view_automations` space permission.

Parameter

NameOrtTypBeschreibung
spaceIdPflichtQuerystring

Space UUID

Antworten

  • 200Array of trigger node definitions
  • 400spaceId is required
  • 401Not authenticated
  • 403Insufficient space permissions
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/automations/triggers/catalog" \
  -H "Authorization: Bearer $XISUITE_TOKEN"
Stand: 25. Oktober 2026© 2026 XISUITE · AmberTech Solutions