> This page is for API, version 2026-01-01 (Stable) (default).
> For other versions, use one of these documentation indexes:
> - 2026-01-01 (Stable) (default): https://developer.deel.com/api/stable/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.deel.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.deel.com/_mcp/server.

# List tax forms for the authenticated worker

GET https://api.letsdeel.com/rest/workers/tax-forms

List the tax forms of the worker resolved from the access token, ordered by creation date descending, using cursor pagination (limit + cursor). Each item contains the resource fields (id, created_at, updated_at, client_legal_entity_id, pdf_url) and the full form data in the same public shape the create endpoint accepts; the fields present depend on the item's form_type. Each form appears once, carrying its current data. Tax identification numbers are unmasked because the authenticated worker owns the data.

 **Token scopes**: `worker:read`

Reference: https://developer.deel.com/api/reference/endpoints/workers/list-tax-forms-for-a-worker-v-2026-01-01

## Authentication

- `Authorization` header (bearer token, required) — ## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
- `Authorization` header (bearer token, required) — Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

## Servers

- `https://api.letsdeel.com/rest` (Production, default)
- `https://api-staging.letsdeel.com/rest` (Demo)

## Request

### Query parameters

- `limit` (integer, optional, default: 20) — Maximum number of tax forms to return per page (1-100).
- `cursor` (string, optional) — Opaque pagination cursor returned as next_cursor by a previous page. Omit to fetch the first page.

## Response

### 200

A page of the worker's tax forms.

- `data` (list of WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItems, required) — The worker's tax forms, newest first.
- `has_more` (boolean, required) — Whether more tax forms exist beyond this page.
- `next_cursor` (string, required, nullable) — Cursor to pass as the cursor query parameter to fetch the next page. Null when has_more is false.
- `total_count` (integer, required) — Total number of the worker's tax forms across all pages.

## Errors

### 400 Bad Request Error

Validation failed — for example the cursor is malformed or the limit is out of range.

- `errors` (list of WorkersTaxFormsGetResponsesContentApplicationJsonSchemaErrorsItems, optional)

### 401 Unauthorized Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 403 Forbidden Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 404 Not Found Error

The authenticated worker was not found in the calling organization, or has no contractor profile.

- `errors` (list of WorkersTaxFormsGetResponsesContentApplicationJsonSchemaErrorsItems, optional)

### 500 Internal Server Error

Internal server error.

- `errors` (list of WorkersTaxFormsGetResponsesContentApplicationJsonSchemaErrorsItems, optional)

## Types

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItems

- `form_type`: `W9_INDIVIDUAL` (W9_INDIVIDUAL)
  - `client_legal_entity_id` (string, required) — Public ID of the client's legal entity the form was submitted against.
  - `created_at` (string, required) — Timestamp of when the tax form was created.
  - `id` (string, required) — The public ID (UUID) of the tax form.
  - `updated_at` (string, required) — Timestamp of when the tax form was last updated.
  - `address` (string, optional) — Street address of permanent residence.
  - `business_name` (string, optional, nullable) — Business name. Present on W9_COMPANY forms and disregarded-entity W9_INDIVIDUAL forms.
  - `city` (string, optional, nullable) — City name.
  - `contractor_signature` (string, optional) — The signer's digital signature.
  - `country` (string, optional) — ISO 3166-1 alpha-2 country code of permanent residence.
  - `first_name` (string, optional) — Legal first name. Present on W9_INDIVIDUAL and W8_BEN forms.
  - `is_disregarded_entity` (boolean, optional) — Whether this is a disregarded entity. Present on W9_INDIVIDUAL and W8_BEN forms.
  - `is_subject_backup_withholding` (boolean, optional) — Whether the contractor is subject to backup withholding. Present on W-9 forms.
  - `last_name` (string, optional) — Legal last name. Present on W9_INDIVIDUAL and W8_BEN forms.
  - `middle_name` (string, optional) — Legal middle name. Present on W9_INDIVIDUAL and W8_BEN forms.
  - `pdf_url` (string, optional, nullable) — Pre-signed download URL for the generated form PDF. The link expires about 15 minutes after the response is issued — download promptly or request the list again. Null while the PDF has not been generated yet.
  - `state` (string, optional, nullable) — State or province code.
  - `tax_number` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf0TaxNumber, optional) — Taxpayer identification number. Returned unmasked.
  - `zip_code` (string, optional) — ZIP/postal code.
