Stack Moxie is a QA Automation platform for Marketing, Sales, and Enterprise Business technologists.
This REST API can be used by developers like you to further automate, extend, and integrate quality into the workflows that matter most to you.
Don't have an account? Sign up here.
The Stack Moxie REST API uses HTTP Bearer Authentication, in the form of a JWT token, across all endpoints for authentication. You can manage your API tokens on your account settings page.
Use these calls to connect an Organization with Marketing/Sales technologies supported by Stack Moxie.
Retrieves a list of Notification Groups that the Organization has set up.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns a list of the Organization's Notification Groups.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
]
Removes a Notification Group given its ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Notification Group's ID. |
Notification Group successfully removed.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "message": "string"
}
Retrieves a list of Connections that the Organization has configured with other platforms.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns a list of the Organization's Connections.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "cog": "automatoninc/dynamics",
- "profile": "default",
- "isValid": true,
- "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
]
Integrates Stack Moxie with another platform given a set of authentication details.
org required | string <uuid> Organization's UUID (to scope the API call). |
cog required | string Enum: "automatoninc/dynamics" "automatoninc/eloqua" "stackmoxie/hubspot" "automatoninc/marketo" "automatoninc/pardot" "automatoninc/salesforce" Cog Name in the form |
auth | object Authentication details required by the given Cog. |
profile | string Default: "default" Value: "default" Profile name. |
Returns the Connection just created.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
Returned when the given cog
is unknown.
Returned when a connection for this cog already exists for this org/profile.
Returned when the details provided on the auth
key do not match the fields required to connect the given cog
.
{- "cog": "automatoninc/dynamics",
- "auth": { },
- "profile": "default",
- "createdBy": 0
}
{- "cog": "automatoninc/dynamics",
- "profile": "default",
- "isValid": true,
- "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
Retrieves a single Connection given its ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Connection's ID. |
Returns the Connection.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "cog": "automatoninc/dynamics",
- "profile": "default",
- "isValid": true,
- "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
Replaces a single Connection's authentication details given its ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Connection's ID. |
auth | object |
Returns the replaced Connection.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
Returned when the details provided on the auth
key do not match the fields required to connect the given cog
.
{- "auth": { }
}
{- "cog": "automatoninc/dynamics",
- "profile": "default",
- "isValid": true,
- "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
Removes a Connection given its ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Connection's ID. |
Connection successfully removed.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "message": "string"
}
Retrieves a list of Crank Cog Registry entries corresponding to those the Organization has access to use.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns a list of Crank Cog Registry entries for the Organization.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "name": "string",
- "label": "string",
- "version": "string",
- "homepage": "string",
- "authHelpUrl": "string",
- "stepDefinitionsList": [
- { }
], - "authFieldsList": [
- { }
]
}
]
Retrieve the list of test Scenarios for the given Organization.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns a list of the Organization's test Scenarios.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
]
Creates a test Scenario for the given Organization.
org required | string <uuid> Organization's UUID (to scope the API call). |
definition required | object (ScenarioDefinition) |
name required | string The name of the Scenario. |
description | string A brief description of the Scenario. |
type | string Enum: "default" "template" "from-template" The type of scenario. Determines how the scenario will be used and how it is handled in the UI. |
severity | integer Enum: 1 2 3 4 Issue severity status of the scenario, 1 being the most severe and 4 being the least. |
dashboardSetting | string Enum: "default" "include" "exclude" Value that indicates whether to include this scenario in the Status Dashboard or not. |
feature | integer or Folder (object) Nullable The ID or Folder object under which this Scenario lives (if any). |
schedule | integer or Folder (object) Nullable The ID or Schedule object associated with this Scenario (if any). |
notificationGroups | Array of objects (NotificationGroup) Nullable The Notification Groups that will be notified for scenario run results. |
instructions | string For templates only. Additional guidelines on how to work with this scenarios. |
exposedToApis | boolean For templates only. Value that indicates whether to include this scenario when querying the exposedTemplates endpoint. |
isLinkable | boolean For templates only. Indicates whether this scenario can be chained onto other scenarios. |
Returns the test Scenario just created.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
Returned if the provided scenario definition is malformed.
{- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
{- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
Retrieves an individual test Scenario by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer The Scenario's ID. |
Returns the test Scenario.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
Updates an individual test Scenario by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer The Scenario's ID. |
definition required | object (ScenarioDefinition) |
name required | string The name of the Scenario. |
description | string A brief description of the Scenario. |
type | string Enum: "default" "template" "from-template" The type of scenario. Determines how the scenario will be used and how it is handled in the UI. |
severity | integer Enum: 1 2 3 4 Issue severity status of the scenario, 1 being the most severe and 4 being the least. |
dashboardSetting | string Enum: "default" "include" "exclude" Value that indicates whether to include this scenario in the Status Dashboard or not. |
feature | integer or Folder (object) Nullable The ID or Folder object under which this Scenario lives (if any). |
schedule | integer or Folder (object) Nullable The ID or Schedule object associated with this Scenario (if any). |
notificationGroups | Array of objects (NotificationGroup) Nullable The Notification Groups that will be notified for scenario run results. |
instructions | string For templates only. Additional guidelines on how to work with this scenarios. |
exposedToApis | boolean For templates only. Value that indicates whether to include this scenario when querying the exposedTemplates endpoint. |
isLinkable | boolean For templates only. Indicates whether this scenario can be chained onto other scenarios. |
Returns the updated test Scenario.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
Returned if the provided scenario definition is malformed.
{- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
{- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
Deletes an individual test scenario by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer The Scenario's ID. |
Scenario successfully deleted.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "message": "string"
}
Creates a Scenario Asynchronously.
org required | string <uuid> Organization's UUID (to scope the API call). |
definition required | object (ScenarioDefinition) |
name required | string The name of the Scenario. |
description | string A brief description of the Scenario. |
type | string Enum: "default" "template" "from-template" The type of scenario. Determines how the scenario will be used and how it is handled in the UI. |
severity | integer Enum: 1 2 3 4 Issue severity status of the scenario, 1 being the most severe and 4 being the least. |
dashboardSetting | string Enum: "default" "include" "exclude" Value that indicates whether to include this scenario in the Status Dashboard or not. |
feature | integer or Folder (object) Nullable The ID or Folder object under which this Scenario lives (if any). |
schedule | integer or Folder (object) Nullable The ID or Schedule object associated with this Scenario (if any). |
notificationGroups | Array of objects (NotificationGroup) Nullable The Notification Groups that will be notified for scenario run results. |
instructions | string For templates only. Additional guidelines on how to work with this scenarios. |
exposedToApis | boolean For templates only. Value that indicates whether to include this scenario when querying the exposedTemplates endpoint. |
isLinkable | boolean For templates only. Indicates whether this scenario can be chained onto other scenarios. |
Returns an async job.
Returned if the provided scenario definition does not match async requirements.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
{- "jobId": "string"
}
Retrieves the status of an async job, including the created scenario if finished.
org required | string <uuid> Organization's UUID (to scope the API call). |
jobId required | string <uuid> This Job's UUID. |
Returns the job status, including the created scenario if finished.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "createdAt": 0,
- "updatedAt": 0,
- "id": 0,
- "jobId": "string",
- "status": "Processing",
- "type": "Scenario",
- "data": "string"
}
Retrieve the list of all Template Scenarios for the given Organization.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns a list of the Organization's Template Scenarios.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
]
Retrieve the list of all Linkable Template Scenarios for the given Organization.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns a list of the Organization's Linkable Template Scenarios.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
]
Retrieve the list of all Template Scenarios that are exposed to external APIs.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns a list of all Template Scenarios that are exposed to external APIs.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "name": "string",
- "description": "string",
- "definition": {
- "scenario": "string",
- "description": "string",
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
], - "linkedScenarios": {
- "onPass": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}, - "onFail": {
- "templateId": 0,
- "steps": [
- {
- "cog": "string",
- "stepId": "string",
- "name": "string",
- "data": { },
- "waitFor": 0,
- "failAfter": 0
}
]
}
}
}, - "type": "default",
- "severity": 1,
- "dashboardSetting": "default",
- "feature": 0,
- "schedule": 0,
- "notificationGroups": [
- {
- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
], - "instructions": "string",
- "exposedToApis": true,
- "isLinkable": true,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0
}
]
Retrieves a list of Runs for the given Scenario ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Scenario's ID. |
page | integer This helps with pagination and when the limit is known |
outcome | integer Used for filtering scenario runs by outcome by passing in comma-delimited values. e.g. ?outcome=Passed,Failed |
ranAfter | integer Used to filter scenario runs that ran after the specified date. e.g. ?ranAfter=1591702698140 |
ranBefore | integer Used to filter scenario runs that ran before the specified date. e.g. ?ranBefore=1591702698140 |
Returns a list of the Scenario's Runs.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "outcome": "Created",
- "duration": 0,
- "scenario": 0,
- "id": 0,
- "uuid": "string",
- "log": 0,
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
]
Creates a Run for the given scenario given an optional set of token replacements.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Scenario's ID. |
tokens | object |
notify | string Default: "me" Enum: "me" "team" Determines who receives notifications. The default |
Returns the Run just created.
Returns when notify value is invalid.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "tokens": { },
- "notify": "me"
}
{- "outcome": "Created",
- "duration": 0,
- "scenario": 0,
- "id": 0,
- "uuid": "string",
- "log": 0,
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
Retrieves an individual Run by its ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
scenarioId required | integer Scenario's ID. |
id required | integer Run's ID. |
Returns the Run.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "outcome": "Created",
- "duration": 0,
- "scenario": 0,
- "id": 0,
- "uuid": "string",
- "log": 0,
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
Retrieves the most recent Run of the given Scenario.
org required | string <uuid> Organization's UUID (to scope the API call). |
scenarioId required | integer Scenario's ID. |
Returns the Run.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "outcome": "Created",
- "duration": 0,
- "scenario": 0,
- "id": 0,
- "uuid": "string",
- "log": 0,
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
Retrieves an individual Run Log given its ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
scenarioId required | integer Scenario's ID. |
runId required | integer Run's ID. |
id required | integer Run Log's ID. |
Returns the Run Log.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "id": 0,
- "uuid": "string",
- "createdAt": 0,
- "updatedAt": 0,
- "body": [
- {
- "outcome": "Passed",
- "message": "string",
- "cog": "string",
- "stepId": "string",
- "stepData": { }
}
]
}
Retrieves a list of this Organization's Schedules.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns a list of the Organization's Schedules.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "interval": 0,
- "scheduledModel": "scenario",
- "scheduledScenario": 0,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "lastRanAt": 0,
- "createdBy": 0
}
]
Creates a Schedule.
org required | string <uuid> Organization's UUID (to scope the API call). |
interval required | integer Frequency (in seconds) at which this Schedule runs. |
scheduledModel required | string Value: "scenario" The type of object to be scheduled. Currently, only Scenarios are supported. |
scheduledScenario required | integer or Scenario (object) If |
Returns the Schedule just created.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "interval": 0,
- "scheduledModel": "scenario",
- "scheduledScenario": 0,
- "createdBy": 0
}
{- "interval": 0,
- "scheduledModel": "scenario",
- "scheduledScenario": 0,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "lastRanAt": 0,
- "createdBy": 0
}
Retrieves an individual Schedule by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Schedule's ID. |
Returns the Schedule.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "interval": 0,
- "scheduledModel": "scenario",
- "scheduledScenario": 0,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "lastRanAt": 0,
- "createdBy": 0
}
Updates an individual Schedule by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Schedule's ID. |
interval required | integer Frequency (in seconds) at which this Schedule runs. |
scheduledModel required | string Value: "scenario" The type of object to be scheduled. Currently, only Scenarios are supported. |
scheduledScenario required | integer or Scenario (object) If |
Returns the updated Schedule.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "interval": 0,
- "scheduledModel": "scenario",
- "scheduledScenario": 0,
- "createdBy": 0
}
{- "interval": 0,
- "scheduledModel": "scenario",
- "scheduledScenario": 0,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "updatedAt": 0,
- "lastRanAt": 0,
- "createdBy": 0
}
Deletes an individual Schedule by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Schedule's ID. |
Schedule successfully deleted.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "message": "string"
}
Retrieves a list of this Organization's Folders.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns a list of the Organization's Folders.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "name": "string",
- "description": "string",
- "uuid": "string",
- "id": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0,
- "createdAt": 0,
- "updatedAt": 0
}
]
Creates a Folder.
org required | string <uuid> Organization's UUID (to scope the API call). |
name required | string Folder Name |
description | string Brief description of the Folder's purpose or intention. |
Returns the Folder just created.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "description": "string",
- "createdBy": 0,
- "lastUpdatedBy": 0
}
{- "name": "string",
- "description": "string",
- "uuid": "string",
- "id": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0,
- "createdAt": 0,
- "updatedAt": 0
}
Retrieves an individual Folder by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Folder's ID. |
Returns the Folder.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "description": "string",
- "uuid": "string",
- "id": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0,
- "createdAt": 0,
- "updatedAt": 0
}
Updates an individual Folder by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Folder's ID. |
name required | string Folder Name |
description | string Brief description of the Folder's purpose or intention. |
Returns the updated Folder.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "description": "string",
- "createdBy": 0,
- "lastUpdatedBy": 0
}
{- "name": "string",
- "description": "string",
- "uuid": "string",
- "id": 0,
- "createdBy": 0,
- "lastUpdatedBy": 0,
- "createdAt": 0,
- "updatedAt": 0
}
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Folder's ID. |
Folder successfully deleted.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "message": "string"
}
Use these calls to provision Organizations (e.g. for your own clients/customers), and automatically grant them (or your own team members) access.
Creates an Organization under which Credentials, Scenarios, Schedules, and Runs can be created. The user making the call becomes the admin member of this organization.
name required | string The Organization's name. |
statusPageIsPublic | boolean Default: false Whether or not the Organization's status dashboard can be viewed by unauthenticated users. |
Returns the Organization just created.
Returned when there may be a problem with your API token.
Returned if the currently authenticated user has exceeded the maximum number of trial organizations.
{- "name": "string",
- "statusPageIsPublic": false,
- "createdBy": 0
}
{- "name": "string",
- "statusPageIsPublic": false,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "plan": "string",
- "urlSlug": "string",
- "maxRunsPerPeriod": 0,
- "scheduleIntervalLowerBound": 0,
- "createdBy": 0
}
Updates a given Organization and its details.
org required | string <uuid> Organization's UUID (to scope the API call). |
name | string The Organization's name. |
statusPageIsPublic | boolean Whether or not the Organization's status dashboard can be viewed by unauthenticated users. |
notificationEmailAddress | string <email> The email address (most likely a group alias) where Run notifcations should be sent for Scheduled runs. |
notificationSetting | string Enum: "never" "change" "every fail" "every error" "every run" |
Returns the updated Organization.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "statusPageIsPublic": true,
- "notificationEmailAddress": "user@example.com",
- "notificationSetting": "never"
}
{- "name": "string",
- "statusPageIsPublic": false,
- "uuid": "string",
- "id": 0,
- "createdAt": 0,
- "plan": "string",
- "urlSlug": "string",
- "maxRunsPerPeriod": 0,
- "scheduleIntervalLowerBound": 0,
- "createdBy": 0
}
Retrieves the list of team members who have access to the given Organization.
org required | string <uuid> Organization's UUID (to scope the API call). |
Returns the list of team members in this Organization.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
[- {
- "role": "org-admin",
- "id": 0,
- "uuid": "string",
- "createdAt": 0,
- "updatedAt": 0,
- "member": 0,
- "organization": 0,
- "createdBy": 0
}
]
Invites a given person to join the Organization.
org required | string <uuid> Organization's UUID (to scope the API call). |
string <email> | |
role | string Enum: "org-admin" "org-creator" |
Returns the team membership just created.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "email": "user@example.com",
- "role": "org-admin"
}
{- "role": "org-admin",
- "id": 0,
- "uuid": "string",
- "createdAt": 0,
- "updatedAt": 0,
- "member": 0,
- "organization": 0,
- "createdBy": 0
}
Retrieves an individual team membership by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Numeric team membership ID. |
Returns the team membership.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "role": "org-admin",
- "id": 0,
- "uuid": "string",
- "createdAt": 0,
- "updatedAt": 0,
- "member": 0,
- "organization": 0,
- "createdBy": 0
}
Updates an individual team membership by ID.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Numeric team membership ID. |
role required | string Enum: "org-admin" "org-creator" The role this team member has in the Organization. |
Returns the updated team membership.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "role": "org-admin",
- "member": 0,
- "organization": 0,
- "createdBy": 0
}
{- "role": "org-admin",
- "id": 0,
- "uuid": "string",
- "createdAt": 0,
- "updatedAt": 0,
- "member": 0,
- "organization": 0,
- "createdBy": 0
}
Removes the team member from the organization.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Numeric team membership ID. |
Team member was successfully removed.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "message": "string"
}
Re-sends the invitation to the given team member.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Numeric team membership ID. |
Invitation successfully re-sent.
Invalid Action: can't re-send an invitation to a User who has already activated.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{ }
Creates a Notification Group.
org required | string <uuid> Organization's UUID (to scope the API call). |
name required | string Notification Group name. |
string Nullable The email alias of the notification group. | |
members | Array of objects (User) Nullable The users that are members of this notification group. |
Returns the Notification Group just created.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "createdBy": 0
}
{- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}
Updates a Notification Group.
org required | string <uuid> Organization's UUID (to scope the API call). |
id required | integer Notification Group's ID. |
name required | string Notification Group name. |
string Nullable The email alias of the notification group. | |
members | Array of objects (User) Nullable The users that are members of this notification group. |
Returns the Notification Group just updated.
Returned when there may be a problem with your API token.
Returned if the authenticated user isn't allowed to perform this action.
{- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "createdBy": 0
}
{- "name": "string",
- "email": "string",
- "members": [
- {
- "uuid": "string",
- "emailAddress": "string",
- "emailStatus": "string",
- "emailChangeCandidate": "string",
- "password": "string",
- "fullName": "string",
- "notificationSetting": "string",
- "notificationOverride": "string",
- "maxTrials": "string",
- "isSuperAdmin": true,
- "passwordResetToken": "string",
- "passwordResetTokenExpiresAt": "string",
- "emailProofToken": "string",
- "emailProofTokenExpiresAt": "string",
- "tosAcceptedByIp": "string",
- "lastSeenAt": "string"
}
], - "id": 0,
- "uuid": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "createdBy": 0
}