Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Upload Document
This is to upload your own document for processing.
Required Scope
x-api-key
Responses
 api success icon
200
Down Arrow

{

    "message": "document processed successfully",

    "data": {

        "DocumentId": "669e28257b1e1d4e802ca647",

        "documentType": "Invoice",

        "workflowId": "66793f4ea45c0347a572d0b1",

        "userId": "652d3aacf9ea579718f2e437",

        "companyId": "652d3aacf9ea579718f2e430",

        "fileUrl": "https://uploaded-documents-v2.s3.ap-south-1.amazonaws.com/documents/Invoice-1685259299-2024-07-22_09:36:37.706825.png",

        "model_name": "Invoice",

        "modelId": "6770038b-8ea9-43e4-923e-8c2c621daf08"

    }

}

 api error icon
401
 api error icon
403
Down Arrow

{

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

}

{

    "message": "Document type not allowed for your subscription plan. or Monthly usage limit exceeded for this document type.!"

}

 api error icon
404

{

    "message": "workflow not found!"

}

 api error icon
500

{

    " detail": "error processing document"

}

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",
  • }