API Documentation
  • 🦸User
    • 🐔requestDeveloperVerification
    • ☑️Accept Developer verification
    • 🚫Reject developer verification
    • 🆕NEW Authentication Trigger
  • 📧Send emails
  • 📂Projects
    • 📩Invite a new Team member
  • 📔Tasks
    • 💣Cancel Task
    • 🔎Submit task
    • 👨‍💻Assign Task
  • Step 1 taskflow
    • ✅Accept task
    • ❌Reject task
    • ⏳Deadline reached
  • Step 2 taskflow
    • ✅Accept developer (creator)
    • ❌Reject developer (creator)
  • Step 3 taskflow
    • 🚦Submit for review
    • ⏳Review Deadline reached
    • ✅Accept work result
    • ❌Reject work result
  • Step 4 Taskflow
    • 💸Generate Invoice
    • 💸Mark invoice as paid
Powered by GitBook
On this page
  • Input parameters
  • How to call from app
  • Logic
  1. User

requestDeveloperVerification

TODO @lukas

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:

  • 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. If field is invalid

    return name of the field with error

  2. If all fields are valid do:

    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 = {}

PreviousUserNextAccept Developer verification

Last updated 2 years ago

🦸
🐔