Documentation Index

Fetch the complete documentation index at: https://cloudinary.com/documentation/llms.txt

Use this file to discover all available pages before exploring further.

v0.0.1OAS 3.0.3

Creative Approval API

Download OpenAPI Document

The Creative Approval API enables you to automate and manage review workflows for your creative assets. Create proofs (assets submitted for review), define approval flows with multiple review stages, and manage reviewers who provide feedback and approval decisions.

Creative Approval is a premium offering for Assets Enterprise plans. Availability depends on your account setup and incurs an additional cost. If Creative Approval isn't yet enabled for your account and you'd like to activate it, contact Cloudinary support or your Customer Success Manager.

The API uses Basic Authentication over HTTPS with your API Key and API Secret from the Cloudinary Console.

Key capabilities:

  • Create and manage reviewers (internal Cloudinary users or external collaborators)
  • Define approval flow templates with configurable review stages
  • Submit assets as proofs for review through approval workflows
  • Track proof status and reviewer decisions throughout the approval process
Contact
Platform

Proofs

Manage proofs (assets submitted for review) and track their approval workflow progress

Create a new proof

Creates a proof by submitting an asset or set of assets for review through an approval workflow.

Path parameters

  • cloud_name stringRequired

    The cloud name of the product environment.

    example "your-cloud-name"

Body Required application/json

Contract.CreateProofRequestPayload
  • name stringRequired

    Name of the proof.

  • brief string

    Brief description of the proof.

  • previous_version_id string

    External ID of the previous version of the proof (for version bumping).

    format uuid UUID
  • approval_flow_id stringRequired

    Approval flow ID.

    format uuid UUID
  • assets Entity.ProofAssetInput[]Required

    Array of assets for the proof.

    ShowHide child attributes of assets
    Items Entity.ProofAssetInput
    • asset_id stringRequired

      The unique Cloudinary asset ID of the uploaded asset.

      Retrieve this from the asset_id field in the upload response when you upload an asset to Cloudinary.

      example "7a9b3c5d8e2f4a6b9c1d3e5f7a9b2c4d"
    • asset_version integerRequired

      Version number of the asset.

      Retrieve this from the version field in the upload response. Each time an asset is overwritten, the version number changes.

      example 1728575234
    • source stringRequired

      The full delivery URL of the asset.

      Use the secure_url field from the upload response, or construct the delivery URL using your cloud name and asset public ID.

      format uri URIexample "https://res.cloudinary.com/demo/image/upload/sample.jpg"

Responses

201 Proof created successfully.
application/json
object
  • id string

    Unique identifier of the created resource.

    format uuid UUID
400 Bad request.
application/json
object
  • message string
    example "Bad Request. Please check your request for errors."
401 Authorization required.
application/json
object
  • message string
    example "Unauthorized."
403 Not allowed.
application/json
object
  • message string
    example "Forbidden. Contact your administrator if you feel this is a mistake."
500 Internal server error.
application/json
object
  • message string
    example "Internal Server Error. Please try again later."
POST/{cloud_name}/proofs
curl -X POST 'https://api.cloudinary.com/v2/asset_management/CLOUD_NAME/proofs' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Q1 Marketing Campaign Assets",
  "brief": "Please review the marketing materials for the Q1 campaign launch",
  "approval_flow_id": "550e8400-e29b-41d4-a716-446655440000",
  "assets": [
    {
      "asset_id": "7a9b3c5d8e2f4a6b9c1d3e5f7a9b2c4d",
      "asset_version": 1728575234,
      "source": "https://res.cloudinary.com/demo/image/upload/sample.jpg"
    },
    {
      "asset_id": "2b4d6f8a0c2e4b6d8a0c2e4b6d8a0c2e",
      "asset_version": 1728575240,
      "source": "https://res.cloudinary.com/demo/video/upload/sample_video.mp4"
    }
  ]
}'
Response
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Search proofs

Searches for proofs in the product environment with optional filtering criteria. The proofs returned depend on the user's role. Users with roles that contain permission to view all proofs, such as the master_admin role, can access all proofs within their product environment, while other users can only access proofs that they're assigned to review.

Path parameters

  • cloud_name stringRequired

    The cloud name of the product environment.

    example "your-cloud-name"

Body Required application/json

SearchProofsRequest
  • name string

    The proof name.

  • creator_id string

    External user ID of the proof creator and owner.

  • status string

    Filter proofs by workflow state.

    example "in_progress"
  • waiting_for_me boolean

    Filter to show only proofs waiting for the authenticated user's review.

  • page integer

    The page number of results to return (starts at 1).

  • count integer

    Number of proofs to return per page.

Responses

200 Successful operation.
application/json
SearchProofsResponse
  • proofs Entity.Proof[]Required

    Array of proof objects (full Ziflow proof structure).

    ShowHide child attributes of proofs
    Items Entity.Proof

    A proof represents an asset or set of assets submitted for review through an approval workflow.

    • id string

      Unique identifier of the proof.

      example "proof_123"
    • name string

      Name of the proof.

      example "My Proof"
    • created_at string

      When the proof was created.

      format date-time RFC 3339 date-timeexample "2026-01-01T00:00:00Z"
    • version string

      Current version number of the proof.

      example "1"
    • status string

      The workflow state of the proof.

      Note: If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to completed.

      When status is completed, check decision_status for the final approval outcome.

      example "completed"
      enum "init" "open" "in_progress" "completed" "approved" "rejected" "approved_with_changes" "not_relevant"
    • decision_status string

      The overall approval outcome calculated from all stages.

      Note: This will be in_progress while status is in_progress. When status reaches completed, this will show the final approval outcome.

      If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to not_relevant.

      example "approved"
      enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
    • thumbnail_link string

      Thumbnail image URL.

      example "https://example.com/thumbnail.jpg"
    • stages Entity.ProofStage[]

      Approval workflow stages that the proof goes through for review.

      ShowHide child attributes of stages
      Items Entity.ProofStage

      A stage in the approval workflow where assigned reviewers review and make decisions on the proof.

      • id string

        Unique identifier of the stage.

        example "stage_123"
      • name string

        Name of the stage.

        example "Proof Review"
      • status Entity.ProofStageStatus

        Status information for a proof stage.

        ShowHide child attributes of status
        • status stringRequired

          The workflow state of the stage.

          When status is completed, check decision_status for the approval outcome.

          example "completed"
          enum "open" "in_progress" "completed"
        • decision_status stringRequired

          Decision status of the stage.

          Will be in_progress while status is in_progress, and will show the final outcome when status reaches completed.

          example "approved"
          enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
      • final_status_calculation Entity.ProofStageFinalStatusCalculation

        Final status calculation method for the stage.

        ShowHide child attributes of final_status_calculation
        • type string

          Type of final status calculation.

          example "all_decisions"
          enum "all_decisions" "only_one_decision" "primary_decision_maker"
        • reviewer_id string

          Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

          format uuid UUID
        • reviewer_email string

          Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

          format email Email address
      • reviewers Entity.ProofStageReviewer[]

        Reviewers in this stage.

        ShowHide child attributes of reviewers
        Items Entity.ProofStageReviewer

        Reviewer assigned to a proof stage who provides feedback on the proof.

        • contact Entity.ProofStageReviewerContact

          Contact information for a reviewer.

          ShowHide child attributes of contact
          • id string

            Unique identifier of the contact.

            example "contact_456"
          • first_name string

            First name of the contact.

            example "Jane"
          • last_name string

            Last name of the contact.

            example "Reviewer"
          • email string

            Email address of the contact.

            example "jane.reviewer@example.com"
        • can_make_decision boolean

          Whether the reviewer has permission to make decisions.

          example true
        • decision_status stringnullable

          The reviewer's decision on the proof.

          example "approved"
          enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
        • progress Entity.ProofStageReviewerProgress

          Progress information for a reviewer.

          ShowHide child attributes of progress
          • completed booleanRequired

            Whether the reviewer has completed their review.

            example true
    • approval_flow Entity.ProofApprovalFlow

      The approval flow template that defines the review stages and workflow configuration for this proof.

      ShowHide child attributes of approval_flow
      • id string

        Unique identifier of the approval flow.

        example "flow_001"
      • name string

        Name of the approval flow.

        example "Standard Marketing Approval"
    • brief Entity.ProofBrief

      Description for the proof.

      ShowHide child attributes of brief
      • text string

        Brief text of the proof.

        example "A marketing campaign review"
    • creator Entity.ProofCreator

      The user who created the proof and owns it.

      ShowHide child attributes of creator
      • id string

        The user's external ID.

        example "user_123"
      • email string

        The user's email address.

        format email Email addressexample "john.creator@example.com"
  • count integerRequired

    The number of proofs returned.

  • page integerRequired

    The current page of the response.

  • has_more booleanRequired

    Whether there are more proofs to fetch.