- `form_type`: `W9_COMPANY` (W9_COMPANY)
  - `client_legal_entity_id` (string, required) — Public ID of the client's legal entity the form was submitted against.
  - `created_at` (string, required) — Timestamp of when the tax form was created.
  - `id` (string, required) — The public ID (UUID) of the tax form.
  - `updated_at` (string, required) — Timestamp of when the tax form was last updated.
  - `address` (string, optional) — Street address of permanent residence.
  - `business_name` (string, optional, nullable) — Business name. Present on W9_COMPANY forms and disregarded-entity W9_INDIVIDUAL forms.
  - `city` (string, optional, nullable) — City name.
  - `contractor_signature` (string, optional) — The signer's digital signature.
  - `country` (string, optional) — ISO 3166-1 alpha-2 country code of permanent residence.
  - `doing_business_as` (string, optional, nullable) — DBA name. Present on W9_COMPANY forms.
  - `federal_tax_classification` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf1FederalTaxClassification, optional) — Federal tax classification. Present on W9_COMPANY forms.
  - `is_subject_backup_withholding` (boolean, optional) — Whether the contractor is subject to backup withholding. Present on W-9 forms.
  - `pdf_url` (string, optional, nullable) — Pre-signed download URL for the generated form PDF. The link expires about 15 minutes after the response is issued — download promptly or request the list again. Null while the PDF has not been generated yet.
  - `state` (string, optional, nullable) — State or province code.
  - `tax_number` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf1TaxNumber, optional) — Taxpayer identification number. Returned unmasked.
  - `zip_code` (string, optional) — ZIP/postal code.
- `form_type`: `W8_BEN` (W8_BEN)
  - `client_legal_entity_id` (string, required) — Public ID of the client's legal entity the form was submitted against.
  - `created_at` (string, required) — Timestamp of when the tax form was created.
  - `id` (string, required) — The public ID (UUID) of the tax form.
  - `updated_at` (string, required) — Timestamp of when the tax form was last updated.
  - `address` (string, optional) — Street address of permanent residence.
  - `address_line2` (string, optional, nullable) — Street address line 2. Present on W8_BEN and W8_BEN_E forms.
  - `city` (string, optional, nullable) — City name.
  - `contractor_signature` (string, optional) — The signer's digital signature.
  - `country` (string, optional) — ISO 3166-1 alpha-2 country code of permanent residence.
  - `country_of_citizenship` (string, optional) — ISO 3166-1 alpha-2 country code of citizenship (W8_BEN) or incorporation (W8_BEN_E).
  - `date_of_birth` (string, optional, nullable) — Date of birth. Present on W8_BEN and W8_BEN_E forms.
  - `first_name` (string, optional) — Legal first name. Present on W9_INDIVIDUAL and W8_BEN forms.
  - `is_certified_and_agreed` (boolean, optional, nullable) — Certification that the signer has read and agrees with the certification information. Present on W8_BEN forms.
  - `is_disregarded_entity` (boolean, optional) — Whether this is a disregarded entity. Present on W9_INDIVIDUAL and W8_BEN forms.
  - `is_ftin_not_legally_required` (boolean, optional) — Whether an FTIN is not legally required in the country of residence. Present on W-8 forms.
  - `is_tax_treaty_enabled` (boolean, optional, nullable) — Whether tax treaty benefits are claimed. Present on W-8 forms.
  - `last_name` (string, optional) — Legal last name. Present on W9_INDIVIDUAL and W8_BEN forms.
  - `mailing_address` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf2MailingAddress, optional, nullable) — Mailing address if different from permanent residence. Present on W8_BEN and W8_BEN_E forms.
  - `middle_name` (string, optional) — Legal middle name. Present on W9_INDIVIDUAL and W8_BEN forms.
  - `pdf_url` (string, optional, nullable) — Pre-signed download URL for the generated form PDF. The link expires about 15 minutes after the response is issued — download promptly or request the list again. Null while the PDF has not been generated yet.
  - `print_name_of_signer` (string, optional, nullable) — Printed name of the signer. Present on W-8 forms.
  - `referencing_information` (string, optional, nullable) — Reference number for the form. Present on W-8 forms.
  - `state` (string, optional, nullable) — State or province code.
  - `tax_number` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf2TaxNumber, optional) — Foreign taxpayer identification number. Returned unmasked.
  - `tax_treaty_benefits_form` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf2TaxTreatyBenefitsForm, optional, nullable) — Tax treaty benefits details. Present when treaty benefits are claimed.
  - `us_tax_number` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf2UsTaxNumber, optional) — US Taxpayer Identification Number. Present on W8_BEN and W8_BEN_E forms. Returned unmasked.
  - `zip_code` (string, optional) — ZIP/postal code.
