Mint API (v1)
Download OpenAPI specification:Download
Signicat's Mint API allows you to manage and edit your flows.
The Mint API is a RESTful API that uses the OAuth 2.0 protocol for authorisation. All request and response bodies are formatted in JSON.
This API reference provides information on available endpoints and how to interact with them. To learn more about the no-code platform Mint, visit the Signicat Mint documentation.
To use the Mint API, you must have completed the following initial preparations:
- Sign up to the Signicat Dashboard.
- In the Signicat Dashboard, set up an organisation, an account and a domain.
You can find out how to do this in our Initial setup instructions.
If you require support, you can contact us at support@signicat.com.
To access the Mint API, you need to create an API client and a client secret. You can find out how to do this in our guide on Accessing Signicat API products.
We recommend that you create one API client per API product, but this can depend on your use case or configuration.
To connect to the Mint API you need to configure the correct permissions for you API client.
To grant access to your API client:
- Go to IAM > Permissions in the Signicat Dashboard.
- Search for the name of the API client and, on the same row, click Edit to edit the access rights.
- Click Add next to 'Roles', in the Principal settings menu on the right.
- In the empty Role field at the bottom, click Select to add a new role permission.
- Search and select Flow Editor and Flow Viewer from the 'All available' roles tab.
You are now all set to use the Mint API!
Learn more about authorisation to the API in the Obtaining an access token documentation.
Get all flows
Retrieves all the flows associated to an account.
Authorizations:
query Parameters
IsLatest | boolean |
IsLatestOrPublished | boolean |
IsPublished | boolean |
IsDraft | boolean |
AllVersions | boolean |
Version | integer <int32> |
searchTerm | string |
offset | integer <int32> |
limit | integer <int32> |
orderBy | string (FlowDefinitionOrderByDto) Enum: "Name" "Description" "CreatedAt" |
sortBy | string (SortByDto) Enum: "Ascending" "Descending" |
Responses
Response samples
- 200
- 401
Create a flow
Creates a Mint flow. A flow consists of a series of steps.
Once a flow is successfully created, a unique ID (definitionId
) is generated. You can use this definitionId
to refer to the flow in all subsequent Mint operations.
Authorizations:
Request Body schema:
Definition of the flow to create:
title | string or null |
description | string or null |
Array of objects or null (StepDto) | |
object or null | |
Array of objects or null (ConnectionDto) | |
tags | Array of strings or null |
object or null |
Responses
Request samples
- Payload
{- "title": "string",
- "description": "string",
- "steps": [
- {
- "stepId": "string",
- "type": "string",
- "name": "string",
- "displayName": "string",
- "description": "string",
- "properties": {
- "property1": null,
- "property2": null
}, - "tags": [
- "string"
], - "advanced": true,
- "minimized": true
}
], - "customAttributes": {
- "property1": null,
- "property2": null
}, - "connections": [
- {
- "sourceStepId": "string",
- "targetStepId": "string",
- "outcome": "string"
}
], - "tags": [
- "string"
], - "variables": {
- "property1": null,
- "property2": null
}
}
Response samples
- 201
- 400
- 401
Update a flow
Updates an existing flow.
Authorizations:
path Parameters
definitionId required | string ID of the flow to update. |
Request Body schema:
Definition of the flow to update:
title | string or null |
description | string or null |
Array of objects or null (StepDto) | |
object or null | |
Array of objects or null (ConnectionDto) | |
tags | Array of strings or null |
object or null |
Responses
Request samples
- Payload
{- "title": "string",
- "description": "string",
- "steps": [
- {
- "stepId": "string",
- "type": "string",
- "name": "string",
- "displayName": "string",
- "description": "string",
- "properties": {
- "property1": null,
- "property2": null
}, - "tags": [
- "string"
], - "advanced": true,
- "minimized": true
}
], - "customAttributes": {
- "property1": null,
- "property2": null
}, - "connections": [
- {
- "sourceStepId": "string",
- "targetStepId": "string",
- "outcome": "string"
}
], - "tags": [
- "string"
], - "variables": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
- 400
- 401
- 404
Publish a flow
Publishes a flow. Once you publish a flow, a URL link is generated and associated with the flow. You can find the URL in the Mint Dashboard.
If a flow requires end-user interaction, you can share the link with the end-user to invite them to complete the flow online.
To programmatically trigger a flow in the background (without requiring end-user interaction), use the "Execute a flow" endpoint.
Authorizations:
path Parameters
definitionId required | string ID of the flow to publish. |
Responses
Response samples
- 200
- 400
- 401
- 404
Unpublish a flow
Undo the publishing a flow.
This operation removes the invitation link from a flow you previously published. End-users can no longer access the flow to follow a user journey.
Authorizations:
path Parameters
definitionId required | string ID of the flow to unpublish. |
Responses
Response samples
- 200
- 400
- 401
- 404
Execute a flow
Executes a flow by definitionId
.
This operation triggers a background flow execution. You can check the execution result using the Instance endpoints.
Authorizations:
path Parameters
definitionId required | string ID of the flow to execute. |
Request Body schema:
object or null | |
workflowUrlTtl | integer or null <int32> |
Responses
Request samples
- Payload
{- "input": {
- "property1": null,
- "property2": null
}, - "workflowUrlTtl": 0
}
Response samples
- 200
- 400
- 401
- 404
Get all instances by flow ID
Returns all the instances for a flow, if any available. Additionally, you can filter by instance status.
Authorizations:
path Parameters
definitionId required | string The ID of the flow. |
query Parameters
status | string (FlowStatus) Enum: "Idle" "Running" "Finished" "Suspended" "Faulted" "Cancelled" |
correlationId | string |
orderby | string (InstanceOrderByDto) Enum: "Started" "LastExecuted" "Finished" |
searchTerm | string |
offset | integer <int32> |
limit | integer <int32> |
Responses
Response samples
- 200
- 401
- 404
Return a PDF with all instances by flow ID
Downloads a PDF report with information about all the instances of a specific flow.
Authorizations:
path Parameters
definitionId required | string The ID of the flow. |
query Parameters
status | string (FlowStatus) Enum: "Idle" "Running" "Finished" "Suspended" "Faulted" "Cancelled" |
correlationId | string |
orderby | string (InstanceOrderByDto) Enum: "Started" "LastExecuted" "Finished" |
searchTerm | string |
offset | integer <int32> |
limit | integer <int32> |
Responses
Response samples
- 200
- 401
- 404
Returns a CSV with all instances by flow ID
Downloads a CSV file with information about all the instances of a specific flow.
Authorizations:
path Parameters
definitionId required | string ID of the flow. |
query Parameters
status | string (FlowStatus) Enum: "Idle" "Running" "Finished" "Suspended" "Faulted" "Cancelled" |
correlationId | string |
orderBy | string (InstanceOrderByDto) Enum: "Started" "LastExecuted" "Finished" |
searchTerm | string |
offset | integer <int32> |
limit | integer <int32> |
Responses
Response samples
- 200
- 401
- 404
Returns a CSV with all instances by flow ID
Downloads a CSV file with information about all the instances of a specific flow.
Authorizations:
path Parameters
definitionId required | string ID of the flow. |
query Parameters
status | string (FlowStatus) Enum: "Idle" "Running" "Finished" "Suspended" "Faulted" "Cancelled" |
correlationId | string |
orderBy | string (InstanceOrderByDto) Enum: "Started" "LastExecuted" "Finished" |
searchTerm | string |
offset | integer <int32> |
limit | integer <int32> |
Responses
Response samples
- 200
- 401
- 404
Get all instances
Lists all instances for all flows belonging to a Signicat account.
An Instance provides a log of what happened when a workflow was executed, it contains information about errors or which steps were completed successfully.
Additionally, you can filter by instance status.
Authorizations:
query Parameters
status | string (FlowStatus) Enum: "Idle" "Running" "Finished" "Suspended" "Faulted" "Cancelled" |
correlationId | string |
orderby | string (InstanceOrderByDto) Enum: "Started" "LastExecuted" "Finished" |
searchTerm | string |
offset | integer <int32> |
limit | integer <int32> |
Responses
Response samples
- 200
- 401
- 404
Return a PDF with all instances
Downloads a PDF report with information about all the instances for all flows belonging to a Signicat account.
Additionally, you can filter by instance status.
Authorizations:
query Parameters
status | string (FlowStatus) Enum: "Idle" "Running" "Finished" "Suspended" "Faulted" "Cancelled" |
correlationId | string |
orderby | string (InstanceOrderByDto) Enum: "Started" "LastExecuted" "Finished" |
searchTerm | string |
offset | integer <int32> |
limit | integer <int32> |
Responses
Response samples
- 200
- 401
- 404
Return a CSV with all instances
Downloads a CSV file with information about all the instances for all flows belonging to a Signicat account.
Additionally, you can filter by user ID and instance status.
Authorizations:
query Parameters
status | string (FlowStatus) Enum: "Idle" "Running" "Finished" "Suspended" "Faulted" "Cancelled" |
correlationId | string |
orderBy | string (InstanceOrderByDto) Enum: "Started" "LastExecuted" "Finished" |
searchTerm | string |
offset | integer <int32> |
limit | integer <int32> |
Responses
Response samples
- 200
- 401
- 404
Return a CSV with all instances
Downloads a CSV file with information about all the instances for all flows belonging to a Signicat account.
Additionally, you can filter by user ID and instance status.
Authorizations:
query Parameters
status | string (FlowStatus) Enum: "Idle" "Running" "Finished" "Suspended" "Faulted" "Cancelled" |
correlationId | string |
orderBy | string (InstanceOrderByDto) Enum: "Started" "LastExecuted" "Finished" |
searchTerm | string |
offset | integer <int32> |
limit | integer <int32> |
Responses
Response samples
- 200
- 401
- 404
Associate an instance to a user
Associates an instance by ID to a user registered in the Signicat Dashboard.
Authorizations:
path Parameters
instanceId required | string ID of the instance. |
userId required | string ID of the Signicat user to associate. |
Responses
Response samples
- 200
- 400
- 401
- 404
Disassociate an instance from a user
Disassociates an instance by ID to a user registered in the Signicat Dashboard.
Authorizations:
path Parameters
instanceId required | string ID of the instance. |
userId required | string ID of the Signicat user to disassociate. |
Responses
Response samples
- 200
- 400
- 401
- 404
Creates a note for an instance activity
Authorizations:
path Parameters
instanceId required | string The ID of the instance. |
activityId required | string The ID of the activity. |
Request Body schema:
note | string or null |
Responses
Request samples
- Payload
{- "note": "string"
}
Response samples
- 200
- 400
- 401
- 404
Updates a instance note
Authorizations:
path Parameters
instanceId required | string The ID of the instance. |
noteId required | string The ID of the instance note. |
Request Body schema:
note | string or null |
Responses
Request samples
- Payload
{- "note": "string"
}
Response samples
- 200
- 400
- 401
- 404
Updates a activity note
Authorizations:
path Parameters
instanceId required | string The ID of the instance. |
activityId required | string The ID of the activity. |
noteId required | string The ID of the activity note. |
Request Body schema:
note | string or null |
Responses
Request samples
- Payload
{- "note": "string"
}
Response samples
- 200
- 400
- 401
- 404
Create a template
Creates a new template.
A template is a flow that can be created and saved as a template and re-used to create multiple flows.
Authorizations:
Request Body schema:
Template to create.
object (WriteFlowDto) | |||||||||||||||
|
Responses
Request samples
- Payload
{- "flow": {
- "title": "string",
- "description": "string",
- "steps": [
- {
- "stepId": "string",
- "type": "string",
- "name": "string",
- "displayName": "string",
- "description": "string",
- "properties": {
- "property1": null,
- "property2": null
}, - "tags": [
- "string"
], - "advanced": true,
- "minimized": true
}
], - "customAttributes": {
- "property1": null,
- "property2": null
}, - "connections": [
- {
- "sourceStepId": "string",
- "targetStepId": "string",
- "outcome": "string"
}
], - "tags": [
- "string"
], - "variables": {
- "property1": null,
- "property2": null
}
}
}
Response samples
- 201
- 400
- 401
- 404
Update a template
Updates an existing template.
Authorizations:
path Parameters
id required | string <uuid> ID of the template. |
Request Body schema:
Template to update.
object (WriteFlowDto) | |
accounts | Array of strings or null |
Responses
Request samples
- Payload
{- "flow": {
- "title": "string",
- "description": "string",
- "steps": [
- {
- "stepId": "string",
- "type": "string",
- "name": "string",
- "displayName": "string",
- "description": "string",
- "properties": {
- "property1": null,
- "property2": null
}, - "tags": [
- "string"
], - "advanced": true,
- "minimized": true
}
], - "customAttributes": {
- "property1": null,
- "property2": null
}, - "connections": [
- {
- "sourceStepId": "string",
- "targetStepId": "string",
- "outcome": "string"
}
], - "tags": [
- "string"
], - "variables": {
- "property1": null,
- "property2": null
}
}, - "accounts": [
- "string"
]
}
Response samples
- 200
- 400
- 401
- 404
Disassociate a template from an account
Disassociates a template from a Signicat account.
Authorizations:
path Parameters
id required | string <uuid> ID of the template. |
accountIdToDisassociate required | string ID of the account to disassociate. |
Responses
Response samples
- 400
- 401
- 404