401 Authorization required.
application/json
object
  • message string
    example "Unauthorized."
403 Not allowed.
application/json
object
  • message string
    example "Forbidden. Contact your administrator if you feel this is a mistake."
500 Internal server error.
application/json
object
  • message string
    example "Internal Server Error. Please try again later."
POST/{cloud_name}/proofs/search
curl -X POST 'https://api.cloudinary.com/v2/asset_management/CLOUD_NAME/proofs/search' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "creator_id": "string",
  "status": "in_progress",
  "waiting_for_me": true,
  "page": 0,
  "count": 0
}'
Response
{
  "proofs": [
    {
      "id": "proof_123",
      "name": "Marketing Campaign Review",
      "created_at": "2026-01-15T10:30:00Z",
      "version": "2",
      "status": "completed",
      "decision_status": "approved",
      "thumbnail_link": "https://res.cloudinary.com/demo/image/upload/sample.jpg",
      "stages": [
        {
          "id": "stage_456",
          "name": "Design Review",
          "status": {
            "status": "completed",
            "decision_status": "approved"
          },
          "final_status_calculation": {
            "type": "all_decisions"
          },
          "reviewers": [
            {
              "contact": {
                "id": "contact_789",
                "first_name": "Jane",
                "last_name": "Smith",
                "email": "jane.smith@example.com"
              },
              "can_make_decision": true,
              "decision_status": "approved",
              "progress": {
                "completed": true
              }
            },
            {
              "contact": {
                "id": "contact_890",
                "first_name": "Mike",
                "last_name": "Johnson",
                "email": "mike.johnson@example.com"
              },
              "can_make_decision": true,
              "decision_status": "approved",
              "progress": {
                "completed": true
              }
            }
          ]
        },
        {
          "id": "stage_457",
          "name": "Legal Approval",
          "status": {
            "status": "completed",
            "decision_status": "approved"
          },
          "final_status_calculation": {
            "type": "primary_decision_maker",
            "reviewer_id": "550e8400-e29b-41d4-a716-446655440001",
            "reviewer_email": "sarah.lee@example.com"
          },
          "reviewers": [
            {
              "contact": {
                "id": "contact_901",
                "first_name": "Sarah",
                "last_name": "Lee",
                "email": "sarah.lee@example.com"
              },
              "can_make_decision": true,
              "decision_status": "approved",
              "progress": {
                "completed": true
              }
            }
          ]
        }
      ],
      "approval_flow": {
        "id": "flow_001",
        "name": "Standard Marketing Approval"
      },
      "brief": {
        "text": "Please review the marketing materials for Q1 campaign"
      },
      "creator": {
        "id": "user_123",
        "email": "john.creator@example.com"
      }
    }
  ],
  "count": 1,
  "page": 1,
  "has_more": false
}

Get a proof with assets

Retrieves proof details along with all related assets.

Path parameters

  • cloud_name stringRequired

    The cloud name of the product environment.

    example "your-cloud-name"
  • id stringRequired

    ID of the proof.

Responses

200 Successful operation.
application/json
ProofWithAssetsSuccessResponse
  • proof Entity.Proof

    A proof represents an asset or set of assets submitted for review through an approval workflow.

    ShowHide child attributes of proof
    • id string

      Unique identifier of the proof.

      example "proof_123"
    • name string

      Name of the proof.

      example "My Proof"
    • created_at string

      When the proof was created.

      format date-time RFC 3339 date-timeexample "2026-01-01T00:00:00Z"
    • version string

      Current version number of the proof.

      example "1"
    • status string

      The workflow state of the proof.

      Note: If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to completed.

      When status is completed, check decision_status for the final approval outcome.

      example "completed"
      enum "init" "open" "in_progress" "completed" "approved" "rejected" "approved_with_changes" "not_relevant"
    • decision_status string

      The overall approval outcome calculated from all stages.

      Note: This will be in_progress while status is in_progress. When status reaches completed, this will show the final approval outcome.

      If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to not_relevant.

      example "approved"
      enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
    • thumbnail_link string

      Thumbnail image URL.

      example "https://example.com/thumbnail.jpg"
    • stages Entity.ProofStage[]

      Approval workflow stages that the proof goes through for review.

      ShowHide child attributes of stages
      Items Entity.ProofStage

      A stage in the approval workflow where assigned reviewers review and make decisions on the proof.

      • id string

        Unique identifier of the stage.

        example "stage_123"
      • name string

        Name of the stage.

        example "Proof Review"
      • status Entity.ProofStageStatus

        Status information for a proof stage.

        ShowHide child attributes of status
        • status stringRequired

          The workflow state of the stage.

          When status is completed, check decision_status for the approval outcome.

          example "completed"
          enum "open" "in_progress" "completed"
        • decision_status stringRequired

          Decision status of the stage.

          Will be in_progress while status is in_progress, and will show the final outcome when status reaches completed.

          example "approved"
          enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
      • final_status_calculation Entity.ProofStageFinalStatusCalculation

        Final status calculation method for the stage.

        ShowHide child attributes of final_status_calculation
        • type string

          Type of final status calculation.

          example "all_decisions"
          enum "all_decisions" "only_one_decision" "primary_decision_maker"
        • reviewer_id string

          Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

          format uuid UUID
        • reviewer_email string

          Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

          format email Email address
      • reviewers Entity.ProofStageReviewer[]

        Reviewers in this stage.

        ShowHide child attributes of reviewers
        Items Entity.ProofStageReviewer

        Reviewer assigned to a proof stage who provides feedback on the proof.

        • contact Entity.ProofStageReviewerContact

          Contact information for a reviewer.

          ShowHide child attributes of contact
          • id string

            Unique identifier of the contact.

            example "contact_456"
          • first_name string

            First name of the contact.

            example "Jane"
          • last_name string

            Last name of the contact.

            example "Reviewer"
          • email string

            Email address of the contact.

            example "jane.reviewer@example.com"
        • can_make_decision boolean

          Whether the reviewer has permission to make decisions.

          example true
        • decision_status stringnullable

          The reviewer's decision on the proof.

          example "approved"
          enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
        • progress Entity.ProofStageReviewerProgress

          Progress information for a reviewer.

          ShowHide child attributes of progress
          • completed booleanRequired

            Whether the reviewer has completed their review.

            example true
    • approval_flow Entity.ProofApprovalFlow

      The approval flow template that defines the review stages and workflow configuration for this proof.

      ShowHide child attributes of approval_flow
      • id string

        Unique identifier of the approval flow.

        example "flow_001"
      • name string

        Name of the approval flow.

        example "Standard Marketing Approval"
    • brief Entity.ProofBrief

      Description for the proof.

      ShowHide child attributes of brief
      • text string

        Brief text of the proof.

        example "A marketing campaign review"
    • creator Entity.ProofCreator

      The user who created the proof and owns it.

      ShowHide child attributes of creator
      • id string

        The user's external ID.

        example "user_123"
      • email string

        The user's email address.

        format email Email addressexample "john.creator@example.com"
  • assets Entity.ProofAsset[]
    ShowHide child attributes of assets
    Items Entity.ProofAsset
    • asset_id string

      Cloudinary identifier of an asset.

      example "7a9b3c5d8e2f4a6b9c1d3e5f7a9b2c4d"
    • asset_version number

      Version of the asset.

      example 1728575234
    • source string

      URL source of the asset.

      format uri URI
400 Bad request.
application/json
object
  • message string
    example "Bad Request. Please check your request for errors."
401 Authorization required.
application/json
object
  • message string
    example "Unauthorized."
403 Not allowed.
application/json
object
  • message string
    example "Forbidden. Contact your administrator if you feel this is a mistake."
500 Internal server error.
application/json
object
  • message string
    example "Internal Server Error. Please try again later."
