Documents

List a document's approval rounds (newest first)

GET
/organizations/{organizationId}/documents/{documentId}/approval

Lists a document's approval rounds, newest first.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
documentId*string
Formatuuid

Query Parameters

status?string

Value in

  • "pending"
  • "approved"
  • "changes_requested"
  • "cancelled"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/approval"
{  "items": [    {      "id": "string",      "organizationId": "string",      "documentId": "string",      "status": "pending",      "requestedByUserId": "string",      "note": "string",      "tiers": [        {          "name": "string",          "approverUserIds": [            "string"          ],          "minApprovals": 1,          "decisions": [            {              "decidedByUserId": "string",              "verdict": "approve",              "comment": "string",              "decidedAt": null,              "property1": null,              "property2": null            }          ],          "property1": null,          "property2": null        }      ],      "dateCreated": null,      "dateUpdated": null,      "property1": null,      "property2": null    }  ],  "total": 0}