Workflow Templates

Create a workflow template

Creates a reusable workflow definition template. Superuser only.

post/v1/workflows/workflow_templates

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v1/workflows/workflow_templates
  • Auth
    HTTP basic

Headers

Organization-Idstring required

Organization ID

Request body

definitionobject required
descriptionstring
metadataobject
namestring required

Example request

{
  "description": "Template for standard merchant payouts",
  "name": "Standard Payout Template"
}

Response

Created workflow template

Example response

{
  "data": {
    "created_at": "2026-01-15 10:30:00+00:00",
    "description": "Template for standard merchant payouts",
    "id": "tmpl_abc123",
    "name": "Standard Payout Template",
    "updated_at": "2026-01-15 10:30:00+00:00"
  }
}

Changes

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