Async API Webhook
To get the status of the document you submitted
Last updated
To get the status of the document you submitted
Last updated
To get updates on the status of the document you submitted, you can create a webhook using any external services that sends a POST request to the endpoint '/webhook' using your credentials and the photon_key of the document.
POST
https://api.photoncommerce.com/webhook
Retrieves the status of a specific document - if it is being processed or has already been processed.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
In case the document is still being processed, Photon will return the following as the response: {"message": "The document you submitted is being processed.", "status": "success"}
photon_key
string
The name of the JSON file
PASSWORD
string
The password for each account
SECRET-KEY
string
The secret key for each account
CLIENT-ID
string
Unique Client ID for each account
AUTHORIZATION
string
Pass your username and unique API key in the form "apikey <your-username>:<your api key>"