GET/{cloud_name}/proofs/{id}
curl 'https://api.cloudinary.com/v2/asset_management/CLOUD_NAME/proofs/{id}'
Response
{
  "proof": {
    "id": "proof_123",
    "name": "Marketing Campaign Review",
    "created_at": "2026-01-15T10:30:00Z",
    "version": "2",
    "status": "completed",
    "decision_status": "approved",
    "thumbnail_link": "https://res.cloudinary.com/demo/image/upload/sample.jpg",
    "stages": [
      {
        "id": "stage_456",
        "name": "Design Review",
        "status": {
          "status": "completed",
          "decision_status": "approved"
        },
        "final_status_calculation": {
          "type": "all_decisions"
        },
        "reviewers": [
          {
            "contact": {
              "id": "contact_789",
              "first_name": "Jane",
              "last_name": "Smith",
              "email": "jane.smith@example.com"
            },
            "can_make_decision": true,
            "decision_status": "approved",
            "progress": {
              "completed": true
            }
          },
          {
            "contact": {
              "id": "contact_890",
              "first_name": "Mike",
              "last_name": "Johnson",
              "email": "mike.johnson@example.com"
            },
            "can_make_decision": true,
            "decision_status": "approved",
            "progress": {
              "completed": true
            }
          }
        ]
      },
      {
        "id": "stage_457",
        "name": "Legal Approval",
        "status": {
          "status": "completed",
          "decision_status": "approved"
        },
        "final_status_calculation": {
          "type": "primary_decision_maker",
          "reviewer_id": "550e8400-e29b-41d4-a716-446655440001",
          "reviewer_email": "sarah.lee@example.com"
        },
        "reviewers": [
          {
            "contact": {
              "id": "contact_901",
              "first_name": "Sarah",
              "last_name": "Lee",
              "email": "sarah.lee@example.com"
            },
            "can_make_decision": true,
            "decision_status": "approved",
            "progress": {
              "completed": true
            }
          }
        ]
      }
    ],
    "approval_flow": {
      "id": "flow_001",
      "name": "Standard Marketing Approval"
    },
    "brief": {
      "text": "Please review the marketing materials for Q1 campaign"
    },
    "creator": {
      "id": "user_123",
      "email": "john.creator@example.com"
    }
  },
  "assets": [
    {
      "asset_id": "7a9b3c5d8e2f4a6b9c1d3e5f7a9b2c4d",
      "asset_version": 1728575234
    },
    {
      "asset_id": "2b4d6f8a0c2e4b6d8a0c2e4b6d8a0c2e",
      "asset_version": 1728575240
    }
  ]
}

Delete a proof

Deletes a proof from the product environment.

Path parameters

  • cloud_name stringRequired

    The cloud name of the product environment.

    example "your-cloud-name"
  • id stringRequired

    ID of the proof.

Responses

200 Proof deleted successfully.

No response body.

400 Bad request.
application/json
object
  • message string
    example "Bad Request. Please check your request for errors."
401 Authorization required.
application/json
object
  • message string
    example "Unauthorized."
403 Not allowed.
application/json
object
  • message string
    example "Forbidden. Contact your administrator if you feel this is a mistake."
500 Internal server error.
application/json
object
  • message string
    example "Internal Server Error. Please try again later."
DEL/{cloud_name}/proofs/{id}
curl -X DELETE 'https://api.cloudinary.com/v2/asset_management/CLOUD_NAME/proofs/{id}'
Response
{
  "message": "Bad Request. Please check your request for errors."
}

Reviewers

Manage reviewers who provide feedback and make approval decisions on proofs

Get reviewers

Retrieves a list of reviewers in the product environment.

Path parameters

  • cloud_name stringRequired

    The cloud name of the product environment.

    example "your-cloud-name"

Query parameters

  • external_only boolean

    When set to true, returns only external reviewers (users outside the organization).

    default false

Responses

200 Successful operation.
application/json
Contract.ListReviewersRequestResponse
  • data Entity.Reviewer[]
    ShowHide child attributes of data
    Items Entity.Reviewer
    • id string

      Unique identifier of the reviewer. For internal reviewers, this is the external user ID of an existing Cloudinary user in the product environment. For external reviewers, this is a UUID.

      example "reviewer_abc123def456"
    • first_name string

      First name of the reviewer.

      example "Jane"
    • last_name string

      Last name of the reviewer.

      example "Smith"
    • email string

      Email address of the reviewer.

      format email Email addressexample "jane.smith@example.com"
    • is_external boolean

      Indicates if the reviewer is an external user.

      example true
401 Authorization required.
application/json
object
  • message string
    example "Unauthorized."
403 Not allowed.
application/json
object
  • message string
    example "Forbidden. Contact your administrator if you feel this is a mistake."
500 Internal server error.
application/json
object
  • message string
    example "Internal Server Error. Please try again later."
GET/{cloud_name}/reviewers
curl 'https://api.cloudinary.com/v2/asset_management/CLOUD_NAME/reviewers'
Response
{
  "data": [
    {
      "id": "reviewer_abc123def456",
      "first_name": "Jane",
      "last_name": "Smith",
      "email": "jane.smith@example.com",
      "is_external": true
    }
  ]
}

Create a reviewer

Creates a new reviewer who can provide feedback and make approval decisions on proofs.

Path parameters

  • cloud_name stringRequired

    The cloud name of the product environment.

    example "your-cloud-name"

Body Required application/json

Contract.CreateReviewerRequestPayload
  • internal_user_id string

    External user ID of an existing Cloudinary user in the product environment.

  • external_reviewer_email string

    Email address of the external reviewer.

    format email Email addressexample "jane.reviewer@example.com"
  • first_name string

    First name of the reviewer.

    example "Jane"
  • last_name string

    Last name of the reviewer.

    example "Smith"

Responses

201 Proof created successfully.
application/json
object
  • id string

    Unique identifier of the created resource.

    format uuid UUID
400 Bad request.
application/json
object
  • message string
    example "Bad Request. Please check your request for errors."
401 Authorization required.
application/json
object
  • message string
    example "Unauthorized."
403 Not allowed.
application/json
object
  • message string
    example "Forbidden. Contact your administrator if you feel this is a mistake."
500 Internal server error.
application/json
object
  • message string
    example "Internal Server Error. Please try again later."
POST/{cloud_name}/reviewers
curl -X POST 'https://api.cloudinary.com/v2/asset_management/CLOUD_NAME/reviewers' \
  -H 'Content-Type: application/json' \
  -d '{
  "internal_user_id": "string",
  "external_reviewer_email": "jane.reviewer@example.com",
  "first_name": "Jane",
  "last_name": "Smith"
}'
Response
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Approval Flows

Manage approval flow templates that define the review stages and workflow configuration.

Get approval flows

Retrieves a list of approval flow templates in the product environment.

Path parameters

  • cloud_name stringRequired

    The cloud name of the product environment.

    example "your-cloud-name"

Responses

200 Successful operation.
application/json
Items Entity.ApprovalFlow

Approval flow with its stages and reviewers.

  • id string

    Unique identifier for the approval flow.

  • name string

    Name of the approval flow.

  • created_at string

    When the approval flow was created.

    format date-time RFC 3339 date-time
  • stages Entity.ApprovalFlowStage[]
    ShowHide child attributes of stages
    Items Entity.ApprovalFlowStage

    Stage within an approval flow.

    • name string

      Name of the stage.

    • final_status_calculation Entity.ProofStageFinalStatusCalculation

      Final status calculation method for the stage.

      ShowHide child attributes of final_status_calculation
      • type string

        Type of final status calculation.

        example "all_decisions"
        enum "all_decisions" "only_one_decision" "primary_decision_maker"
      • reviewer_id string

        Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format uuid UUID
      • reviewer_email string

        Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format email Email address
    • only_one_decision boolean

      Indicates if only one decision is allowed in this stage.

    • reviewers Entity.ApprovalFlowStageReviewer[]
      ShowHide child attributes of reviewers
      Items Entity.ApprovalFlowStageReviewer

      Reviewer within an approval flow stage.

      • contact Entity.ApprovalFlowStageReviewerContact

        Contact information for an approval flow stage reviewer.

        ShowHide child attributes of contact
        • id string

          Unique identifier of the reviewer (the service external ID, never a Ziflow internal ID).

          example "reviewer_abc123def456"
        • first_name string

          First name of the contact.

        • last_name string

          Last name of the contact.

        • email string

          Email address of the contact.

          format email Email address
      • can_make_decision boolean

        Whether the reviewer can make approval decisions.

      • decision_status stringnullable

        Decision status of the reviewer.

        enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
      • can_comment boolean

        Whether the reviewer has permission to comment.

401 Authorization required.
application/json
object
  • message string
    example "Unauthorized."
403 Not allowed.
application/json
object
  • message string
    example "Forbidden. Contact your administrator if you feel this is a mistake."
500 Internal server error.
application/json
object
  • message string
    example "Internal Server Error. Please try again later."
