Logo

Dyzo API

v2.0.0

Employee Invitation

Complete Dyzo API Documentation - Project Management, Team Collaboration & Time Tracking Platform

API Overview

Capabilities and features

Invite new employees to join your company via email or add them directly.

Key Features

Send invitation emails with temporary credentials
Directly add employees without invitation
Track invitation status
Resend invitations if needed
POST
/invite/
200 OK

Send Employee Invitation

Invite one or more employees or clients to join the company. Prevents duplicate invitations and sends a secure invitation link via email.

JSONRequest Body
1{
3 "message": "You are invited to join our company.",
4 "companyId": 100,
5 "cname": 500 (inviter),
6 "projectIds": [12, 15],
7 "is_client": false
8}
POST
/api/send-invite-otp/
200 OK

Send Invitation OTP

Send OTP for employee invitation verification (alternative to email link).

JSONRequest Body
1{
2 "email": "[email protected]"
3}
POST
/employee/add/
200 OK

Add Employee Directly

Directly add an employee to company without sending invitation email. Admin only. Employee receives credentials via email.

JSONRequest Body
1{
2 "first_name": "Michael",
3 "last_name": "Johnson",
4 "email": "[email protected]",
5 "password": "TempPass123!",
6 "phone": "+1234567891",
7 "designation": "Full Stack Developer",
8 "department": "Engineering",
9 "companyId": 100,
10 "salary": 85000,
11 "joinDate": "2024-11-01",
12 "isAdmin": false
13}