Usage overview
Documents
last 30 days
In review
awaiting expert
Avg turnaround
Managed AI docs
Quota used
Recent documents
Upload documents
More optionsDrag and drop files here
PDF, images, Word, Excel, HTML or text, up to 50 MB each
Processing Activity
Instant AI vs Managed AI · by weekTop document types
API Guide
Full API docsSubmit a document, then fetch its results with the photon key.
1
Submit a document
POST
/api/pro
curl --location --request POST \
'https://sandbox-api.photoncommerce.com/api/pro?url=<file-url>&doctype=<doctype>&webhook_url=<webhook-url>&ID=<your-id>' \
--header 'CLIENT-ID: <client-id>' \
--header 'SECRET-KEY: <secret-key>' \
--header 'PASSWORD: <password>' \
--header 'AUTHORIZATION: apikey <username>:<api-key>'
import requests
url = "https://sandbox-api.photoncommerce.com/api/pro"
params = {
"url": "<file-url>",
"doctype": "<doctype>",
"webhook_url": "<webhook-url>",
"ID": "<your-id>",
}
headers = {
"CLIENT-ID": "<client-id>",
"SECRET-KEY": "<secret-key>",
"PASSWORD": "<password>",
"AUTHORIZATION": "apikey <username>:<api-key>",
}
response = requests.post(url, params=params, headers=headers)
print(response.json())
const axios = require('axios');
const url = 'https://sandbox-api.photoncommerce.com/api/pro';
const params = {
url: '<file-url>',
doctype: '<doctype>',
webhook_url: '<webhook-url>',
ID: '<your-id>',
};
const headers = {
'CLIENT-ID': '<client-id>',
'SECRET-KEY': '<secret-key>',
'PASSWORD': '<password>',
'AUTHORIZATION': 'apikey <username>:<api-key>',
};
axios.post(url, null, { params, headers })
.then((response) => console.log(response.data))
.catch((error) => console.error(error));
2
Check status and results
GET
/api/v4/json
curl --location 'https://sandbox-api.photoncommerce.com/api/v4/json?photon_key=<photon-key>' \
--header 'CLIENT-ID: <client-id>' \
--header 'SECRET-KEY: <secret-key>' \
--header 'PASSWORD: <password>' \
--header 'AUTHORIZATION: apikey <username>:<api-key>'
import requests
url = "https://sandbox-api.photoncommerce.com/api/v4/json"
params = {"photon_key": "<photon-key>"}
headers = {
"CLIENT-ID": "<client-id>",
"SECRET-KEY": "<secret-key>",
"PASSWORD": "<password>",
"AUTHORIZATION": "apikey <username>:<api-key>",
}
response = requests.get(url, params=params, headers=headers)
print(response.json())
const axios = require('axios');
const url = 'https://sandbox-api.photoncommerce.com/api/v4/json';
const headers = {
'CLIENT-ID': '<client-id>',
'SECRET-KEY': '<secret-key>',
'PASSWORD': '<password>',
'AUTHORIZATION': 'apikey <username>:<api-key>',
};
axios.get(url, { params: { photon_key: '<photon-key>' }, headers })
.then((response) => console.log(response.data))
.catch((error) => console.error(error));
Custom Add-On Features
Photon Commerce offers flexible add-ons that help teams scale document processing, customize workflows, and meet enterprise requirements as your needs grow.