Autional Autional
API Reference GitHub autional.com →

POST /admin/verifications/providers

Create an identity verification provider configuration for a specified verification channel (OCR/Verify/Liveness), including priority and JSON configuration. After configuration, it can be used by the service to select a verification service provider.

Verification Service `bearerAuth` application/json

Request Body

Schema: gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.CreateProviderConfigRequest

FieldTypeRequiredExampleConstraintsDescription
channel string Yes enum: `ocr`, `verification`, `liveness`
config string Yes
provider string Yes
priority integer No

Responses

StatusDescriptionSchema
201Configuration created successfullydto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_ProviderConfigResponse
400Invalid request parametersdto.SimpleResponse
401Unauthenticated or invalid tokendto.SimpleResponse
403Insufficient permissionsdto.SimpleResponse
404Resource not founddto.SimpleResponse
500Internal server errordto.SimpleResponse

Referenced Schemas

dto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_ProviderConfigResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.ProviderConfigResponse No
message string No
timestamp string No

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.ProviderConfigResponse

FieldTypeRequiredExampleConstraintsDescription
app_id string No
channel string No
created_at string No
id string No
is_active boolean No
priority integer No
provider string No
tenant_id string No
updated_at string No