- `form_type`: `W8_BEN_E` (W8_BEN_E)
  - `client_legal_entity_id` (string, required) — Public ID of the client's legal entity the form was submitted against.
  - `created_at` (string, required) — Timestamp of when the tax form was created.
  - `id` (string, required) — The public ID (UUID) of the tax form.
  - `updated_at` (string, required) — Timestamp of when the tax form was last updated.
  - `address` (string, optional) — Street address of permanent residence.
  - `address_line2` (string, optional, nullable) — Street address line 2. Present on W8_BEN and W8_BEN_E forms.
  - `city` (string, optional, nullable) — City name.
  - `contractor_signature` (string, optional) — The signer's digital signature.
  - `country` (string, optional) — ISO 3166-1 alpha-2 country code of permanent residence.
  - `country_of_citizenship` (string, optional) — ISO 3166-1 alpha-2 country code of citizenship (W8_BEN) or incorporation (W8_BEN_E).
  - `date_of_birth` (string, optional, nullable) — Date of birth. Present on W8_BEN and W8_BEN_E forms.
  - `entity_country` (string, optional, nullable) — ISO 3166-1 alpha-2 country code of the entity. Present on W8_BEN_E forms.
  - `entity_type` (enum, optional) — Chapter 3 entity type. Present on W8_BEN_E forms.
    - Allowed values: `CORPORATION`, `DISREGARDED_ENTITY`, `PARTNERSHIP`, `SIMPLE_TRUST`, `GRANTOR_TRUST`, `COMPLEX_TRUST`, `ESTATE`, `GOVERNMENT`, `CENTRAL_BANK_OF_ISSUE`, `TAX_EXEMPT`, `PRIVATE_FOUNDATION`, `INTERNATIONAL`, `FOREIGN_GOVERNMENT_CONTROLLED`, `FOREIGN_GOVERNMENT_INTEGRAL`
  - `fatca_status` (enum, optional) — FATCA (Foreign Account Tax Compliance Act) status. Present on W8_BEN_E forms.
    - Allowed values: `ACTIVE_NFFE`, `PASSIVE_NFFE`
  - `giin` (string, optional, nullable) — Global Intermediary Identification Number. Present on W8_BEN_E forms.
  - `has_substantial_us_owner` (boolean, optional) — Whether the entity has a substantial US owner. Present on W8_BEN_E forms.
  - `is_entity_certification_confirmed` (boolean, optional, nullable) — Certification that the entity is the beneficial owner of all income. Present on W8_BEN_E forms.
  - `is_ftin_not_legally_required` (boolean, optional) — Whether an FTIN is not legally required in the country of residence. Present on W-8 forms.
  - `is_tax_treaty_enabled` (boolean, optional, nullable) — Whether tax treaty benefits are claimed. Present on W-8 forms.
  - `mailing_address` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf3MailingAddress, optional, nullable) — Mailing address if different from permanent residence. Present on W8_BEN and W8_BEN_E forms.
  - `name_of_disregarded_entity` (string, optional, nullable) — Name of the disregarded entity, if applicable. Present on W8_BEN_E forms.
  - `name_of_organization` (string, optional) — Name of the organization. Present on W8_BEN_E forms.
  - `pdf_url` (string, optional, nullable) — Pre-signed download URL for the generated form PDF. The link expires about 15 minutes after the response is issued — download promptly or request the list again. Null while the PDF has not been generated yet.
  - `print_name_of_signer` (string, optional, nullable) — Printed name of the signer. Present on W-8 forms.
  - `referencing_information` (string, optional, nullable) — Reference number for the form. Present on W-8 forms.
  - `state` (string, optional, nullable) — State or province code.
  - `tax_number` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf3TaxNumber, optional) — Foreign taxpayer identification number. Returned unmasked.
  - `tax_treaty_benefits_form` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf3TaxTreatyBenefitsForm, optional, nullable) — Tax treaty benefits details. Present when treaty benefits are claimed.
  - `us_tax_number` (WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf3UsTaxNumber, optional) — US Taxpayer Identification Number. Present on W8_BEN and W8_BEN_E forms. Returned unmasked.
  - `zip_code` (string, optional) — ZIP/postal code.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaErrorsItems

