The Photon Admin API.
Use the API to manage the people you invite and retrieve finished portraits for your card-production workflow. It automates the actions available in the admin dashboard, with token authentication and scoped access. Interactive documentation is available in the Photon admin console.
Available on every Photon edition: Lite, Business and Enterprise. Enterprise adds bespoke integration.
See it work
The admin console and the API, in forty-two seconds
See how to invite a workforce in one click, collect validated portraits and retrieve them for card production through the same API.
Authentication
1 endpointAccess is OAuth2: obtain an access token and present it on every request.
- POST
/auth/tokenObtain an access token
API keys are created and managed by your administrators in the Photon admin console, under Settings, API Keys.
Photos
5 endpointsRetrieve finished portraits one at a time or as a bulk ZIP, and delete photos when your retention rules say so.
- GET
/photosList photos - GET
/photos/{identifier}Download a single photo - DELETE
/photos/{identifier}Delete a user's photos - POST
/photos/bulk-downloadBulk download photos as a ZIP - POST
/photos/bulk-deleteBulk delete photos
Users
10 endpointsCreate users individually or in bulk so they can submit a photo. Enable, disable or remove them as your population changes.
- GET
/usersList users - POST
/usersCreate a user - POST
/users/bulkBulk create users - GET
/users/{identifier}Get a user by identifier - DELETE
/users/{identifier}Delete a user - POST
/users/{identifier}/enableEnable a user - POST
/users/{identifier}/disableDisable a user - POST
/users/bulk-enableBulk enable users - POST
/users/bulk-disableBulk disable users - POST
/users/bulk-deleteBulk delete users
The full interactive reference, including request and response schemas, is in the Photon admin console under Settings, API Docs.
Test a photo, then automate the rest.
Run a sample photo through the checks in your browser, then compare editions when you are ready.