List approval workflow templates
Returns a paginated list of approval workflow templates for the organization. Uses the unified field.op=value filter grammar.
query Parameters
limitPage size
cursorPagination cursor
entity_typeFilter by entity type (eq/ne/in)
trigger_actionFilter by trigger action (eq/in)
statusFilter by status (eq/ne/in)
is_activeFilter by is_active flag (eq/ne)
nameFilter by template name (eq/contains)
created_atFilter by created_at (eq/gt/gte/lt/lte)
updated_atFilter by updated_at (eq/gt/gte/lt/lte)
List approval workflow templates › Responses
Paginated list in data envelope
created_atdescriptionentity_typeidis_activenameon_rejectionon_timeoutorganization_idstatustrigger_actionupdated_atCreate an approval workflow template
Creates a new approval workflow template for the organization
Create an approval workflow template › Request Body
descriptionentity_typenameon_rejectionon_timeouttrigger_actionCreate an approval workflow template › Responses
Wrapped in data envelope
created_atdescriptionentity_typeidis_activenameon_rejectionon_timeoutorganization_idstatustrigger_actionupdated_atGet an approval workflow template
Returns a single approval workflow template by ID
path Parameters
idWorkflow template UUID
Get an approval workflow template › Responses
Wrapped in data envelope
created_atdescriptionentity_typeidis_activenameon_rejectionon_timeoutorganization_idstatustrigger_actionupdated_atUpdate an approval workflow template
Updates an existing approval workflow template by ID
path Parameters
idWorkflow template UUID
Update an approval workflow template › Request Body
descriptionis_activenameon_rejectionon_timeoutUpdate an approval workflow template › Responses
Wrapped in data envelope
created_atdescriptionentity_typeidis_activenameon_rejectionon_timeoutorganization_idstatustrigger_actionupdated_atList approval requests
Returns a paginated list of approval requests for the organization. Uses the unified field.op=value filter grammar.
query Parameters
limitPage size
cursorPagination cursor
statusFilter by status (eq/ne/in)
entity_typeFilter by entity type (eq/ne/in)
entity_idFilter by entity id (eq/in)
workflow_template_idFilter by workflow template id (eq/in)
trigger_actionFilter by trigger action (eq/in)
initiated_byFilter by initiator (eq/in)
current_stepFilter by current step (eq/gt/gte/lt/lte)
created_atFilter by created_at (eq/gt/gte/lt/lte)
updated_atFilter by updated_at (eq/gt/gte/lt/lte)
resolved_atFilter by resolved_at (eq/gt/gte/lt/lte)
step_started_atFilter by step_started_at (eq/gt/gte/lt/lte)
List approval requests › Responses
Paginated list in data envelope
created_atcurrent_stepentity_identity_typeidinitiated_byorganization_idpayloadprevious_stateresolved_atstatusstep_started_attrigger_actionupdated_atworkflow_template_idGet an approval request
Returns a single approval request by ID
path Parameters
idApproval request UUID
Get an approval request › Responses
Wrapped in data envelope
created_atcurrent_stepentity_identity_typeidinitiated_byorganization_idpayloadprevious_stateresolved_atstatusstep_started_attrigger_actionupdated_atworkflow_template_idApprove an approval request
Approves a pending approval request, optionally with a comment
path Parameters
idApproval request UUID
Approve an approval request › Responses
Wrapped in data envelope
created_atcurrent_stepentity_identity_typeidinitiated_byorganization_idpayloadprevious_stateresolved_atstatusstep_started_attrigger_actionupdated_atworkflow_template_idReject an approval request
Rejects a pending approval request, optionally with a comment
path Parameters
idApproval request UUID
Reject an approval request › Responses
Wrapped in data envelope
created_atcurrent_stepentity_identity_typeidinitiated_byorganization_idpayloadprevious_stateresolved_atstatusstep_started_attrigger_actionupdated_atworkflow_template_id