GET/{cloud_name}/approval_flows
curl 'https://api.cloudinary.com/v2/asset_management/CLOUD_NAME/approval_flows'
Response
[
  {
    "id": "flow_001",
    "name": "Standard Marketing Approval",
    "created_at": "2026-01-15T10:30:00Z",
    "stages": [
      {
        "name": "Design Review",
        "final_status_calculation": {
          "type": "all_decisions"
        },
        "only_one_decision": false,
        "reviewers": [
          {
            "contact": {
              "id": "reviewer_abc123def456",
              "first_name": "Jane",
              "last_name": "Smith",
              "email": "jane.smith@example.com"
            },
            "can_make_decision": true,
            "can_comment": true
          },
          {
            "contact": {
              "id": "reviewer_def456ghi789",
              "first_name": "Mike",
              "last_name": "Johnson",
              "email": "mike.johnson@example.com"
            },
            "can_make_decision": true,
            "can_comment": true
          }
        ]
      },
      {
        "name": "Legal Approval",
        "final_status_calculation": {
          "type": "primary_decision_maker",
          "reviewer_id": "550e8400-e29b-41d4-a716-446655440001",
          "reviewer_email": "sarah.lee@example.com"
        },
        "only_one_decision": true,
        "reviewers": [
          {
            "contact": {
              "id": "reviewer_ghi789jkl012",
              "first_name": "Sarah",
              "last_name": "Lee",
              "email": "sarah.lee@example.com"
            },
            "can_make_decision": true,
            "can_comment": false
          }
        ]
      }
    ]
  },
  {
    "id": "flow_002",
    "name": "Quick Creative Sign-off",
    "created_at": "2026-02-01T08:00:00Z",
    "stages": [
      {
        "name": "Creative Director Review",
        "final_status_calculation": {
          "type": "all_decisions"
        },
        "only_one_decision": false,
        "reviewers": [
          {
            "contact": {
              "id": "reviewer_jkl012mno345",
              "first_name": "Dana",
              "last_name": "Director",
              "email": "director@example.com"
            },
            "can_make_decision": true,
            "can_comment": true
          }
        ]
      }
    ]
  }
]

Create an approval flow

Creates a new approval flow template that defines the review stages and workflow configuration for proofs.

Path parameters

  • cloud_name stringRequired

    The cloud name of the product environment.

    example "your-cloud-name"

Body Required application/json

Contract.CreateApprovalFlowRequestPayload
  • name stringRequired

    Name of the approval flow.

  • stages Entity.CreateApprovalFlowStage[]Required

    A list of stages for the approval flow.

    ShowHide child attributes of stages
    Items Entity.CreateApprovalFlowStage

    Stage input for creating an approval flow.

    • name string

      Name of the stage.

    • final_status_calculation Entity.ProofStageFinalStatusCalculation

      Final status calculation method for the stage.

      ShowHide child attributes of final_status_calculation
      • type string

        Type of final status calculation.

        example "all_decisions"
        enum "all_decisions" "only_one_decision" "primary_decision_maker"
      • reviewer_id string

        Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format uuid UUID
      • reviewer_email string

        Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format email Email address
    • reviewers Entity.CreateApprovalFlowStageReviewer[]

      List of reviewers for this stage.

      ShowHide child attributes of reviewers
      Items Entity.CreateApprovalFlowStageReviewer

      Reviewer input for creating an approval flow stage.

      • email string

        Email address of the reviewer.

        format email Email address
      • can_make_decision booleannullable

        Whether the reviewer can make approval decisions.

      • can_comment booleannullable

        Whether the reviewer can comment.

    • lock Entity.StageLocknullable

      Lock settings for a stage.

      ShowHide child attributes of lock
      • type string

        Determines when the stage becomes locked.

        enum "manual" "on_completion" "all_dependent_stages_started" "next_stage_starts" "on_deadline"
      • next_stage_name stringnullable

        Name of the next stage (used with next_stage_starts lock type).

    • stage_trigger Entity.StageTriggernullable

      Configuration for when and how a stage starts.

      ShowHide child attributes of stage_trigger
      • trigger Entity.StageTriggerConfig

        Trigger configuration for when a stage starts.

        ShowHide child attributes of trigger
        • type string

          Type of trigger that determines when the stage starts.

          enum "immediately" "manual" "on_completion" "on_approved" "on_approved_or_approvedwithchanges" "deadline_reached" "on_changes_required"
        • parent_stage_name string

          Name of the parent stage (required when type is on_completion, on_approved, on_approved_or_approvedwithchanges, or on_changes_required).

        • or_deadline boolean

          If true, stage starts when trigger condition OR parent stage deadline is reached. Works with all types except immediately, manual, and deadline_reached.

          default false
      • deadline Entity.StageTriggerDeadlinenullable

        Deadline configuration for a stage.

        ShowHide child attributes of deadline
        • days integernullable

          Number of business days (max 100).

          max 100
        • hours integernullable

          Number of hours.

        • time stringnullable

          UTC time for the deadline.

Responses

201 Approval flow created successfully.
application/json
Contract.CreateApprovalFlowResponse
  • id string

    Unique identifier for the newly created approval flow.

400 Bad request.
application/json
object
  • message string
    example "Bad Request. Please check your request for errors."
401 Authorization required.
application/json
object
  • message string
    example "Unauthorized."
403 Not allowed.
application/json
object
  • message string
    example "Forbidden. Contact your administrator if you feel this is a mistake."
500 Internal server error.
application/json
object
  • message string
    example "Internal Server Error. Please try again later."
POST/{cloud_name}/approval_flows
curl -X POST 'https://api.cloudinary.com/v2/asset_management/CLOUD_NAME/approval_flows' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Marketing Campaign Review",
  "stages": [
    {
      "name": "Initial Review",
      "final_status_calculation": {
        "type": "all_decisions"
      },
      "reviewers": [
        {
          "email": "designer@example.com",
          "can_make_decision": true,
          "can_comment": true
        },
        {
          "email": "copywriter@example.com",
          "can_make_decision": true,
          "can_comment": true
        }
      ],
      "lock": {
        "type": "manual"
      },
      "stage_trigger": {
        "trigger": {
          "type": "immediately"
        }
      }
    },
    {
      "name": "Final Approval",
      "final_status_calculation": {
        "type": "primary_decision_maker"
      },
      "reviewers": [
        {
          "email": "manager@example.com",
          "can_make_decision": true,
          "can_comment": true
        },
        {
          "email": "stakeholder@example.com",
          "can_make_decision": false,
          "can_comment": true
        }
      ],
      "lock": {
        "type": "on_completion"
      },
      "stage_trigger": {
        "trigger": {
          "type": "on_completion",
          "parent_stage_name": "Initial Review"
        }
      }
    }
  ]
}'
Response
{
  "id": "flow_abc123def456"
}

Delete an approval flow

Deletes an approval flow template from the product environment.

Path parameters

  • cloud_name stringRequired

    The cloud name of the product environment.

    example "your-cloud-name"
  • id stringRequired

    Unique identifier of the approval flow to delete.

Responses

204 Approval flow deleted successfully.

No response body.

400 Bad request.
application/json
object
  • message string
    example "Bad Request. Please check your request for errors."
401 Authorization required.
application/json
object
  • message string
    example "Unauthorized."
403 Not allowed.
application/json
object
  • message string
    example "Forbidden. Contact your administrator if you feel this is a mistake."
404 Not Found - The approval flow with the specified ID was not found.
application/json
Entity.ErrorMessage
  • message string
    example "Approval flow not found."
500 Internal server error.
application/json
object
  • message string
    example "Internal Server Error. Please try again later."
DEL/{cloud_name}/approval_flows/{id}
curl -X DELETE 'https://api.cloudinary.com/v2/asset_management/CLOUD_NAME/approval_flows/{id}'
Response
{
  "message": "Bad Request. Please check your request for errors."
}

Models

Contract.CreateReviewerRequestPayload

Show schema
object
  • internal_user_id string

    External user ID of an existing Cloudinary user in the product environment.

  • external_reviewer_email string

    Email address of the external reviewer.

    format email Email addressexample "jane.reviewer@example.com"
  • first_name string

    First name of the reviewer.

    example "Jane"
  • last_name string

    Last name of the reviewer.

    example "Smith"

Contract.ListReviewersRequestResponse

Show schema
object
  • data Entity.Reviewer[]
    ShowHide child attributes of data
    Items Entity.Reviewer
    • id string

      Unique identifier of the reviewer. For internal reviewers, this is the external user ID of an existing Cloudinary user in the product environment. For external reviewers, this is a UUID.

      example "reviewer_abc123def456"
    • first_name string

      First name of the reviewer.

      example "Jane"
    • last_name string

      Last name of the reviewer.

      example "Smith"
    • email string

      Email address of the reviewer.

      format email Email addressexample "jane.smith@example.com"
    • is_external boolean

      Indicates if the reviewer is an external user.

      example true

Entity.Reviewer

Show schema
object
  • id string

    Unique identifier of the reviewer. For internal reviewers, this is the external user ID of an existing Cloudinary user in the product environment. For external reviewers, this is a UUID.

    example "reviewer_abc123def456"
  • first_name string

    First name of the reviewer.

    example "Jane"
  • last_name string

    Last name of the reviewer.

    example "Smith"
  • email string

    Email address of the reviewer.

    format email Email addressexample "jane.smith@example.com"
  • is_external boolean

    Indicates if the reviewer is an external user.

    example true

