CredflareDevelopersOpen dashboard

Photos and uploads

Each document requirement has a capture choice. The choice is copied onto new verification cases.

ChoiceThe applicant provides, for each requested side
File uploads (upload)A saved file.
Photo or file (snapshot_or_upload)A camera photo or a saved file.
Camera photos (snapshot)A photo taken with the camera.
Photo and file (snapshot_and_upload)A camera photo and a separate saved file.

The older value either is still accepted and is saved as snapshot_or_upload. The older camera_only value is not supported. Applications cannot collect a document that still uses it.

Configure a profile

In the profile editor, add documents and choose how to provide each one. A document in a group can have a different choice from the other documents in that group.

Management API callers set document_requirements[].capture_method for a standalone requirement. For grouped requirements, set requirement_groups[].capture_methods to an object mapping the selected document type IDs to one of the four choices. Keys must belong to that group's document_type_ids.

The public verification response includes profile.document_requirements[].capture_method. Use the requirement's value rather than the global document type's default.

Existing cases

Changing a profile changes future requests. Existing cases retain their capture choices. Published workflow versions retain the choices from publication. A workflow set to upload-only restricts every document to uploads; a photo or file workflow still respects an individual upload-only requirement. A requester must make an explicit case amendment to add requirements.

What a camera photo proves

Taking a photo in a browser does not prove it came from a physical camera. Browser code and client capture flags can be changed, and a virtual camera can supply a recording. Document capture does not certify freshness, liveness, or deepfake resistance.

Selfies are taken in a server-issued liveness challenge. It limits the time window and gives the reviewer a frame of each gesture, but it has the same limits: it is not proof of a live person and does not detect deepfakes.

The API records the photo source the applicant's device reports. It does not treat that report as proof of a live person. See what a receipt means.

File limits

Read data.upload_limits from the public request. It contains max_file_size_bytes, allowed_file_types, and max_uploads_per_requirement. The API applies the workspace and server limits. Neither a template nor a capture choice bypasses them.