Create an action
Create an action. Story or group ID must be provided. Defaults to a draft called test if change control is enabled on the story and no draft_id is provided.
Request
- Base URL: https://your-tenant.tines.com
- URL: https://your-tenant.tines.com/api/v1/actions
- Auth: one of:
- API key in header X-User-Token
- HTTP bearer
Request body
Type of action to create
Name of the action
JSON options block of the action
An object describing the XY coordinates of the action on the story diagram
ID of story to which the action should be added
ID of group to which the action should be added
A user-defined description of the action
Whether the action is disabled. Defaults to false.
Array of action IDs the action should receive emitted events from
Array of objects representing links to source actions. Mutually exclusive with source_ids. Each object has source_id (required) and type (optional; DEFAULT, NO_MATCH, or FAILURE).
Array of action IDs the action should emit events to
Array of objects representing links to receiver actions. Mutually exclusive with receiver_ids. Each object has receiver_id (required) and type (optional; DEFAULT, NO_MATCH, or FAILURE).
An object defining the cron schedule for the action
Whether a notification should be sent when this action fails
Whether all events should be monitored
Duration in seconds. If no events are emitted in this time, a notification will be sent.
ID of the draft to which the action should be added
Response
Successful response
Action ID
Action type
User ID of the action's owner
JSON options block of the action
Name of the action
User-defined description of the action
Cron schedule for the action
Number of events the action has emitted in both TEST and LIVE mode
Number of logs the action has stored
ISO 8601 timestamp of the action's last scheduled run
ISO 8601 timestamp of the last event received
ISO 8601 timestamp of when the action was created
ISO 8601 timestamp of when the action was last updated
ISO 8601 timestamp of the last event received, updated at one-minute intervals
ISO 8601 timestamp of the last error thrown by the action
Whether the action is disabled
Unique identifier of the action
ID of the group to which the action belongs
XY coordinates of the action on the story diagram
ID of the story to which the action belongs
Mode of the story to which the action belongs (LIVE or TEST)
ID of the group contained in the action
ID of the team to which the action belongs
IDs of actions this action receives emitted events from
IDs of actions this action emits events to
Whether a notification should be sent when this action fails
Whether all events should be monitored
Duration in seconds; if no events are emitted in this time, a notification is sent
Unit of time corresponding to the time saved value
Amount of time saved
Associated page, if this is a page action
Values the action may be holding in its memory
Underscored representation of the action's name
Links to source actions, including the source ID and link type
Links to receiver actions, including the receiver ID and link type
Story run save settings for this action; only present for Receive Email and Webhook agents
Changes
No recorded changes to this operation across all 1 revision of this API.