Entity.ReviewersList

Show schema
Entity.Reviewer[]
Items Entity.Reviewer
  • id string

    Unique identifier of the reviewer. For internal reviewers, this is the external user ID of an existing Cloudinary user in the product environment. For external reviewers, this is a UUID.

    example "reviewer_abc123def456"
  • first_name string

    First name of the reviewer.

    example "Jane"
  • last_name string

    Last name of the reviewer.

    example "Smith"
  • email string

    Email address of the reviewer.

    format email Email addressexample "jane.smith@example.com"
  • is_external boolean

    Indicates if the reviewer is an external user.

    example true

Contract.CreateProofRequestPayload

Show schema
object
  • name stringRequired

    Name of the proof.

  • brief string

    Brief description of the proof.

  • previous_version_id string

    External ID of the previous version of the proof (for version bumping).

    format uuid UUID
  • approval_flow_id stringRequired

    Approval flow ID.

    format uuid UUID
  • assets Entity.ProofAssetInput[]Required

    Array of assets for the proof.

    ShowHide child attributes of assets
    Items Entity.ProofAssetInput
    • asset_id stringRequired

      The unique Cloudinary asset ID of the uploaded asset.

      Retrieve this from the asset_id field in the upload response when you upload an asset to Cloudinary.

      example "7a9b3c5d8e2f4a6b9c1d3e5f7a9b2c4d"
    • asset_version integerRequired

      Version number of the asset.

      Retrieve this from the version field in the upload response. Each time an asset is overwritten, the version number changes.

      example 1728575234
    • source stringRequired

      The full delivery URL of the asset.

      Use the secure_url field from the upload response, or construct the delivery URL using your cloud name and asset public ID.

      format uri URIexample "https://res.cloudinary.com/demo/image/upload/sample.jpg"

Entity.ProofCreator

Show schema
object

The user who created the proof and owns it.

  • id string

    The user's external ID.

    example "user_123"
  • email string

    The user's email address.

    format email Email addressexample "john.creator@example.com"

Entity.ProofBrief

Show schema
object

Description for the proof.

  • text string

    Brief text of the proof.

    example "A marketing campaign review"

Entity.ProofApprovalFlow

Show schema
object

The approval flow template that defines the review stages and workflow configuration for this proof.

  • id string

    Unique identifier of the approval flow.

    example "flow_001"
  • name string

    Name of the approval flow.

    example "Standard Marketing Approval"

Entity.ProofStageReviewerProgress

Show schema
object

Progress information for a reviewer.

  • completed booleanRequired

    Whether the reviewer has completed their review.

    example true

Entity.ProofStageReviewerContact

Show schema
object

Contact information for a reviewer.

  • id string

    Unique identifier of the contact.

    example "contact_456"
  • first_name string

    First name of the contact.

    example "Jane"
  • last_name string

    Last name of the contact.

    example "Reviewer"
  • email string

    Email address of the contact.

    example "jane.reviewer@example.com"

Entity.ProofStageReviewer

Show schema
object

Reviewer assigned to a proof stage who provides feedback on the proof.

  • contact Entity.ProofStageReviewerContact

    Contact information for a reviewer.

    ShowHide child attributes of contact
    • id string

      Unique identifier of the contact.

      example "contact_456"
    • first_name string

      First name of the contact.

      example "Jane"
    • last_name string

      Last name of the contact.

      example "Reviewer"
    • email string

      Email address of the contact.

      example "jane.reviewer@example.com"
  • can_make_decision boolean

    Whether the reviewer has permission to make decisions.

    example true
  • decision_status stringnullable

    The reviewer's decision on the proof.

    example "approved"
    enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
  • progress Entity.ProofStageReviewerProgress

    Progress information for a reviewer.

    ShowHide child attributes of progress
    • completed booleanRequired

      Whether the reviewer has completed their review.

      example true

Entity.ProofStageFinalStatusCalculation

Show schema
object

Final status calculation method for the stage.

  • type string

    Type of final status calculation.

    example "all_decisions"
    enum "all_decisions" "only_one_decision" "primary_decision_maker"
  • reviewer_id string

    Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

    format uuid UUID
  • reviewer_email string

    Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

    format email Email address

Entity.ProofStageStatus

Show schema
object

Status information for a proof stage.

  • status stringRequired

    The workflow state of the stage.

    When status is completed, check decision_status for the approval outcome.

    example "completed"
    enum "open" "in_progress" "completed"
  • decision_status stringRequired

    Decision status of the stage.

    Will be in_progress while status is in_progress, and will show the final outcome when status reaches completed.

    example "approved"
    enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"

Entity.ProofStage

Show schema
object

A stage in the approval workflow where assigned reviewers review and make decisions on the proof.

  • id string

    Unique identifier of the stage.

    example "stage_123"
  • name string

    Name of the stage.

    example "Proof Review"
  • status Entity.ProofStageStatus

    Status information for a proof stage.

    ShowHide child attributes of status
    • status stringRequired

      The workflow state of the stage.

      When status is completed, check decision_status for the approval outcome.

      example "completed"
      enum "open" "in_progress" "completed"
    • decision_status stringRequired

      Decision status of the stage.

      Will be in_progress while status is in_progress, and will show the final outcome when status reaches completed.

      example "approved"
      enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
  • final_status_calculation Entity.ProofStageFinalStatusCalculation

    Final status calculation method for the stage.

    ShowHide child attributes of final_status_calculation
    • type string

      Type of final status calculation.

      example "all_decisions"
      enum "all_decisions" "only_one_decision" "primary_decision_maker"
    • reviewer_id string

      Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

      format uuid UUID
    • reviewer_email string

      Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

      format email Email address
  • reviewers Entity.ProofStageReviewer[]

    Reviewers in this stage.

    ShowHide child attributes of reviewers
    Items Entity.ProofStageReviewer

    Reviewer assigned to a proof stage who provides feedback on the proof.

    • contact Entity.ProofStageReviewerContact

      Contact information for a reviewer.

      ShowHide child attributes of contact
      • id string

        Unique identifier of the contact.

        example "contact_456"
      • first_name string

        First name of the contact.

        example "Jane"
      • last_name string

        Last name of the contact.

        example "Reviewer"
      • email string

        Email address of the contact.

        example "jane.reviewer@example.com"
    • can_make_decision boolean

      Whether the reviewer has permission to make decisions.

      example true
    • decision_status stringnullable

      The reviewer's decision on the proof.

      example "approved"
      enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
    • progress Entity.ProofStageReviewerProgress

      Progress information for a reviewer.

      ShowHide child attributes of progress
      • completed booleanRequired

        Whether the reviewer has completed their review.

        example true

Entity.Proof

Show schema
object

