Create one or multiple documentTypes
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Document Type DTO Input
Fields Definition
uuid
string^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$companyUuid
string^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$name
stringrequiredcategory
stringenum requiredCustom Identity
- Documents
- Medical & Health
- Insurance & Compliance
- Employment & Administrative
- Training & Certifications
- Vehicle & Transportation
- Professional Licences
description
stringrequiredfields
array of objectsrequired
Fields Array Structure
expirableFieldUuid
string | nullrequired^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$startDateFieldUuid
string | null^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$forceExpirationInDays
number | nullforceExpirationUnits
stringenumdays
- months
- years
isAutoApprovalEnabled
booleanrequiredtrue/falseisFraudDetectionEnabled
booleanrequiredtrue/falsedoubleSidedEnabled
booleantrue/falserecollectionPeriodDays
numberrequiredexternalProcessingUrl
stringexternalProcessingAuthHeader
stringinstructions
stringenabledOcrProvider
string | nullenumbase64
- claude
- openai
- pulse
- dibby
ocrConfidenceThreshold
number | nullrequired0 to 1ocrProviderConfigs
object | nullenabledFraudDetectionProvider
string | nullenumopenai
fraudDetectionProviderConfigs
object | nullhireMapping
objectautoRejectionConfig
objectuseProxyImage
booleantrue/falseacceptedFileTypes
array of stringsAllowed:pdf
- png
- jpg
createdAt
date-timecreatedBy
string^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$updatedAt
date-timeupdatedBy
string^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$
Example
curl --request POST \
--url https://services.fountain.com/api/servicecompliancev2/documentTypes \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '\
{\
"category": "custom",\
"isAutoApprovalEnabled": true,\
"isFraudDetectionEnabled": true\
}\
'```
### Responses
- **201**
One or many document types documents created.
- **500**
Default error response.
Updated 3 months ago.