Panorays Public API
papi (2)
The type/source of the file being uploaded
Optional folder ID to organize uploaded files
Optional segment ID to associate files with a specific segment
Optional supplier ID to associate files with a specific supplier
Optional custom display name for the uploaded file(s). For multiple files, provide multiple display_name parameters (e.g., display_name=Name1&display_name=Name2). Order must match file order. Note: The number of files with custom display names may be limited by query string length restrictions.
Files to upload (supports single or multiple files)
- Mock serverhttps://panorays-papi-v2-documentation.redocly.app/_mock/swagger/v2/files/upload
- https://api.panoraysapp.com/v2/files/upload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://panorays-papi-v2-documentation.redocly.app/_mock/swagger/v2/files/upload?type=inquiry&folder_id=507f1f77bcf86cd799439011&segment_id=507f1f77bcf86cd799439011&supplier_id=507f1f77bcf86cd799439011&display_name=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F files=string[ { "_id": "507f1f77bcf86cd799439011", "filename": "BI_Document_2024.pdf" } ]
- Mock serverhttps://panorays-papi-v2-documentation.redocly.app/_mock/swagger/v2/files/{fileId}
- https://api.panoraysapp.com/v2/files/{fileId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://panorays-papi-v2-documentation.redocly.app/_mock/swagger/v2/files/{fileId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock serverhttps://panorays-papi-v2-documentation.redocly.app/_mock/swagger/v2/suppliers/{supplierId}/files
- https://api.panoraysapp.com/v2/suppliers/{supplierId}/files
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://panorays-papi-v2-documentation.redocly.app/_mock/swagger/v2/suppliers/{supplierId}/files?limit=200&sortBy=string&sortDirection=ASC&next_token=string&origin=businessInformation&fields=added_by'[ { "origin": "businessInformation", "type": "jpg", "filename": "string", "id": "string", "added_by": "string" } ]
Getting Started
The following steps will walk you through the process of registering and reacting to webhooks.
If you don’t already have an API token, you can generate one through Panorays platform or contact Panorays Support at support@panorays.com.
Before you can start receiving events, register your application with Panorays using the Handshake API call.
You will only receive event calls for events you subscribe to using the Subscribe API call.
Note: You can unsubscribe at any time using the Unsubscribe API call.
You're done! From now on, you will receive notifications for every event you subscribed to.
To learn how to secure your app and ensure you handle events only from Panorays, read about Verifying requests.