Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
List All Documents For A Workflow
This is to list all available processed documents for a workflow.
Required Scope
x-api-key
Responses
 api success icon
200
Down Arrow

{

    "message": "documents fetched successfully",

    "data": [

        {

            "userId": "652d3aacf9ea579718f2e437",

            "original_file_name": "finaks_2pages.pdf",

            "Edited": false,

            "Extracted": true,

            "EditedAt": "2024-07-18T10:16:34.910Z",

            "CreatedAt": "2024-07-18T10:16:34.910Z",

            "_id": "6698eb82efaaa03c18ae9dd8",

            "rottenDays": 4

        },

        {

            "userId": "652d3aacf9ea579718f2e437",

            "original_file_name": "Finaks.pdf",

            "Edited": true,

            "Extracted": true,

            "EditedAt": "2024-07-19T05:31:54.451Z",

            "CreatedAt": "2024-07-18T10:16:35.148Z",

            "_id": "6698eb83efaaa03c18ae9dd9",

            "rottenDays": null

        }

   ]

}

 api error icon
401

{

    "message": "document not processed, document type not supported!"

}

 api error icon
403
Down Arrow
 api error icon
404

{

    "message": "documents not found!"

}

 api error icon
500

{

    "detail": "error fetching documents"

}

Language
Authorization
x-api-key
Introduction questionmark image
Bearer open lock iconBearer lock icon
token is required
documentId is required
workflowId is required
file upload
Upload File
document is required
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Library
Curl Request
Down Arrow

  • curl --request GET \
  • --url https://api.webflow.com/v2/token autho
  • --header 'accept: application/json'
Response
 api success icon api error icon
200
 api success icon
200
Example
Down Arrow
  • {
  • "id": "545bbecb7bdd6769632504a7",
  • "email": "some@email.com",
  • "firstName": "Some",
  • "lastName": "One",
  • }