Last updated 5 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-11-14T09:32:47.485Z", "updatedAt": "2024-11-14T09:32:47.485Z" }