Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Approvals
  • Back to home
  • Flow
  • Design
    • Create Design
      POST
    • List Designs
      GET
    • Update Design
      PUT
    • Get Design
      GET
    • Mark as Current Design
      PUT
    • Duplicate Design
      POST
    • Get Expanded Design
      GET
    • Graph Validation
      GET
  • Runner
    • Create Runner
      POST
    • Execute Runner
      POST
    • Get Runner
      GET
    • List Runners
      GET
    • Runner Callback Handler
      POST
    • Runner activity
      GET
    • Runner Store
      GET
    • Update Runner design
      PUT
    • Update Store
      PUT
    • No Auth Runner Flow info
      GET
    • Parse Template
      POST
    • Get Current Nodes
      GET
    • Create and Execute Runner
      POST
  • Customer Auth
    • Refresh Token
    • Send OTP
    • Verify OTP
    • Auth Ping
    • Exchange Token
  • Utility
    • Get Schema
  • Warehouse
  • Store
    • Get Store
    • List Store
    • Create Store
  • Document
    • Create Document
    • Get Storage Document
    • Add files to document
    • Download files
  • CheckList
    • CheckList Template
      • Create Checklist Template
      • Get CheckList Template
      • List CheckList Template
      • Update CheckList Template
      • Delete CheckList Template
    • Workflow CheckList
      • Get checklist at runner stage
      • Update Check List Item
  • Approvals
    • Approval List
      GET
    • Pending Approval
      GET
    • Create Approvals
      POST
    • Get Approval
      GET
    • Update Approvals
      PUT
    • Current user approval list
      GET
    • Get approval request by resource
      GET
    • Approve approval
      POST
    • Reject Approval
      POST
  1. Approvals

Approve approval

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/rego/approvals/{id}/approve/
Last modified:2025-07-08 11:21:01

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
Example:
5560a288-4875-4865-9468-8103c4b0764f
Body Params application/json
object {0}
Example
{
    "comments":"This request has been approved only for testing purpose"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://preprod.api.crego.io/v1/rego/approvals/5560a288-4875-4865-9468-8103c4b0764f/approve/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "comments":"This request has been approved only for testing purpose"
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-07-08 11:21:01
Previous
Get approval request by resource
Next
Reject Approval
Built with