| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

This endpoint provides a link for an employee to complete the appropriate W4 for the given jurisdiction.

**Note: you may only generate this W4 link if the employee has been onboarded.**

### Parameters

- **companyID**  
   *Type:* string  
   *Required:* Yes  
   ID of the Employee being updated

- **employeeID**  
   *Type:* string  
   *Required:* Yes  
   ID of the Employee being updated

- **jurisdiction**  
   *Type:* string  
   *Required:* Yes  
   Jurisdiction for W4 (can be "US" or any state abbreviation)

- **send_to_worker**  
   *Type:* boolean  
   *Defaults to:* false  
   If true, notification email will be sent to employee

### Response Codes

- **200**  
  Success
- **400**  
  Bad Request

### Example Request

```bash
curl --request POST \
     --url https://api.zeal.com/employees/w4 \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "send_to_worker": false
}'
```

### Example Response

```json
{
  "status": "success",
  "message": "W4 link generated"
}
```