- `code` (string, optional) — Machine-readable error code
- `message` (string, optional) — Human-readable explanation of the error

### ApiErrorRequest

- `method` (string, optional) — The HTTP method of the failed request
- `url` (string, optional) — The relative URL of the failed request
- `status` (double, optional) — The status code of the response
- `api_req_id` (string, optional) — The request ID of the failed request
- `docs` (string, optional) — A link to the official documentation for the requested endpoint resource
- `source` (string, optional) — The source handler which produced the returned error
- `code` (double, optional) — The code of the source handler which produced the returned error

### ApiError

- `message` (string, optional) — A description of the returned error
- `path` (string, optional) — The JSON path where input validation failed

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf0TaxNumber

Taxpayer identification number. Returned unmasked.

- `type` (enum, optional) — Tax ID type.
  - Allowed values: `SSN`, `ITIN`, `EIN`
- `value` (string, optional) — Tax ID value, unmasked.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf1FederalTaxClassification

Federal tax classification. Present on W9_COMPANY forms.

- `type` (enum, optional) — Federal tax classification type.
  - Allowed values: `C_CORPORATION`, `S_CORPORATION`, `OTHER`, `PARTNERSHIP`, `LLC`, `TRUST_ESTATE`
- `llc_classification` (enum, optional) — LLC sub-classification. Present when type is 'LLC'.
  - Allowed values: `P`, `S`, `C`
- `other_additional_information` (string, optional) — Additional information. Present when type is 'OTHER'.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf1TaxNumber

Taxpayer identification number. Returned unmasked.

- `type` (enum, optional) — Tax ID type.
  - Allowed values: `SSN`, `ITIN`, `EIN`
- `value` (string, optional) — Tax ID value, unmasked.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf2MailingAddress

Mailing address if different from permanent residence. Present on W8_BEN and W8_BEN_E forms.

- `city` (string, optional, nullable) — Mailing address city.
- `state` (string, optional, nullable) — Mailing address state.
- `address` (string, optional) — Mailing address.
- `country` (string, optional) — ISO 3166-1 alpha-2 country code.
- `zip_code` (string, optional) — Mailing address ZIP/postal code.
- `address_line2` (string, optional, nullable) — Mailing address line 2.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf2TaxNumber

Foreign taxpayer identification number. Returned unmasked.

- `type` (enum, optional) — Tax ID type.
  - Allowed values: `FTIN`
- `value` (string, optional) — Tax ID value, unmasked.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf2TaxTreatyBenefitsForm

Tax treaty benefits details. Present when treaty benefits are claimed.

- `details` (string, optional) — Additional details about the treaty claim.
- `type_of_income` (string, optional) — Type of income covered by the treaty.
- `withholding_rate` (double, optional) — Withholding rate under the treaty (percentage).
- `article_and_paragraph` (string, optional) — Article and paragraph of the applicable tax treaty.
- `owner_resident_country` (string, optional) — Country of residence of the beneficial owner.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf2UsTaxNumber

US Taxpayer Identification Number. Present on W8_BEN and W8_BEN_E forms. Returned unmasked.

- `type` (enum, optional) — US tax ID type.
  - Allowed values: `SSN`, `ITIN`
- `value` (string, optional) — US tax ID value, unmasked.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf3MailingAddress

Mailing address if different from permanent residence. Present on W8_BEN and W8_BEN_E forms.

