Workflow Templates

List workflow templates

Returns a paginated list of reusable workflow definition templates.

get/v1/workflows/workflow_templates

Request

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

Query parameters

limitinteger

Page size (default: 10, max: 100)

after_idstring

Return the page after this position: either the opaque next_cursor from a previous response, or a bare template ID; excludes before_id

before_idstring

Return the page before this position: either the opaque prev_cursor from a previous response, or a bare template ID; excludes after_id

sort_by'created_at' | 'name'

Sort field

sort_order'asc' | 'desc'

Sort order, requires sort_by

Headers

Organization-Idstring required

Organization ID

Response

List of workflow templates

has_moreboolean

HasMore is true when more results exist beyond this page: after the last row when paging forward, before the first row when paging backward with before_id.

next_cursorstring

Opaque cursor for the last row on the page. Echo it as after_id to read the next page. It normally carries the sort it was issued under, so sort_by need not be repeated; for a very long text sort value the API falls back to a plain row id, which carries no sort, so a client pinning a non-default sort should keep sending sort_by. Omitted when the page has no rows.

prev_cursorstring

Opaque cursor for the first row on the page. Echo it as before_id to read the previous page. It normally carries the sort it was issued under, so sort_by need not be repeated; for a very long text sort value the API falls back to a plain row id, which carries no sort, so a client pinning a non-default sort should keep sending sort_by. Omitted when the page has no rows.

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"
    }
  ],
  "meta": {
    "limit": 10
  }
}

Changes

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