Get Document Types By WorkflowId
Retrieves document types configured for a specific workflow, country, and step. This endpoint returns a filtered list of document types based on the workflow configuration and the specified country.
Use Cases
- Displaying available document types for a specific country
- Showing country-specific document subtypes
- Adapting your UI based on the document requirements for a country
Notes
- This endpoint doesnβt require authentication
- The response is filtered based on workflow configuration
- Only document types supported for the specified country are returned
- The step parameter allows targeting a specific verification step
Path Parameters
Unique identifier of the workflow. This is the ID of the verification workflow you've configured in the Urtentic Dashboard.
Query Parameters
ISO 3166-1 alpha-2 country code to filter document types. Only document types available for the specified country will be returned.
Workflow step index. This corresponds to the step in your multi-step verification workflow where document selection occurs.
x >= 0Response
List of configured document types
Internal identifier for the document type. Common document types:
- PASSPORT: International passport
- DRIVERS_LICENSE: Driver's license
- NATIONAL_ID: National ID card
- RESIDENCE_PERMIT: Residence permit
- VOTER_ID: Voter identification card
"PASSPORT"
Human-readable name of the document type
"International Passport"
List of required document sides/pages. Some documents require only the front side (like passports), while others require both front and back sides (like driver's licenses).
FRONT, BACK ["FRONT"]List of country-specific subtypes for this document. Different countries may have different document formats or requirements for the same document type.
[]