workflows

Create a workflow

Creates a workflow definition. Set the target type, provide the corresponding configuration block, and use workflow triggers later to execute the workflow for a concrete resource instance. Requires the WORKFLOW.CREATE permission.

post/v{version}/workflows

Request

  • Base URL: https://test.api.solvimon.com
  • URL: https://test.api.solvimon.com/v{version}/workflows
  • Auth: API key in header X-API-KEY

Path parameters

versionstring required

version

Headers

x-platform-idstring

Platform ID.

Request body

object_typestring nullable
idstring nullable
namestring required

Name of the workflow.

descriptionstring nullable

Description of what the workflow is used for.

type'INVOICE' | 'PAYMENT' | 'PRICING_PLAN_SUBSCRIPTION' | 'WALLET' | 'USAGE' required

Resource type the workflow runs for. This selects the matching workflow configuration and trigger data.

referencestring required

Unique reference.

status'ACTIVE' | 'INACTIVE' | 'DRAFT' | 'ARCHIVED' required

Status of the workflow.

created_atstring nullable

Date time when the workflow was created.

updated_atstring nullable

Date time when the workflow was last updated.

customer_idsstring[] nullable

Customer scope for the workflow. This limits which customers can use the workflow when it is triggered.

Response

Created

object_typestring nullable
idstring nullable
namestring

Name of the workflow.

descriptionstring nullable

Description of what the workflow is used for.

type'INVOICE' | 'PAYMENT' | 'PRICING_PLAN_SUBSCRIPTION' | 'WALLET' | 'USAGE'

Resource type the workflow runs for. This selects the matching workflow configuration and trigger data.

referencestring

Unique reference.

status'ACTIVE' | 'INACTIVE' | 'DRAFT' | 'ARCHIVED'

Status of the workflow.

created_atstring nullable

Date time when the workflow was created.

updated_atstring nullable

Date time when the workflow was last updated.

customer_idsstring[] nullable

Customer scope for the workflow. This limits which customers can use the workflow when it is triggered.

Changes

No recorded changes to this operation across all 1 revision of this API.