Rowland LogoRowland
API Reference

Upload File

POST
/v0/documents

Header Parameters

x-api-key?X-Api-Key

API key optional

fileFile

Document file (max 50MB)

Formatbinary
user_id?User Id
organization_id?Organization Id

Organization ID (optional)

folder_id?Folder Id
webhook_url?Webhook Url

URL to receive processing completion webhook

webhook_secret?Webhook Secret

Secret for webhook signature verification

Response Body

curl -X POST "https://loading/v0/documents" \
  -H "x-api-key: string" \
  -F file="string"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
  "s3_key": "string",
  "file_size": 0,
  "mime_type": "string",
  "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
  "owner_organization_id": "f4a18a38-dd66-4b07-bb7e-c9352ded3c33",
  "summary": "string",
  "status": "queued",
  "document_type": "affidavit",
  "flagged_by_user": true,
  "user_notes": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}
{
  "error": "string",
  "details": [
    {
      "code": "string",
      "message": "string",
      "field": "string"
    }
  ]
}
{
  "error": "string",
  "details": [
    {
      "code": "string",
      "message": "string",
      "field": "string"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
{
  "error": "string",
  "details": [
    {
      "code": "string",
      "message": "string",
      "field": "string"
    }
  ]
}