- `city` (string, optional, nullable) — Mailing address city.
- `state` (string, optional, nullable) — Mailing address state.
- `address` (string, optional) — Mailing address.
- `country` (string, optional) — ISO 3166-1 alpha-2 country code.
- `zip_code` (string, optional) — Mailing address ZIP/postal code.
- `address_line2` (string, optional, nullable) — Mailing address line 2.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf3TaxNumber

Foreign taxpayer identification number. Returned unmasked.

- `type` (enum, optional) — Tax ID type.
  - Allowed values: `FTIN`
- `value` (string, optional) — Tax ID value, unmasked.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf3TaxTreatyBenefitsForm

Tax treaty benefits details. Present when treaty benefits are claimed.

- `details` (string, optional) — Additional details about the treaty claim.
- `type_of_income` (string, optional) — Type of income covered by the treaty.
- `limitation_type` (enum, optional, nullable) — Limitation on benefits (LOB) type.
  - Allowed values: `GOVERNMENT`, `PENSION_TRUST`, `TAX_EXEMPT`, `PUBLICLY_TRADED_CORPORATION`, `SUBSIDIARY`, `OWNERSHIP_TEST`, `DERIVATIVE_TEST`, `ACTIVE_TRADE_TEST`, `FAVORABLE`, `NO_ARTICLE`, `OTHER`
- `withholding_rate` (double, optional) — Withholding rate under the treaty (percentage).
- `article_and_paragraph` (string, optional) — Article and paragraph of the applicable tax treaty.
- `owner_resident_country` (string, optional) — Country of residence of the beneficial owner.
- `is_tax_residency_certified` (boolean, optional, nullable) — Whether tax residency is certified.
- `other_article_and_paragraph` (string, optional, nullable) — Other article and paragraph. Present when limitation_type is 'OTHER'.

### WorkersTaxFormsGetResponsesContentApplicationJsonSchemaDataItemsOneOf3UsTaxNumber

US Taxpayer Identification Number. Present on W8_BEN and W8_BEN_E forms. Returned unmasked.

- `type` (enum, optional) — US tax ID type.
  - Allowed values: `SSN`, `ITIN`
- `value` (string, optional) — US tax ID value, unmasked.

## Examples

**Response**

```json
{
  "data": [
    {
      "form_type": "W9_INDIVIDUAL",
      "client_legal_entity_id": "00000000-0000-0000-0000-000000000000",
      "created_at": "2026-01-15T12:00:00.000Z",
      "id": "00000000-0000-0000-0000-000000000000",
      "updated_at": "2026-01-15T12:00:00.000Z",
      "address": "123 Main Street",
      "business_name": "Acme Corp",
      "city": "New York",
      "contractor_signature": "John Doe",
      "country": "US",
      "first_name": "John",
      "is_disregarded_entity": false,
      "is_subject_backup_withholding": false,
      "last_name": "Doe",
      "middle_name": "Michael",
      "pdf_url": "https://files.deel.com/download/abc123",
      "state": "NY",
      "tax_number": {
        "type": "SSN",
        "value": "219-09-9999"
      },
      "zip_code": "10001"
    }
  ],
  "has_more": false,
  "next_cursor": "eyJpZCI6MTIzfQ",
  "total_count": 3
}
```

**SDK Code**

```python
import requests

url = "https://api.letsdeel.com/rest/workers/tax-forms"

querystring = {"cursor":"eyJpZCI6MTIzfQ","limit":"20"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.letsdeel.com/rest/workers/tax-forms?cursor=eyJpZCI6MTIzfQ&limit=20';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.letsdeel.com/rest/workers/tax-forms?cursor=eyJpZCI6MTIzfQ&limit=20"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.letsdeel.com/rest/workers/tax-forms?cursor=eyJpZCI6MTIzfQ&limit=20")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.letsdeel.com/rest/workers/tax-forms?cursor=eyJpZCI6MTIzfQ&limit=20")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.letsdeel.com/rest/workers/tax-forms?cursor=eyJpZCI6MTIzfQ&limit=20', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.letsdeel.com/rest/workers/tax-forms?cursor=eyJpZCI6MTIzfQ&limit=20");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.letsdeel.com/rest/workers/tax-forms?cursor=eyJpZCI6MTIzfQ&limit=20")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```