Approvals
List approval flows
GET/organizations/{organizationId}/approvals
Authorization
Path parameters
organizationId*string
The organization ID
Query parameters
Response
OK
Body
results*array of ApprovalFlow
nextPageTokenstring
The token to fetch the next page of results. If empty, there are no more results to fetch.
Request
Response
Create approval flow
POST/organizations/{organizationId}/approvals
Authorization
Path parameters
organizationId*string
The organization ID
Body
name*string
description*string
objectType*objectType (string (mrn))
The identifier of the object
objectAction*objectAction (enum)
The action performed on the object
createupdatedelete
tagsarray of ApprovalFlowIdentifierTag
steps*array of object
Response
OK
Body
id*string (uuid)
organizationIdstring (uuid)
workspaceIdstring (uuid)
ownerId*string (uuid)
name*string
description*string
objectType*objectType (string (mrn))
The identifier of the object
objectAction*objectAction (enum)
The action performed on the object
createupdatedelete
steps*array of object
createdAt*string (date-time)
updatedAt*string (date-time)
tagsarray of ApprovalFlowIdentifierTag
Request
Response
Retrieve approval flow
GET/organizations/{organizationId}/approvals/{approvalId}
Authorization
Path parameters
organizationId*string
The organization ID
approvalId*string (uuid)
Response
OK
Body
id*string (uuid)
organizationIdstring (uuid)
workspaceIdstring (uuid)
ownerId*string (uuid)
name*string
description*string
objectType*objectType (string (mrn))
The identifier of the object
objectAction*objectAction (enum)
The action performed on the object
createupdatedelete
steps*array of object
createdAt*string (date-time)
updatedAt*string (date-time)
tagsarray of ApprovalFlowIdentifierTag
Request
Response
Delete approval flow
DELETE/organizations/{organizationId}/approvals/{approvalId}
Authorization
Path parameters
organizationId*string
The organization ID
approvalId*string (uuid)
Response
OK
Request
Response
Update approval flow
PATCH/organizations/{organizationId}/approvals/{approvalId}
Authorization
Path parameters
organizationId*string
The organization ID
approvalId*string (uuid)
Body
namestring
descriptionstring
objectTypestring
objectActionenum
createupdatedelete
stepsarray of object
Response
OK
Body
id*string (uuid)
organizationIdstring (uuid)
workspaceIdstring (uuid)
ownerId*string (uuid)
name*string
description*string
objectType*objectType (string (mrn))
The identifier of the object
objectAction*objectAction (enum)
The action performed on the object
createupdatedelete
steps*array of object
createdAt*string (date-time)
updatedAt*string (date-time)
tagsarray of ApprovalFlowIdentifierTag
Request
Response
Last updated