Last updated 6 months ago
OK
const response = await fetch('/kyc-forms/{kycFormId}', { method: 'GET', headers: { "Authorization": "Bearer jwt" }, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "scope": "number", "countryCode": "text", "status": "draft", "defaultLocale": [ "en", "pt-BR" ], "questions": [ { "locale": "text", "questions": [ { "type": "stringArray", "key": "text", "description": "text", "placeholder": "text", "displayName": "text", "required": false, "format": "none", "conditions": [ { "key": "text", "value": "text" } ], "options": [ { "key": "text", "value": "text" } ], "timezone": "text" } ] } ], "createdAt": "2024-12-21T12:00:24.564Z", "updatedAt": "2024-12-21T12:00:24.564Z" }