A proof represents an asset or set of assets submitted for review through an approval workflow.

  • id string

    Unique identifier of the proof.

    example "proof_123"
  • name string

    Name of the proof.

    example "My Proof"
  • created_at string

    When the proof was created.

    format date-time RFC 3339 date-timeexample "2026-01-01T00:00:00Z"
  • version string

    Current version number of the proof.

    example "1"
  • status string

    The workflow state of the proof.

    Note: If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to completed.

    When status is completed, check decision_status for the final approval outcome.

    example "completed"
    enum "init" "open" "in_progress" "completed" "approved" "rejected" "approved_with_changes" "not_relevant"
  • decision_status string

    The overall approval outcome calculated from all stages.

    Note: This will be in_progress while status is in_progress. When status reaches completed, this will show the final approval outcome.

    If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to not_relevant.

    example "approved"
    enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
  • thumbnail_link string

    Thumbnail image URL.

    example "https://example.com/thumbnail.jpg"
  • stages Entity.ProofStage[]

    Approval workflow stages that the proof goes through for review.

    ShowHide child attributes of stages
    Items Entity.ProofStage

    A stage in the approval workflow where assigned reviewers review and make decisions on the proof.

    • id string

      Unique identifier of the stage.

      example "stage_123"
    • name string

      Name of the stage.

      example "Proof Review"
    • status Entity.ProofStageStatus

      Status information for a proof stage.

      ShowHide child attributes of status
      • status stringRequired

        The workflow state of the stage.

        When status is completed, check decision_status for the approval outcome.

        example "completed"
        enum "open" "in_progress" "completed"
      • decision_status stringRequired

        Decision status of the stage.

        Will be in_progress while status is in_progress, and will show the final outcome when status reaches completed.

        example "approved"
        enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
    • final_status_calculation Entity.ProofStageFinalStatusCalculation

      Final status calculation method for the stage.

      ShowHide child attributes of final_status_calculation
      • type string

        Type of final status calculation.

        example "all_decisions"
        enum "all_decisions" "only_one_decision" "primary_decision_maker"
      • reviewer_id string

        Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format uuid UUID
      • reviewer_email string

        Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format email Email address
    • reviewers Entity.ProofStageReviewer[]

      Reviewers in this stage.

      ShowHide child attributes of reviewers
      Items Entity.ProofStageReviewer

      Reviewer assigned to a proof stage who provides feedback on the proof.

      • contact Entity.ProofStageReviewerContact

        Contact information for a reviewer.

        ShowHide child attributes of contact
        • id string

          Unique identifier of the contact.

          example "contact_456"
        • first_name string

          First name of the contact.

          example "Jane"
        • last_name string

          Last name of the contact.

          example "Reviewer"
        • email string

          Email address of the contact.

          example "jane.reviewer@example.com"
      • can_make_decision boolean

        Whether the reviewer has permission to make decisions.

        example true
      • decision_status stringnullable

        The reviewer's decision on the proof.

        example "approved"
        enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
      • progress Entity.ProofStageReviewerProgress

        Progress information for a reviewer.

        ShowHide child attributes of progress
        • completed booleanRequired

          Whether the reviewer has completed their review.

          example true
  • approval_flow Entity.ProofApprovalFlow

    The approval flow template that defines the review stages and workflow configuration for this proof.

    ShowHide child attributes of approval_flow
    • id string

      Unique identifier of the approval flow.

      example "flow_001"
    • name string

      Name of the approval flow.

      example "Standard Marketing Approval"
  • brief Entity.ProofBrief

    Description for the proof.

    ShowHide child attributes of brief
    • text string

      Brief text of the proof.

      example "A marketing campaign review"
  • creator Entity.ProofCreator

    The user who created the proof and owns it.

    ShowHide child attributes of creator
    • id string

      The user's external ID.

      example "user_123"
    • email string

      The user's email address.

      format email Email addressexample "john.creator@example.com"

SearchProofsRequest

Show schema
object
  • name string

    The proof name.

  • creator_id string

    External user ID of the proof creator and owner.

  • status string

    Filter proofs by workflow state.

    example "in_progress"
  • waiting_for_me boolean

    Filter to show only proofs waiting for the authenticated user's review.

  • page integer

    The page number of results to return (starts at 1).

  • count integer

    Number of proofs to return per page.

SearchProofsResponse

Show schema
object
  • proofs Entity.Proof[]Required

    Array of proof objects (full Ziflow proof structure).

    ShowHide child attributes of proofs
    Items Entity.Proof

    A proof represents an asset or set of assets submitted for review through an approval workflow.

    • id string

      Unique identifier of the proof.

      example "proof_123"
    • name string

      Name of the proof.

      example "My Proof"
    • created_at string

      When the proof was created.

      format date-time RFC 3339 date-timeexample "2026-01-01T00:00:00Z"
    • version string

      Current version number of the proof.

      example "1"
    • status string

      The workflow state of the proof.

      Note: If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to completed.

      When status is completed, check decision_status for the final approval outcome.

      example "completed"
      enum "init" "open" "in_progress" "completed" "approved" "rejected" "approved_with_changes" "not_relevant"
    • decision_status string

      The overall approval outcome calculated from all stages.

      Note: This will be in_progress while status is in_progress. When status reaches completed, this will show the final approval outcome.

      If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to not_relevant.

      example "approved"
      enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
    • thumbnail_link string

      Thumbnail image URL.

      example "https://example.com/thumbnail.jpg"
    • stages Entity.ProofStage[]

      Approval workflow stages that the proof goes through for review.

      ShowHide child attributes of stages
      Items Entity.ProofStage

      A stage in the approval workflow where assigned reviewers review and make decisions on the proof.

      • id string

        Unique identifier of the stage.

        example "stage_123"
      • name string

        Name of the stage.

        example "Proof Review"
      • status Entity.ProofStageStatus

        Status information for a proof stage.

        ShowHide child attributes of status
        • status stringRequired

          The workflow state of the stage.

          When status is completed, check decision_status for the approval outcome.

          example "completed"
          enum "open" "in_progress" "completed"
        • decision_status stringRequired

          Decision status of the stage.

          Will be in_progress while status is in_progress, and will show the final outcome when status reaches completed.

          example "approved"
          enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
      • final_status_calculation Entity.ProofStageFinalStatusCalculation

        Final status calculation method for the stage.

        ShowHide child attributes of final_status_calculation
        • type string

          Type of final status calculation.

          example "all_decisions"
          enum "all_decisions" "only_one_decision" "primary_decision_maker"
        • reviewer_id string

          Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

          format uuid UUID
        • reviewer_email string

          Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

          format email Email address
      • reviewers Entity.ProofStageReviewer[]

        Reviewers in this stage.

        ShowHide child attributes of reviewers
        Items Entity.ProofStageReviewer

        Reviewer assigned to a proof stage who provides feedback on the proof.

        • contact Entity.ProofStageReviewerContact

          Contact information for a reviewer.

          ShowHide child attributes of contact
          • id string

            Unique identifier of the contact.

            example "contact_456"
          • first_name string

            First name of the contact.

            example "Jane"
          • last_name string

            Last name of the contact.

            example "Reviewer"
          • email string

            Email address of the contact.

            example "jane.reviewer@example.com"
        • can_make_decision boolean

          Whether the reviewer has permission to make decisions.

          example true
        • decision_status stringnullable

          The reviewer's decision on the proof.

          example "approved"
          enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
        • progress Entity.ProofStageReviewerProgress

          Progress information for a reviewer.

          ShowHide child attributes of progress
          • completed booleanRequired

            Whether the reviewer has completed their review.

            example true
    • approval_flow Entity.ProofApprovalFlow

      The approval flow template that defines the review stages and workflow configuration for this proof.

      ShowHide child attributes of approval_flow
      • id string

        Unique identifier of the approval flow.

        example "flow_001"
      • name string

        Name of the approval flow.

        example "Standard Marketing Approval"
    • brief Entity.ProofBrief

      Description for the proof.

      ShowHide child attributes of brief
      • text string

        Brief text of the proof.

        example "A marketing campaign review"
    • creator Entity.ProofCreator

      The user who created the proof and owns it.

      ShowHide child attributes of creator
      • id string

        The user's external ID.

        example "user_123"
      • email string

        The user's email address.

        format email Email addressexample "john.creator@example.com"
  • count integerRequired

    The number of proofs returned.

  • page integerRequired

    The current page of the response.

  • has_more booleanRequired

    Whether there are more proofs to fetch.

ProofWithAssetsSuccessResponse

