Get an API Key launch

API Previewer

  • All requests must be https POST
  • All requests must use the body in the POST
  • All requests must use the form-data option
  • By default, responses will be in XML
  • For JSON responses include in the header Accept: application/json
  • Response status codes basically follow RFC7231
  • Contact us for any help or request

Document

Get Documents
POST https://api-app.xtracta.com/v1/documents
(*) mandatory
(*1) one of them must be supplied

* If passing user's api key; pass 1 in any_user_documents to get the documents uploaded by any user, pass 0 to get only the documents uploaded by the current user.

Update Document
POST https://api-app.xtracta.com/v1/documents/update
(*) mandatory

The parameter user_email has higher priority than param user_id.

Upload Document
POST https://api-app.xtracta.com/v1/documents/upload
(*) mandatory
The file to upload - If you do not attach the file, the API will return a URL to upload the file to. If multiple "userfile"s are uploaded, they will be merged into one PDF file before being processed. The maximum number of files that can be uploaded in a single request is 110, and the maximum request size is 110M.
If userfile is not specified, the API checks if you have provided an URL of the file. The additional files will be merged with the first file generating one big file for processing.
Uploaded files will not appear in Xtracta. This flag should be used with field_data parameter.

Open Document UI
POST https://api-app.xtracta.com/v1/documents/ui
(*) mandatory
api_download_status will be what you specified here after saving
(save,output,indexing,qa,reject,archive,delete,save_and_learn)

The parameter user_email has higher priority than param user_id.

Open Document Upload UI
POST https://api-app.xtracta.com/v1/documents/upload/ui
(*) mandatory

Open Reassign pages
POST https://api-app.xtracta.com/v1/documents/reassign_pages
(*) mandatory

Tracking

Get Tracking
POST https://api-app.xtracta.com/v1/tracking
(*) mandatory
(*1) one of them must be supplied

Update tracking status
POST https://api-app.xtracta.com/v1/tracking/resolve
(*) mandatory

Dashboard

Open Dashboard
POST https://api-app.xtracta.com/v1/documents/ui
(*) mandatory
Only lower letters, dash(-) and underscore(_) are used, spaces need to be replaced by underscore (e.g. po,invoice_gst_amount)
(save,output,indexing,qa,reject,archive,delete,save_and_learn)

Open Tracking Dashboard
POST https://api-app.xtracta.com/v1/tracking/ui
(*) mandatory
(*1) one of them must be supplied

Database

Get databases
POST https://api-app.xtracta.com/v1/databases
(*) mandatory

Add database
POST https://api-app.xtracta.com/v1/databases/add
(*) mandatory

Update database
POST https://api-app.xtracta.com/v1/databases/update/
(*) mandatory

Delete database
POST https://api-app.xtracta.com/v1/databases/delete
(*) mandatory

Get columns
POST https://api-app.xtracta.com/v1/databases/columns
(*) mandatory

Add column
POST https://api-app.xtracta.com/v1/databases/column_add
(*) mandatory

Update column
POST https://api-app.xtracta.com/v1/databases/column_update
(*) mandatory

Delete column
POST https://api-app.xtracta.com/v1/databases/column_delete
(*) mandatory

Get data
POST https://api-app.xtracta.com/v1/databases/data
(*) mandatory

Add data
POST https://api-app.xtracta.com/v1/databases/data_add
(*) mandatory

Update data
POST https://api-app.xtracta.com/v1/databases/data_update
(*) mandatory

Delete data
POST https://api-app.xtracta.com/v1/databases/data_delete
(*) mandatory
(*1) or (*2) must be supplied

Provisioning

Provision
POST https://api-app.xtracta.com/v1/provisioning/provision
Provisions a new "client" with a group, workflow(s) and/or database(s) based on the templates linked to the profile used.

(*) mandatory
(*1) one of them must be supplied
The name of the new group that will be created. Usually the client's name. Identifier will be used if this isn't specified.
The group in which the account will be provisioned. This will default to the top level for the API key or provisioning key if not passed. This is generally not required for most instances as the API/provisioning key are at the direct level you wish to provision under.

Billing

Get Plans
POST https://api-app.xtracta.com/v1/billings
(*) mandatory
(*1) one of them must be supplied

Get Usage
POST https://api-app.xtracta.com/v1/billings/usage
(*) mandatory

Get Billing History
POST https://api-app.xtracta.com/v1/billings/history
(*) mandatory

Renew/Upgrade/Downgrade Plan
POST https://api-app.xtracta.com/v1/billings/update
(*) mandatory

Order Pack
POST https://api-app.xtracta.com/v1/billings/booster
(*) mandatory

Open Billing UI
POST https://api-app.xtracta.com/v1/billings/billing_ui
(*) mandatory

Workflow

Get Workflow
POST https://api-app.xtracta.com/v1/workflow
(*) mandatory

Update Workflow
POST https://api-app.xtracta.com/v1/workflow/update
(*) mandatory

Add Workflow from template
POST https://api-app.xtracta.com/v1/workflow/add_from_template
(*) mandatory

Clone Workflow
POST https://api-app.xtracta.com/v1/workflow/clone
(*) mandatory

Group

Add group
POST https://api-app.xtracta.com/v1/group/add
(*) mandatory

List group
POST https://api-app.xtracta.com/v1/group/list
(*) mandatory

Delete group
POST https://api-app.xtracta.com/v1/group/delete
(*) mandatory

User

Get User
POST https://api-app.xtracta.com/v1/user
Get User
(*) mandatory

Add User
POST https://api-app.xtracta.com/v1/user/add
(*) mandatory
it will be generated and returned if not specified

Update User
POST https://api-app.xtracta.com/v1/user/update
(*) mandatory

Delete User
POST https://api-app.xtracta.com/v1/user/delete
(*) mandatory

Get login token
POST https://api-app.xtracta.com/v1/user/login_token
(*) mandatory

Authorize (Get user API key)
POST https://api-app.xtracta.com/v1/user/authorize
(*1) or (*2) must be supplied

Batches

Get Batches
POST https://api-app.xtracta.com/v1/batch
(*) mandatory

Create Batch
POST https://api-app.xtracta.com/v1/batch/create
(*) mandatory

Update Batch
POST https://api-app.xtracta.com/v1/batch/update
(*) mandatory

Get Batch workflow
POST https://api-app.xtracta.com/v1/batch/batchworkflow
(*) mandatory

Announcements

Get Announcements
POST https://api-app.xtracta.com/v1/announcement
(*) mandatory