> For the complete documentation index, see [llms.txt](https://docs.tasksource.io/api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tasksource.io/api-documentation/user/requestdeveloperverification.md).

# requestDeveloperVerification

### Input parameters

* UserUID

### How to call from app

HTTP request to: /reqest-Developer-verification

### Logic

1. The frontend (app.tasksource.io) calls the API
2. validate if the following fields in the user Document are not empty:&#x20;

* country
* allowPublicViewingOfProfile (boolean)
* allowGeneralPrivacyPolicy (boolean)
* termsAndConditionsAgreement (boolean)
* postalCode
* lastName
* firstName
* city
* skills (array != empty)
* languageSkills (array != empty)
* githubUrl
* linkedinUrl
* streetAddress
* email
* legalInvoiceInformation
* bankInformation
* profileImage

1. <mark style="color:red;">**If field is invalid**</mark>&#x20;

   &#x20;      <mark style="color:red;">**return name of the field with error**</mark>&#x20;
2. <mark style="color:green;">**If all fields are valid do:**</mark>
   1. add a field to the user: hasRequestedVerification: true
   2. Send email:
      1. to\_email\_adress = "user\_email"
      2. template\_name = "request-developer-verification->us"
      3. data = {}