Show schema
object
  • proof Entity.Proof

    A proof represents an asset or set of assets submitted for review through an approval workflow.

    ShowHide child attributes of proof
    • id string

      Unique identifier of the proof.

      example "proof_123"
    • name string

      Name of the proof.

      example "My Proof"
    • created_at string

      When the proof was created.

      format date-time RFC 3339 date-timeexample "2026-01-01T00:00:00Z"
    • version string

      Current version number of the proof.

      example "1"
    • status string

      The workflow state of the proof.

      Note: If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to completed.

      When status is completed, check decision_status for the final approval outcome.

      example "completed"
      enum "init" "open" "in_progress" "completed" "approved" "rejected" "approved_with_changes" "not_relevant"
    • decision_status string

      The overall approval outcome calculated from all stages.

      Note: This will be in_progress while status is in_progress. When status reaches completed, this will show the final approval outcome.

      If the proof does not contain any decision-making reviewers in any stage, it will automatically be set to not_relevant.

      example "approved"
      enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
    • thumbnail_link string

      Thumbnail image URL.

      example "https://example.com/thumbnail.jpg"
    • stages Entity.ProofStage[]

      Approval workflow stages that the proof goes through for review.

      ShowHide child attributes of stages
      Items Entity.ProofStage

      A stage in the approval workflow where assigned reviewers review and make decisions on the proof.

      • id string

        Unique identifier of the stage.

        example "stage_123"
      • name string

        Name of the stage.

        example "Proof Review"
      • status Entity.ProofStageStatus

        Status information for a proof stage.

        ShowHide child attributes of status
        • status stringRequired

          The workflow state of the stage.

          When status is completed, check decision_status for the approval outcome.

          example "completed"
          enum "open" "in_progress" "completed"
        • decision_status stringRequired

          Decision status of the stage.

          Will be in_progress while status is in_progress, and will show the final outcome when status reaches completed.

          example "approved"
          enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
      • final_status_calculation Entity.ProofStageFinalStatusCalculation

        Final status calculation method for the stage.

        ShowHide child attributes of final_status_calculation
        • type string

          Type of final status calculation.

          example "all_decisions"
          enum "all_decisions" "only_one_decision" "primary_decision_maker"
        • reviewer_id string

          Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

          format uuid UUID
        • reviewer_email string

          Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

          format email Email address
      • reviewers Entity.ProofStageReviewer[]

        Reviewers in this stage.

        ShowHide child attributes of reviewers
        Items Entity.ProofStageReviewer

        Reviewer assigned to a proof stage who provides feedback on the proof.

        • contact Entity.ProofStageReviewerContact

          Contact information for a reviewer.

          ShowHide child attributes of contact
          • id string

            Unique identifier of the contact.

            example "contact_456"
          • first_name string

            First name of the contact.

            example "Jane"
          • last_name string

            Last name of the contact.

            example "Reviewer"
          • email string

            Email address of the contact.

            example "jane.reviewer@example.com"
        • can_make_decision boolean

          Whether the reviewer has permission to make decisions.

          example true
        • decision_status stringnullable

          The reviewer's decision on the proof.

          example "approved"
          enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
        • progress Entity.ProofStageReviewerProgress

          Progress information for a reviewer.

          ShowHide child attributes of progress
          • completed booleanRequired

            Whether the reviewer has completed their review.

            example true
    • approval_flow Entity.ProofApprovalFlow

      The approval flow template that defines the review stages and workflow configuration for this proof.

      ShowHide child attributes of approval_flow
      • id string

        Unique identifier of the approval flow.

        example "flow_001"
      • name string

        Name of the approval flow.

        example "Standard Marketing Approval"
    • brief Entity.ProofBrief

      Description for the proof.

      ShowHide child attributes of brief
      • text string

        Brief text of the proof.

        example "A marketing campaign review"
    • creator Entity.ProofCreator

      The user who created the proof and owns it.

      ShowHide child attributes of creator
      • id string

        The user's external ID.

        example "user_123"
      • email string

        The user's email address.

        format email Email addressexample "john.creator@example.com"
  • assets Entity.ProofAsset[]
    ShowHide child attributes of assets
    Items Entity.ProofAsset
    • asset_id string

      Cloudinary identifier of an asset.

      example "7a9b3c5d8e2f4a6b9c1d3e5f7a9b2c4d"
    • asset_version number

      Version of the asset.

      example 1728575234
    • source string

      URL source of the asset.

      format uri URI

Entity.ApprovalFlowStageReviewerContact

Show schema
object

Contact information for an approval flow stage reviewer.

  • id string

    Unique identifier of the reviewer (the service external ID, never a Ziflow internal ID).

    example "reviewer_abc123def456"
  • first_name string

    First name of the contact.

  • last_name string

    Last name of the contact.

  • email string

    Email address of the contact.

    format email Email address

Entity.ApprovalFlowStageReviewer

Show schema
object

Reviewer within an approval flow stage.

  • contact Entity.ApprovalFlowStageReviewerContact

    Contact information for an approval flow stage reviewer.

    ShowHide child attributes of contact
    • id string

      Unique identifier of the reviewer (the service external ID, never a Ziflow internal ID).

      example "reviewer_abc123def456"
    • first_name string

      First name of the contact.

    • last_name string

      Last name of the contact.

    • email string

      Email address of the contact.

      format email Email address
  • can_make_decision boolean

    Whether the reviewer can make approval decisions.

  • decision_status stringnullable

    Decision status of the reviewer.

    enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
  • can_comment boolean

    Whether the reviewer has permission to comment.

Entity.ApprovalFlowStage

Show schema
object

Stage within an approval flow.

  • name string

    Name of the stage.

  • final_status_calculation Entity.ProofStageFinalStatusCalculation

    Final status calculation method for the stage.

    ShowHide child attributes of final_status_calculation
    • type string

      Type of final status calculation.

      example "all_decisions"
      enum "all_decisions" "only_one_decision" "primary_decision_maker"
    • reviewer_id string

      Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

      format uuid UUID
    • reviewer_email string

      Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

      format email Email address
  • only_one_decision boolean

    Indicates if only one decision is allowed in this stage.

  • reviewers Entity.ApprovalFlowStageReviewer[]
    ShowHide child attributes of reviewers
    Items Entity.ApprovalFlowStageReviewer

    Reviewer within an approval flow stage.

    • contact Entity.ApprovalFlowStageReviewerContact

      Contact information for an approval flow stage reviewer.

      ShowHide child attributes of contact
      • id string

        Unique identifier of the reviewer (the service external ID, never a Ziflow internal ID).

        example "reviewer_abc123def456"
      • first_name string

        First name of the contact.

      • last_name string

        Last name of the contact.

      • email string

        Email address of the contact.

        format email Email address
    • can_make_decision boolean

      Whether the reviewer can make approval decisions.

    • decision_status stringnullable

      Decision status of the reviewer.

      enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
    • can_comment boolean

      Whether the reviewer has permission to comment.

Entity.ApprovalFlow

Show schema
object

Approval flow with its stages and reviewers.

  • id string

    Unique identifier for the approval flow.

  • name string

    Name of the approval flow.

  • created_at string

    When the approval flow was created.

    format date-time RFC 3339 date-time
  • stages Entity.ApprovalFlowStage[]
    ShowHide child attributes of stages
    Items Entity.ApprovalFlowStage

    Stage within an approval flow.

    • name string

      Name of the stage.

    • final_status_calculation Entity.ProofStageFinalStatusCalculation

      Final status calculation method for the stage.

      ShowHide child attributes of final_status_calculation
      • type string

        Type of final status calculation.

        example "all_decisions"
        enum "all_decisions" "only_one_decision" "primary_decision_maker"
      • reviewer_id string

        Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format uuid UUID
      • reviewer_email string

        Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format email Email address
    • only_one_decision boolean

      Indicates if only one decision is allowed in this stage.

    • reviewers Entity.ApprovalFlowStageReviewer[]
      ShowHide child attributes of reviewers
      Items Entity.ApprovalFlowStageReviewer

      Reviewer within an approval flow stage.

      • contact Entity.ApprovalFlowStageReviewerContact

        Contact information for an approval flow stage reviewer.

        ShowHide child attributes of contact
        • id string

          Unique identifier of the reviewer (the service external ID, never a Ziflow internal ID).

          example "reviewer_abc123def456"
        • first_name string

          First name of the contact.

        • last_name string

          Last name of the contact.

        • email string

          Email address of the contact.

          format email Email address
      • can_make_decision boolean

        Whether the reviewer can make approval decisions.

      • decision_status stringnullable

        Decision status of the reviewer.

        enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
      • can_comment boolean

        Whether the reviewer has permission to comment.

Contract.ListApprovalFlowsResponse

Show schema
Entity.ApprovalFlow[]
Items Entity.ApprovalFlow

Approval flow with its stages and reviewers.

  • id string

    Unique identifier for the approval flow.

  • name string

    Name of the approval flow.

  • created_at string

    When the approval flow was created.

    format date-time RFC 3339 date-time
  • stages Entity.ApprovalFlowStage[]
    ShowHide child attributes of stages
    Items Entity.ApprovalFlowStage

    Stage within an approval flow.

    • name string

      Name of the stage.

    • final_status_calculation Entity.ProofStageFinalStatusCalculation

      Final status calculation method for the stage.

      ShowHide child attributes of final_status_calculation
      • type string

        Type of final status calculation.

        example "all_decisions"
        enum "all_decisions" "only_one_decision" "primary_decision_maker"
      • reviewer_id string

        Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format uuid UUID
      • reviewer_email string

        Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format email Email address
    • only_one_decision boolean

      Indicates if only one decision is allowed in this stage.

    • reviewers Entity.ApprovalFlowStageReviewer[]
      ShowHide child attributes of reviewers
      Items Entity.ApprovalFlowStageReviewer

      Reviewer within an approval flow stage.

      • contact Entity.ApprovalFlowStageReviewerContact

        Contact information for an approval flow stage reviewer.

        ShowHide child attributes of contact
        • id string

          Unique identifier of the reviewer (the service external ID, never a Ziflow internal ID).

          example "reviewer_abc123def456"
        • first_name string

          First name of the contact.

        • last_name string

          Last name of the contact.

        • email string

          Email address of the contact.

          format email Email address
      • can_make_decision boolean

        Whether the reviewer can make approval decisions.

      • decision_status stringnullable

        Decision status of the reviewer.

        enum "pending" "in_progress" "approved" "approved_with_changes" "changes_required" "not_relevant"
      • can_comment boolean

        Whether the reviewer has permission to comment.

Entity.CreateApprovalFlowStageReviewer

Show schema
object

Reviewer input for creating an approval flow stage.

  • email string

    Email address of the reviewer.

    format email Email address
  • can_make_decision booleannullable

    Whether the reviewer can make approval decisions.

  • can_comment booleannullable

    Whether the reviewer can comment.

Entity.StageLock

Show schema
object

Lock settings for a stage.

  • type string

    Determines when the stage becomes locked.

    enum "manual" "on_completion" "all_dependent_stages_started" "next_stage_starts" "on_deadline"
  • next_stage_name stringnullable

    Name of the next stage (used with next_stage_starts lock type).

Entity.StageTriggerConfig

Show schema
object

Trigger configuration for when a stage starts.

  • type string

    Type of trigger that determines when the stage starts.

    enum "immediately" "manual" "on_completion" "on_approved" "on_approved_or_approvedwithchanges" "deadline_reached" "on_changes_required"
  • parent_stage_name string

    Name of the parent stage (required when type is on_completion, on_approved, on_approved_or_approvedwithchanges, or on_changes_required).

  • or_deadline boolean

    If true, stage starts when trigger condition OR parent stage deadline is reached. Works with all types except immediately, manual, and deadline_reached.

    default false

Entity.StageTriggerDeadline

Show schema
object

Deadline configuration for a stage.

  • days integernullable

    Number of business days (max 100).

    max 100
  • hours integernullable

    Number of hours.

  • time stringnullable

    UTC time for the deadline.

Entity.StageTrigger

Show schema
object

Configuration for when and how a stage starts.

  • trigger Entity.StageTriggerConfig

    Trigger configuration for when a stage starts.

    ShowHide child attributes of trigger
    • type string

      Type of trigger that determines when the stage starts.

      enum "immediately" "manual" "on_completion" "on_approved" "on_approved_or_approvedwithchanges" "deadline_reached" "on_changes_required"
    • parent_stage_name string

      Name of the parent stage (required when type is on_completion, on_approved, on_approved_or_approvedwithchanges, or on_changes_required).

    • or_deadline boolean

      If true, stage starts when trigger condition OR parent stage deadline is reached. Works with all types except immediately, manual, and deadline_reached.

      default false
  • deadline Entity.StageTriggerDeadlinenullable

    Deadline configuration for a stage.

    ShowHide child attributes of deadline
    • days integernullable

      Number of business days (max 100).

      max 100
    • hours integernullable

      Number of hours.

    • time stringnullable

      UTC time for the deadline.

Entity.CreateApprovalFlowStage

Show schema
object

Stage input for creating an approval flow.

  • name string

    Name of the stage.

  • final_status_calculation Entity.ProofStageFinalStatusCalculation

    Final status calculation method for the stage.

    ShowHide child attributes of final_status_calculation
    • type string

      Type of final status calculation.

      example "all_decisions"
      enum "all_decisions" "only_one_decision" "primary_decision_maker"
    • reviewer_id string

      Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

      format uuid UUID
    • reviewer_email string

      Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

      format email Email address
  • reviewers Entity.CreateApprovalFlowStageReviewer[]

    List of reviewers for this stage.

    ShowHide child attributes of reviewers
    Items Entity.CreateApprovalFlowStageReviewer

    Reviewer input for creating an approval flow stage.

    • email string

      Email address of the reviewer.

      format email Email address
    • can_make_decision booleannullable

      Whether the reviewer can make approval decisions.

    • can_comment booleannullable

      Whether the reviewer can comment.

  • lock Entity.StageLocknullable

    Lock settings for a stage.

    ShowHide child attributes of lock
    • type string

      Determines when the stage becomes locked.

      enum "manual" "on_completion" "all_dependent_stages_started" "next_stage_starts" "on_deadline"
    • next_stage_name stringnullable

      Name of the next stage (used with next_stage_starts lock type).

  • stage_trigger Entity.StageTriggernullable

    Configuration for when and how a stage starts.

    ShowHide child attributes of stage_trigger
    • trigger Entity.StageTriggerConfig

      Trigger configuration for when a stage starts.

      ShowHide child attributes of trigger
      • type string

        Type of trigger that determines when the stage starts.

        enum "immediately" "manual" "on_completion" "on_approved" "on_approved_or_approvedwithchanges" "deadline_reached" "on_changes_required"
      • parent_stage_name string

        Name of the parent stage (required when type is on_completion, on_approved, on_approved_or_approvedwithchanges, or on_changes_required).

      • or_deadline boolean

        If true, stage starts when trigger condition OR parent stage deadline is reached. Works with all types except immediately, manual, and deadline_reached.

        default false
    • deadline Entity.StageTriggerDeadlinenullable

      Deadline configuration for a stage.

      ShowHide child attributes of deadline
      • days integernullable

        Number of business days (max 100).

        max 100
      • hours integernullable

        Number of hours.

      • time stringnullable

        UTC time for the deadline.

Contract.CreateApprovalFlowRequestPayload

Show schema
object
  • name stringRequired

    Name of the approval flow.

  • stages Entity.CreateApprovalFlowStage[]Required

    A list of stages for the approval flow.

    ShowHide child attributes of stages
    Items Entity.CreateApprovalFlowStage

    Stage input for creating an approval flow.

    • name string

      Name of the stage.

    • final_status_calculation Entity.ProofStageFinalStatusCalculation

      Final status calculation method for the stage.

      ShowHide child attributes of final_status_calculation
      • type string

        Type of final status calculation.

        example "all_decisions"
        enum "all_decisions" "only_one_decision" "primary_decision_maker"
      • reviewer_id string

        Identifier of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format uuid UUID
      • reviewer_email string

        Email of the reviewer responsible for final status calculation (used when type is "primary_decision_maker").

        format email Email address
    • reviewers Entity.CreateApprovalFlowStageReviewer[]

      List of reviewers for this stage.

      ShowHide child attributes of reviewers
      Items Entity.CreateApprovalFlowStageReviewer

      Reviewer input for creating an approval flow stage.

      • email string

        Email address of the reviewer.

        format email Email address
      • can_make_decision booleannullable

        Whether the reviewer can make approval decisions.

      • can_comment booleannullable

        Whether the reviewer can comment.

    • lock Entity.StageLocknullable

      Lock settings for a stage.

      ShowHide child attributes of lock
      • type string

        Determines when the stage becomes locked.

        enum "manual" "on_completion" "all_dependent_stages_started" "next_stage_starts" "on_deadline"
      • next_stage_name stringnullable

        Name of the next stage (used with next_stage_starts lock type).

    • stage_trigger Entity.StageTriggernullable

      Configuration for when and how a stage starts.

      ShowHide child attributes of stage_trigger
      • trigger Entity.StageTriggerConfig

        Trigger configuration for when a stage starts.

        ShowHide child attributes of trigger
        • type string

          Type of trigger that determines when the stage starts.

          enum "immediately" "manual" "on_completion" "on_approved" "on_approved_or_approvedwithchanges" "deadline_reached" "on_changes_required"
        • parent_stage_name string

          Name of the parent stage (required when type is on_completion, on_approved, on_approved_or_approvedwithchanges, or on_changes_required).

        • or_deadline boolean

          If true, stage starts when trigger condition OR parent stage deadline is reached. Works with all types except immediately, manual, and deadline_reached.

          default false
      • deadline Entity.StageTriggerDeadlinenullable

        Deadline configuration for a stage.

        ShowHide child attributes of deadline
        • days integernullable

          Number of business days (max 100).

          max 100
        • hours integernullable

          Number of hours.

        • time stringnullable

          UTC time for the deadline.

Contract.CreateApprovalFlowResponse

Show schema
object
  • id string

    Unique identifier for the newly created approval flow.

Entity.ErrorMessage

Show schema
object
  • message string
    example "Approval flow not found."

Entity.ProofAssetInput

Show schema
object
  • asset_id stringRequired

    The unique Cloudinary asset ID of the uploaded asset.

    Retrieve this from the asset_id field in the upload response when you upload an asset to Cloudinary.

    example "7a9b3c5d8e2f4a6b9c1d3e5f7a9b2c4d"
  • asset_version integerRequired

    Version number of the asset.

    Retrieve this from the version field in the upload response. Each time an asset is overwritten, the version number changes.

    example 1728575234
  • source stringRequired

    The full delivery URL of the asset.

    Use the secure_url field from the upload response, or construct the delivery URL using your cloud name and asset public ID.

    format uri URIexample "https://res.cloudinary.com/demo/image/upload/sample.jpg"

Entity.ProofAsset

Show schema
object
  • asset_id string

    Cloudinary identifier of an asset.

    example "7a9b3c5d8e2f4a6b9c1d3e5f7a9b2c4d"
  • asset_version number

    Version of the asset.

    example 1728575234
  • source string

    URL source of the asset.

    format uri URI